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

Disassembly:
sub esp, 0x16c
push ebx
push ebp
mov ebp, dword [esp + 0x180]
push esi
mov esi, dword [esp + 0x180]
mov edx, dword [ebp + 0x510]
mov ebx, dword [ebp + 0x504]
mov eax, dword [esi + 0x40]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + 0x720]
mov eax, dword [eax + 0xb20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x44117d
push edi
xor edi, edi
test ebx, ebx
jle 0x440cf1
mov ebp, eax
lea esp, [esp]
mov ecx, dword [ebp + edi*4]
mov esi, ecx
mov eax, dword [edx + 0x340]
and esi, 0x7fff
dec eax
cmp eax, 3
ja case.default.0x440ca8
jmp dword [eax*4 + 0x4411bc]
sar esi, 2
jmp case.default.0x440ca8
sar esi, 3
jmp case.default.0x440ca8
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0x10]
jmp case.default.0x440ca8
sar esi, 4
and ecx, 0x8000
or ecx, esi
mov dword [ebp + edi*4], ecx
inc edi
cmp edi, ebx
jl 0x440c90
mov ebp, dword [esp + 0x188]
mov eax, dword [esp + 0x18c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
cmp ebx, 2
jle 0x440e59
mov esi, dword [esp + 0x18c]
lea eax, [edx + 0x34c]
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x14], eax
add ecx, 0x30c
lea eax, [esp + 0x78]
mov dword [esp + 0x28], ecx
sub eax, esi
lea ebp, [esi + 8]
add ebx, 0xfffffffe
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
mov eax, dword [ecx + 0xfc]
mov ecx, dword [ecx]
mov edi, dword [esi + ecx*4]
and edi, 0x7fff
mov ebx, dword [edx + eax*4 + 0x344]
lea eax, [esi + eax*4]
mov dword [esp + 0x30], eax
lea edx, [esi + ecx*4]
mov eax, dword [eax]
and eax, 0x7fff
mov dword [esp + 0x2c], edx
sub edi, eax
mov dword [esp + 0x1c], eax
mov eax, edi
cdq
mov esi, eax
mov eax, dword [esp + 0x14]
xor esi, edx
sub esi, edx
mov eax, dword [eax]
sub eax, ebx
imul esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ecx*4 + 0x344]
mov eax, esi
sub ecx, ebx
cdq
idiv ecx
test edi, edi
mov edi, dword [esp + 0x1c]
jns 0x440da7
mov esi, edi
sub esi, eax
jmp 0x440daa
lea esi, [eax + edi]
mov ecx, dword [ebp]
test ecx, 0x8000
jne 0x440e0e
cmp esi, ecx
je 0x440e0e
mov eax, dword [esp + 0x188]
mov edx, dword [eax + 0x50c]
sub edx, esi
cmp edx, esi
jl 0x440dce
mov edx, esi
sub ecx, esi
jns 0x440deb
mov eax, edx
neg eax
cmp ecx, eax
jge 0x440de1
sub edx, ecx
lea ecx, [edx - 1]
jmp 0x440df5
lea eax, [ecx + ecx]
or ecx, 0xffffffff
sub ecx, eax
jmp 0x440df5
cmp ecx, edx
jl 0x440df3
add ecx, edx
jmp 0x440df5
add ecx, ecx
mov eax, dword [esp + 0x24]
mov dword [eax + ebp], ecx
mov eax, dword [esp + 0x30]
mov dword [eax], edi
mov eax, dword [esp + 0x2c]
and dword [eax], 0x7fff
jmp 0x440e22
mov eax, dword [esp + 0x24]
or esi, 0x8000
mov dword [ebp], esi
mov dword [eax + ebp], 0
mov ecx, dword [esp + 0x28]
add ebp, 4
add dword [esp + 0x14], 4
add ecx, 4
dec dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18c]
mov dword [esp + 0x28], ecx
jne 0x440d40
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x188]
mov ebx, dword [esp + 0x180]
push 1
push 1
push ebx
call fcn.00446490
mov ecx, dword [ebp + 0x50c]
add esp, 0xc
inc dword [ebp + 0x51c]
xor edx, edx
dec ecx
mov eax, ecx
je 0x440e85
inc edx
shr eax, 1
jne 0x440e80
lea eax, [edx + edx]
add dword [ebp + 0x518], eax
xor eax, eax
test ecx, ecx
je 0x440e99
inc eax
shr ecx, 1
jne 0x440e94
push eax
push esi
push ebx
call fcn.00446490
mov eax, dword [ebp + 0x50c]
add esp, 0xc
mov ecx, 0
dec eax
je 0x440eb7
inc ecx
shr eax, 1
jne 0x440eb2
push ecx
push edi
push ebx
call fcn.00446490
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 2
cmp dword [eax], 0
jle 0x44109e
lea ecx, [eax + 4]
mov dword [esp + 0x24], ecx
mov edi, dword [ecx]
mov edx, 1
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [eax + edi*4 + 0xc0]
mov ebp, dword [eax + edi*4 + 0x80]
shl edx, cl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x441019
xor ecx, ecx
test edx, edx
jle 0x440f96
lea esi, [edi + 0xa]
mov edi, dword [esp + 0x34]
shl esi, 5
add esi, eax
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
jns 0x440f80
mov dword [esp + ecx*4 + 0x58], 1
jmp 0x440f8a
mov eax, dword [edi + eax*4]
mov eax, dword [eax + 4]
mov dword [esp + ecx*4 + 0x58], eax
inc ecx
add esi, 4
cmp ecx, edx
jl 0x440f70
mov edi, dword [esp + 0x18]
xor esi, esi
test ebp, ebp
jle 0x440fe5
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x78]
lea edi, [edi + eax*4]
xor eax, eax
test edx, edx
jle 0x440fc1
mov ecx, dword [edi]
nop
cmp ecx, dword [esp + eax*4 + 0x58]
jl 0x440fbd
inc eax
cmp eax, edx
jl 0x440fb0
jmp 0x440fc1
mov dword [esp + esi*4 + 0x38], eax
mov eax, dword [esp + esi*4 + 0x38]
mov ecx, ebx
add ebx, dword [esp + 0x2c]
inc esi
shl eax, cl
add edi, 4
mov ecx, dword [esp + 0x1c]
or ecx, eax
mov dword [esp + 0x1c], ecx
cmp esi, ebp
jl 0x440fa7
mov edi, dword [esp + 0x18]
jmp 0x440fe7
mov ecx, ebx
mov eax, dword [esp + 0x10]
push dword [esp + 0x180]
push ecx
imul eax, dword [eax + edi*4 + 0x100], 0x2c
add eax, dword [esp + 0x28]
push eax
call fcn.0043f350
mov ecx, dword [esp + 0x194]
add esp, 0xc
add dword [ecx + 0x514], eax
mov eax, dword [esp + 0x10]
xor esi, esi
test ebp, ebp
jle 0x44107e
mov eax, dword [esp + 0x14]
lea ebx, [edi*8 + 0x50]
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x78]
lea edi, [edi + eax*4]
mov eax, dword [esp + esi*4 + 0x38]
add eax, ebx
mov eax, dword [ecx + eax*4]
test eax, eax
js 0x441072
mov ecx, dword [edi]
imul eax, eax, 0x2c
add eax, dword [esp + 0x20]
cmp ecx, dword [eax + 4]
jge 0x44106e
push dword [esp + 0x180]
push ecx
push eax
call fcn.0043f350
mov ecx, dword [esp + 0x194]
add esp, 0xc
add dword [ecx + 0x518], eax
mov ecx, dword [esp + 0x10]
inc esi
add edi, 4
cmp esi, ebp
jl 0x441035
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc esi
add dword [esp + 0x14], ebp
add ecx, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
cmp esi, dword [eax]
jl 0x440ee6
mov ebx, dword [eax + 0x340]
xor edi, edi
mov ecx, dword [esp + 0x18c]
mov ebp, 1
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], edi
imul ebx, dword [ecx]
cmp dword [eax + 0x504], ebp
jle 0x441134
add eax, 0x108
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov eax, dword [ecx + edx*4]
mov ecx, eax
and ecx, 0x7fff
cmp ecx, eax
jne 0x441112
mov eax, dword [esp + 0x10]
push dword [esp + 0x190]
mov esi, dword [eax + 0x340]
mov edi, dword [eax + edx*4 + 0x344]
imul esi, ecx
push esi
push ebx
push edi
push dword [esp + 0x30]
call fcn.00441b80
add esp, 0x14
mov dword [esp + 0x20], edi
mov ebx, esi
mov ecx, dword [esp + 0x188]
inc ebp
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
cmp ebp, dword [ecx + 0x504]
mov ecx, dword [esp + 0x18c]
jl 0x4410d1
mov ecx, dword [esp + 0x184]
mov eax, dword [ecx + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jge 0x441167
jmp 0x441150
mov eax, dword [esp + 0x190]
mov dword [eax + edi*4], ebx
inc edi
mov eax, dword [ecx + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jl 0x441150
inc dword [0x4fe710]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push 1
push 0
push dword [esp + 0x184]
call fcn.00446490
mov eax, dword [esi + 0x24]
cdq
sub eax, edx
sar eax, 1
shl eax, 2
push eax
push 0
push dword [esp + 0x1a0]
call fcn.004190df
inc dword [0x4fe710]
add esp, 0x18
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret