Function at 0x40b2e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x428db8]
mov esi, dword [0x428e08]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x428ddc]
imul eax, esi
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [0x428dd0]
mov dword [edx + 8], 0
mov dword [edx + 4], eax
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov eax, dword [0x428dc8]
mov dword [edx + 0x14], eax
or edx, 0xffffffff
mov eax, dword [0x428e00]
shr eax, 0xa
test eax, eax
jle 0x40b348
xor edx, edx
lea esi, [esi]
sar eax, 1
inc edx
test eax, eax
jg 0x40b340
dec edx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], edx
or edx, 0xffffffff
mov eax, dword [0x428e00]
shr eax, 0xa
test eax, eax
jle 0x40b368
xor edx, edx
nop
sar eax, 1
inc edx
test eax, eax
jg 0x40b360
dec edx
mov esi, dword [ebp - 0x1c]
mov edi, esi
mov dword [esi + 0x1c], edx
add edi, 0x88
mov eax, dword [0x428e04]
mov dword [esi + 0x20], eax
mov eax, dword [0x428e04]
mov dword [esi + 0x24], eax
mov eax, dword [0x428e08]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], 0
mov word [esi + 0x34], 0
mov word [esi + 0x36], 0xffff
mov word [esi + 0x38], 0xef53
mov word [esi + 0x3a], 1
mov word [esi + 0x3c], 2
mov word [esi + 0x3e], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 1
mov word [esi + 0x50], 0
mov word [esi + 0x52], 0
mov dword [esi + 0x54], 0xb
mov eax, dword [0x428e0c]
mov word [esi + 0x5a], 0
mov word [esi + 0x58], ax
mov ax, word [0x428e1a]
and eax, 0xffff
mov dword [esi + 0x5c], eax
mov eax, dword [0x428e1c]
and eax, 0xffff
mov dword [esi + 0x60], eax
mov eax, dword [0x428e18]
and eax, 0xffff
mov dword [esi + 0x64], eax
mov eax, esi
add eax, 0x68
push ebx
push eax
mov ecx, dword [0x428e24]
push ecx
push 0x4255e1
call fcn.0040be20
mov eax, esi
add eax, 0x78
mov dword [esi + 0x78], 0
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
push 0x10
mov edx, dword [0x428e24]
push edx
push eax
call 0x420e58
xor eax, eax
cld
mov ecx, 0x10
add esp, 0x10
rep stosd dword es:[edi], eax
mov dword [esi + 0xc8], 0
mov eax, dword [0x428e20]
mov byte [esi + 0xcc], 0
mov word [esi + 0xce], ax
mov byte [esi + 0xcd], 0
test byte [0x428e1a], 4
je 0x40b4b5
mov dword [esi + 0xe0], 8
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov byte [eax + 0xfc], 2
mov byte [eax + 0xfd], 1
mov word [eax + 0xfe], 0x20
mov dword [eax + 0x100], 0
mov dword [eax + 0x104], 0
mov dword [eax + 0x108], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x428dd4]
mov dword [ecx + 0x150], eax
mov dword [ecx + 0x154], 0
mov dword [ecx + 0x158], 0
mov word [ecx + 0x15c], 0x1c
mov word [ecx + 0x15e], 0x1c
mov dword [ecx + 0x160], 0
mov word [ecx + 0x164], 0
mov word [ecx + 0x166], 0
mov dword [ecx + 0x168], 0
mov dword [ecx + 0x16c], 0
mov dword [ecx + 0x170], 0
mov byte [ecx + 0x174], 0
mov dword [ecx + 0x178], 0
mov dword [ecx + 0x17c], 0
mov edi, dword [0x428ddc]
test edi, edi
je 0x40b720
mov eax, dword [0x428e04]
mov dword [ebp - 0x10], 0
jmp 0x40b65c
mov eax, dword [ebp - 0x18]
mov esi, dword [0x428de0]
inc eax
mov ebx, dword [0x428dc0]
push eax
mov eax, dword [0x428e00]
imul eax, esi
mov ecx, dword [0x428e2c]
push eax
push ebx
push ecx
call fcn.00410950
mov edx, dword [0x428de0]
mov eax, dword [0x428e20]
add esp, 0x10
add eax, edx
lea edx, [eax + 1]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
shl ebx, 5
add edx, eax
mov eax, dword [0x428dc0]
lea ecx, [edx + 1]
mov dword [eax + ebx], edx
add edx, 2
mov eax, dword [0x428dc0]
mov dword [eax + ebx + 4], ecx
mov eax, dword [0x428dc0]
mov dword [eax + ebx + 8], edx
mov esi, dword [ebp - 0x1c]
mov eax, dword [0x428dc0]
mov edx, dword [esi + 0x20]
mov word [eax + ebx + 0xc], dx
mov eax, dword [0x428dc0]
mov edx, dword [esi + 0x28]
mov word [eax + ebx + 0xe], dx
mov eax, dword [0x428dc0]
mov word [eax + ebx + 0x10], 0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [0x428ddc], eax
jbe 0x40b720
mov eax, dword [0x428e04]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x10]
imul eax, esi
mov esi, dword [0x428dc8]
push ebx
add eax, esi
mov dword [ebp - 0x18], eax
call fcn.0040aa20
xor edx, edx
pop ecx
test eax, eax
je 0x40b5ed
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x40b5b3
mov eax, dword [ebp - 0x10]
shl eax, 2
mov dword [ebp - 0x14], eax
mov ebx, eax
mov eax, dword [0x428dbc]
add ebx, eax
push eax
push eax
mov eax, dword [0x428e00]
push 1
push eax
call 0x420e20
mov dword [ebx], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x428dbc]
mov edx, dword [0x428e00]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ecx + eax]
mov ecx, edx
cld
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
test dl, 2
mov ebx, esi
je 0x40b6de
mov ax, word [esi]
add ebx, 2
mov word [edi], ax
add edi, 2
and edx, 1
je 0x40b6e7
mov al, byte [ebx]
mov byte [edi], al
mov edx, dword [ebp - 0x14]
mov eax, dword [0x428dbc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + eax]
mov word [eax + 0x5a], cx
mov eax, dword [ebp - 0x18]
mov edi, dword [0x428e2c]
push eax
mov eax, dword [0x428e00]
push eax
mov eax, dword [0x428dbc]
mov eax, dword [edx + eax]
push eax
push edi
call fcn.00410950
add esp, 0x20
jmp 0x40b5b3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret