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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x440eb7
sub esp, 0x64
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00474cd9
call fcn.00461f90
mov ecx, dword [esp]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x48], edx
call fcn.00462100
movzx ecx, byte [esp + 8]
test cl, cl
je 0x4409e5
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
movzx edx, byte [esp + 0x68]
mov byte [esp + 8], dl
call fcn.004626b0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.00462110
mov eax, dword [0x587cec]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
jg 0x440ea0
mov dword [esp + 0x54], eax
lea eax, [0x56a338]
mov dword [esp], eax
call fcn.0040bda0
call fcn.004721c0
mov eax, dword [esp]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [0x587ca8]
mov dword [0x56a3b8], edx
lea edx, [0x56a3b4]
mov dword [esp], edx
mov byte [esp + 4], 1
call fcn.004795a0
call fcn.0044a240
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp], ecx
call fcn.0044f250
mov eax, dword [esp + 4]
mov dword [eax + 4], 3
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
mov dword [esp], eax
call fcn.0044f250
mov eax, dword [esp + 4]
test byte [eax], al
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x11e4], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x11e8], edx
dec dword [0x56a3b8]
call fcn.00461f90
mov eax, dword [esp]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x48], ecx
mov edx, dword [0x568268]
mov dword [esp + 0x5c], edx
mov ebx, dword [0x56826c]
mov dword [esp + 0x44], ebx
xor ebp, ebp
jmp 0x440ac4
inc ebp
cmp ebp, ebx
jge 0x440b99
mov dword [esp + 0x40], ebp
mov esi, dword [edx + ebp*4]
mov dword [esp + 0x50], esi
cmp dword [esi + 4], 2
je 0x440ae1
xor edi, edi
jmp 0x440b1b
lea eax, [esi + 4]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.00479a60
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov edi, eax
mov eax, dword [esp + 0x60]
xchg edi, eax
test al, al
xchg edi, eax
je 0x440ac3
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00462100
movzx eax, byte [esp + 8]
test al, al
je 0x440b57
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.00463710
mov eax, dword [esp + 0x50]
inc dword [eax + 0x10]
call fcn.004721c0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x50]
mov dword [edx + 0x11e4], eax
mov dword [edx + 0x11e8], ecx
dec dword [0x56a3b8]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
jmp 0x440ac3
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00462100
movzx eax, byte [esp + 8]
test al, al
je 0x440bc2
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.00462110
call fcn.004721c0
mov eax, dword [esp]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
jmp 0x440c0d
mov dword [esp + 0x4c], eax
mov dword [eax + 4], 3
call fcn.004721c0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x11e4], eax
mov dword [edx + 0x11e8], ecx
dec dword [0x56a3b8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0044b510
mov eax, dword [esp + 8]
test eax, eax
jne 0x440bd8
mov eax, dword [0x56a3b8]
mov dword [esp + 0x3c], eax
lea ecx, [0x56a338]
mov dword [esp], ecx
call fcn.0040bfc0
mov eax, dword [esp + 0x3c]
test eax, eax
jg 0x440e66
call fcn.004721c0
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
movzx edx, byte [esp + 0x68]
mov byte [esp], dl
call fcn.00440660
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
sbb ebp, esi
test al, al
je 0x440c9b
lea eax, [0x56a910]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0040a190
jmp 0x440cb1
lea eax, [0x56ae20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0040a190
mov eax, dword [0x56a3b8]
test eax, eax
jne 0x440cf0
mov eax, dword [0x568268]
mov dword [esp + 0x5c], eax
mov ecx, dword [0x56826c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], ebp
xor ebp, ebp
mov dword [esp + 0x14], ebp
xor ebp, ebp
jmp 0x440df8
mov eax, 0x29
lea ecx, [0x4dfa83]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
lea ebp, [0x587bd2]
mov dword [esp], ebp
call fcn.00479570
movzx eax, byte [esp + 4]
test al, al
je 0x440d42
lea eax, [0x587c74]
mov dword [esp], eax
call fcn.0040bda0
lea eax, [0x587c74]
mov dword [esp], eax
call fcn.0040bda0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x440d9d
call fcn.0040c8d0
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00474cd9
movzx eax, byte [esp + 0x68]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], eax
add esp, 0x64
ret
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046f470
mov dword [eax + 0x11e4], 0
mov dword [eax + 0x11e8], 0
inc ebp
mov eax, dword [esp + 0x38]
sub ebx, eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
sbb edx, eax
mov eax, dword [esp + 0x14]
add eax, ebx
mov ebx, dword [esp + 0x18]
adc ebx, edx
mov edx, dword [esp + 0x44]
mov ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
cmp ebp, ecx
jge 0x440e50
mov eax, dword [eax + ebp*4]
cmp dword [eax + 4], 3
je 0x440e10
mov esi, 0x2e
lea edi, [0x4e061e]
mov ecx, dword [eax + 0x11e4]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x11e8]
mov dword [esp + 0x3c], edx
test ecx, ecx
sete cl
test edx, edx
sete dl
and edx, ecx
test dl, dl
je 0x440dad
test esi, esi
jne 0x440dad
mov esi, 0x28
lea edi, [0x4df754]
jmp 0x440dad
mov eax, esi
mov ecx, edi
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x440cff
call fcn.0044a240
lea eax, [0x56a3bc]
mov dword [esp], eax
mov dword [esp + 4], 0x186a0
mov dword [esp + 8], 0
call fcn.0040c5b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x440e61
lea eax, [0x56a3bc]
mov dword [esp], eax
call fcn.0040c110
jmp 0x440c45
lea eax, [0x4dc6d8]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0046f470
nop
call fcn.004736a0
jmp fcn.00440970