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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x442f1a
sub esp, 0x84
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00453d36
mov ecx, dword [esp + 0x88]
jmp 0x4429a0
mov edx, dword [esp + 0x88]
mov ecx, edx
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x58], ebx
cmp edx, 2
jge 0x442ee5
mov ebp, dword [ecx + 4]
mov eax, ebx
mov ebx, dword [ecx]
mov edi, edx
mov edx, dword [ecx + 8]
test ebp, ebp
je 0x442d31
mov esi, dword [ebx]
dec ebp
mov dword [ecx + 4], ebp
dec edx
mov dword [ecx + 8], edx
mov ebp, dword [0x5af4d0]
neg edx
sar edx, 0x1f
and edx, 4
add edx, ebx
test ebp, ebp
jne 0x442d23
mov dword [ecx], edx
mov dword [esp + 0x20], esi
mov dword [esp], esi
call fcn.00443c10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x442b32
mov ecx, dword [0x59e134]
test ecx, ecx
je 0x442997
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00442f30
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 8]
lea ebx, [ecx + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
cmp ebx, esi
ja 0x442ae3
cmp ecx, ebx
ja 0x442f10
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], ebp
lea ebx, [0x4d96e0]
mov dword [esp], ebx
sub esi, ecx
mov dword [esp + 0x30], esi
lea ecx, [ecx + ecx*4]
shl ecx, 3
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ecx
lea ecx, [ebp + esi]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
call fcn.0040e9b0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [0x5af4d0]
test eax, eax
jne 0x442acb
mov ecx, dword [esp + 0x54]
mov dword [edi + 0xc], ecx
jmp 0x442997
mov eax, edi
mov edi, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00453b50
mov edi, ecx
jmp 0x442997
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], eax
lea eax, [0x4d96e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043e480
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
jmp 0x442a4b
mov edx, dword [ecx]
test edx, edx
jne 0x442b3b
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jbe 0x442b48
dec ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00444210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
cmp byte [edx + 0x23], 4
ja 0x442d0f
xor ebx, ebx
test ebx, ebx
jne 0x442c7e
mov ebx, edx
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x5c]
lea esi, [0x504380]
call fcn.004541ec
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x14]
mov eax, ecx
mov ecx, dword [ecx + 0xc]
cmp ebx, ebp
ja 0x442c27
lea ebx, [edx + 1]
mov dword [eax + 0x10], ebx
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [0x5af4d0]
test ecx, ecx
jne 0x442c01
lea esi, [esp + 0x5c]
call fcn.004541ec
jmp 0x442997
lea eax, [0x4d96e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.0040e770
mov eax, dword [esp + 0x88]
jmp 0x442997
lea eax, [0x4d96e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043e480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x14], edx
mov edx, dword [0x5af4d0]
test edx, edx
jne 0x442c73
mov dword [ebx + 0xc], eax
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x442bdd
mov edi, dword [esp + 0x58]
call fcn.00453b50
jmp 0x442c68
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.00444710
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x442cd5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov ebp, edx
mov edx, eax
mov eax, ebp
jmp 0x442b82
cmp eax, 0x100000
jae 0x442f06
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00444290
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, eax
jmp 0x442cc6
lea ebp, [edx + 0x23]
mov ebx, ebp
mov ebp, dword [edx + 0x1c]
lea ebp, [ebx + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x442b78
mov edi, ecx
mov eax, edx
call fcn.00453b50
jmp 0x4429ee
test edi, edi
je 0x442ed6
cmp edi, 1
jne 0x442ded
lea edi, [esp + 0x8c]
call fcn.004541ec
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0x5af4d0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x442de2
mov dword [ecx + 0xc], ebx
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x442d94
test eax, eax
setg al
mov byte [esp + 0xb4], al
add esp, 0x84
ret
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
call fcn.00444310
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x38]
jmp 0x442d81
mov edi, eax
mov eax, ebx
call fcn.00453b50
jmp 0x442d73
cmp edi, 2
jne 0x442e81
lea edi, [esp + 0x8c]
call fcn.004541ec
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x442efa
lea edi, [ecx + 0x18]
mov edx, dword [0x5af4d0]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x442e65
call fcn.004541ec
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0x5af4d0]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x442e57
mov dword [ecx + 0xc], ebx
jmp 0x442d73
mov edi, eax
mov eax, ebx
call fcn.00453b50
jmp 0x442d73
lea eax, [0x4d96e0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040e770
mov eax, dword [esp + 0x58]
jmp 0x442e2d
lea edi, [esp + 0x8c]
call fcn.004541ec
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0xc]
cmp edx, 1
jb 0x442eee
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebx - 1]
mov dword [ecx + 0x14], edx
mov ebx, dword [0x5af4d0]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebp
test ebx, ebx
jne 0x442ec8
mov dword [ecx + 0xc], edx
jmp 0x442d73
mov edi, eax
mov eax, edx
call fcn.00453b50
jmp 0x442d73
mov byte [esp + 0xb4], 0
add esp, 0x84
ret
mov eax, ebx
mov edi, edx
jmp 0x442d31
mov eax, 1
mov ecx, edx
call fcn.00453c30
mov eax, 1
mov ecx, edx
call fcn.00453bd0
mov ecx, 0x100000
call fcn.00453bd0
mov eax, ecx
mov ecx, ebx
call fcn.00453c30
nop
call fcn.00452310
jmp fcn.00442960