Function at 0x4402b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ec027
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0045ae70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x30], eax
lea ebp, [esi + 0x24]
lea eax, [esi + 0x20]
push ebp
xor ebx, ebx
mov dword [esi], 0x4f55a8
mov dword [esi + 0x34], ecx
push eax
mov dword [0xb66100], esi
push 0x83e
mov dword [esp + 0x28], ebx
mov dword [esi + 8], str.fightingstyle_gump
mov dword [esi + 0x60], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], 0x83e
call fcn.004447f0
lea eax, [esi + 0x2c]
lea ecx, [esi + 0x28]
push eax
push ecx
push 0x853
call fcn.004447f0
push str.framedata_for_CFightingGump
push 0x10
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 2
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.fightgump_frame
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x20]
imul eax, dword [ebp]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x20]
imul ecx, dword [ebp]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov dx, word [esi + 0x20]
push str.fightgump_min._frame
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [ebp]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov eax, dword [esi + 0x28]
imul eax, dword [esi + 0x2c]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x28]
imul ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 0xc]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x28]
mov ecx, dword [eax + 0xc]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x2c]
mov ecx, dword [eax + 0xc]
mov word [ecx + 2], dx
mov eax, dword [esi + 0x3c]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 4]
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
add eax, 4
push edx
push eax
mov eax, dword [esi + 0x54]
push ebx
push ebx
push eax
push fcn.004c00b0
call fcn.00444850
mov ecx, dword [esi + 0x3c]
xor edx, edx
add esp, 0x4c
mov eax, dword [ecx + 0xc]
xor ecx, ecx
mov dx, word [eax + 2]
mov cx, word [eax]
push edx
add eax, 4
push ecx
push eax
push ebx
push ebx
push 0x853
push fcn.004c00b0
call fcn.00444850
push 0xbc
call fcn.004ddf8e
add esp, 0x20
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x4404c5
push 0x845
push esi
push 0xc5
push ebx
push 0x6b
push 0x5c
mov ecx, eax
call fcn.004231c0
jmp 0x4404c7
xor eax, eax
mov edi, 0x846
mov dword [esi + 0xb4], eax
mov word [eax + 0xb4], di
mov eax, dword [0xcc2f7c]
mov ebp, 1
xor edx, edx
cmp eax, ebp
mov eax, dword [esi + 0xb4]
sete dl
mov dword [eax + 0x6c], edx
mov ecx, dword [esi + 0xb4]
push ebp
push esi
mov byte [esp + 0x24], bl
call fcn.0045a530
mov ecx, dword [0xcc2f78]
push 0x64
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.004236e0
push 0xbc
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x44054e
push 0x845
push esi
push 0xc5
push ebx
push 0x96
push 0x5c
mov ecx, eax
call fcn.004231c0
jmp 0x440550
xor eax, eax
mov dword [esi + 0xb8], eax
mov word [eax + 0xb4], di
mov eax, dword [0xcc2f7c]
xor edx, edx
cmp eax, ebp
mov eax, dword [esi + 0xb8]
sete dl
mov dword [eax + 0x6c], edx
mov ecx, dword [esi + 0xb8]
push ebp
push esi
mov byte [esp + 0x24], bl
call fcn.0045a530
mov ecx, dword [0xcc2f74]
push 0x64
push ecx
mov ecx, dword [esi + 0xb8]
call fcn.004236e0
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 3
je 0x4405cc
push ebx
push 0x421650
push ebx
push 2
push esi
push 0x79
push 0x5b
push 0x6c
push 0x51
mov ecx, eax
call fcn.00422b10
jmp 0x4405ce
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 4
je 0x440616
push ebx
push 0x421670
push ebx
push 2
push esi
push 0x79
push 0xce
push 0x6c
push 0xc6
mov ecx, eax
call fcn.00422b10
jmp 0x440618
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 5
je 0x440660
push ebx
push 0x421690
push ebx
push 2
push esi
push 0xa4
push 0x5b
push 0x96
push 0x51
mov ecx, eax
call fcn.00422b10
jmp 0x440662
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 6
je 0x4406b0
push ebx
push 0x4216b0
push ebx
push 2
push esi
push 0xa4
push 0xce
push 0x96
push 0xc6
mov ecx, eax
call fcn.00422b10
jmp 0x4406b2
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 7
je 0x440705
mov ecx, dword [0xcc2f7c]
xor edx, edx
push ebx
cmp ecx, ebp
push 0x840
push 0x83f
sete dl
push ebx
push edx
push ebp
push esi
push 0x40
push 0x97
mov ecx, eax
call fcn.00422990
jmp 0x440707
xor eax, eax
mov dword [esi + 0xc0], eax
mov dword [eax + 0xac], 0x841
mov ecx, dword [esi + 0xc0]
push ebp
push esi
mov byte [esp + 0x24], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 8
je 0x44076b
mov edi, dword [0xcc2f7c]
xor ecx, ecx
push ebx
cmp edi, ebp
push 0x843
push 0x842
setne cl
push ebx
push ecx
push ebp
push esi
push 0x40
push 0x55
mov ecx, eax
call fcn.00422990
jmp 0x44076d
xor eax, eax
mov dword [esi + 0xbc], eax
mov dword [eax + 0xac], 0x844
mov ecx, dword [esi + 0xbc]
push ebp
push esi
mov byte [esp + 0x24], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 9
je 0x4407c8
push ebx
push fcn.0041e240
push ebx
push ebx
push esi
push 0x2c
push 0x115
push 0x14
push 0xfe
mov ecx, eax
call fcn.00422b10
jmp 0x4407ca
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 0xa
je 0x440814
push ebx
push 0x848
push 0x847
push 0x4c85c0
push ebx
push ebx
push esi
push 0xb1
push 0x19
mov ecx, eax
call fcn.00422990
jmp 0x440816
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [eax + 0xac], 0x849
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 0xb
je 0x44086a
push ebx
push 0x84b
push 0x84a
push 0x421520
push ebx
push ebx
push esi
push 0xb2
push 0x58
mov ecx, eax
call fcn.00422990
jmp 0x44086c
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [eax + 0xac], 0x84c
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 0xc
je 0x4408c3
push ebx
push 0x84e
push 0x84d
push 0x4215a0
push ebx
push ebx
push esi
push 0xb1
push 0x97
mov ecx, eax
call fcn.00422990
jmp 0x4408c5
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [eax + 0xac], 0x84f
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x1c], 0xd
je 0x44091c
push ebx
push 0x851
push 0x850
push 0x4215c0
push ebx
push ebx
push esi
push 0xb1
push 0xd5
mov ecx, eax
call fcn.00422990
jmp 0x44091e
xor eax, eax
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [eax + 0xac], 0x852
call fcn.0045a530
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8