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

Disassembly:
push 0xffffffffffffffff
push 0x48817c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 4]
mov dword [esp + 0x10], ebp
dec eax
je 0x44253e
dec eax
jne 0x44277d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x68]
push 0x4a8c18
push 0x49bf54
lea edi, [ecx + eax*4]
mov ecx, dword [esi + 0x78]
call fcn.00415fd0
mov edx, dword [edi]
mov ecx, dword [esi + 0x78]
inc eax
push eax
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00416010
mov ecx, dword [eax]
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x18]
cmp edx, ebp
setne bl
call fcn.00476964
test bl, bl
je 0x442368
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x68]
mov edi, dword [esi + 0x1c]
mov ecx, dword [eax + edx*4]
push ecx
mov ecx, dword [esi + 0x48]
push ebp
call fcn.004348b0
mov ebx, eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
push 0x4a8c18
push 0x49bf54
inc edi
lea ebp, [eax + edx*4]
call fcn.00415fd0
mov ecx, dword [ebp]
add eax, edi
push eax
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x78]
push edx
call fcn.00416010
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [eax - 8]
test edx, edx
sete cl
mov ebp, ecx
lea ecx, [esp + 0x1c]
call fcn.00476964
test ebp, ebp
je 0x442142
xor edi, edi
mov eax, dword [esi + 0x1c]
cmp edi, eax
je 0x44277d
mov edx, 1
mov ecx, edi
shl edx, cl
test ebx, edx
je 0x4420f5
cmp edi, eax
je 0x44277d
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x40], ecx
cmp edi, 0xffffffff
mov dword [esi + 0x44], edx
mov dword [esi + 0x54], 0
mov ebp, edi
mov dword [esp + 0x14], eax
jne 0x442208
lea ebx, [eax*4]
mov eax, dword [esi + 0x68]
mov ecx, dword [ebx + eax]
push ecx
mov ecx, dword [esi + 0x48]
push 0
call fcn.004348b0
xor ebp, ebp
mov dword [esp + 0x24], eax
test al, 1
jne 0x442208
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
mov edi, ebx
push 0x4a8c18
push 0x49bf54
add edi, edx
call fcn.00415fd0
mov edx, dword [edi]
mov ecx, dword [esi + 0x78]
add eax, ebp
push eax
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00416010
mov ecx, dword [eax]
xor edx, edx
mov edi, dword [ecx - 8]
lea ecx, [esp + 0x20]
test edi, edi
sete dl
mov edi, edx
call fcn.00476964
test edi, edi
jne 0x442206
inc ebp
mov eax, 1
mov ecx, ebp
shl eax, cl
mov ecx, dword [esp + 0x24]
test ecx, eax
je 0x4421ab
jmp 0x442208
xor ebp, ebp
mov edx, dword [esp + 0x14]
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x54]
cmp ecx, eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x34], eax
je 0x44222d
push 1
call fcn.004434f0
push 0xf4
call fcn.00476eb1
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov dword [esp + 0x44], 3
je 0x4422b9
push 0
push 0x4a8c18
push ecx
mov ecx, dword [esi + 0x78]
mov ebx, esp
mov dword [esp + 0x1c], esp
push 0x4a8c18
push 0x49bf54
call fcn.00415fd0
add eax, ebp
lea ecx, [esi + 0x64]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.004071b0
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi + 0x78]
push ebx
call fcn.00416010
lea edx, [esp + 0x30]
push edx
call fcn.004013c0
add esp, 8
mov dword [esp + 0x18], 2
mov ecx, eax
mov byte [esp + 0x4c], 4
call fcn.00409730
push eax
mov eax, dword [esi + 0x48]
push 0
push eax
mov ecx, edi
call fcn.004066a0
jmp 0x4422bb
xor eax, eax
mov dword [esi + 0x54], eax
mov al, byte [esp + 0x10]
test al, 2
mov dword [esp + 0x44], 0xffffffff
je 0x4422d7
lea ecx, [esp + 0x24]
call fcn.00476964
mov ecx, dword [esi + 0x48]
call fcn.00427320
mov ecx, dword [0x4990c4]
mov edx, dword [0x4990c0]
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x34]
call fcn.00413210
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x48]
call fcn.00402ee0
mov eax, dword [esi + 4]
cmp eax, 3
jl 0x44233f
cmp eax, 4
jg 0x44233f
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x442338
push 1
call fcn.004434f0
mov dword [esi + 0x58], 0
mov dword [esi + 4], 3
mov dword [esi + 8], 0
mov ecx, dword [0x4990c4]
mov edx, dword [0x4990c0]
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x34]
jmp 0x442748
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x68]
push 0x4a8c18
push 0x49c5a4
lea edi, [edx + ecx*4]
mov ecx, dword [esi + 0x78]
call fcn.00415fd0
push eax
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esi + 0x78]
call fcn.00416010
mov edx, dword [eax]
mov ecx, dword [edx - 8]
cmp ecx, ebp
lea ecx, [esp + 0x34]
setne bl
call fcn.00476964
test bl, bl
je 0x4424b6
mov eax, dword [esi + 0x48]
push 4
push 0x49c5a4
push 0x49c584
mov eax, dword [eax + 0x1c]
push eax
call dword [0x48949c]
cmp eax, 6
jne 0x44241e
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x68]
push 0x4a8c18
push 0x49c5a4
lea edi, [edx + ecx*4]
mov ecx, dword [esi + 0x78]
call fcn.00415fd0
push eax
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x78]
call fcn.00416010
mov eax, dword [eax]
mov ecx, dword [esi + 0x48]
push ebp
push eax
mov dword [esp + 0x4c], 6
call fcn.00436c60
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], 0xffffffff
call fcn.00476964
mov eax, dword [esi + 0x18]
mov ecx, esi
cdq
idiv dword [esi + 0x14]
push eax
call fcn.00441e20
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x18]
imul edx, dword [esi + 0x14]
sub eax, edx
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
cmp eax, 3
jl 0x442463
cmp eax, 4
jg 0x442463
mov edi, dword [esi + 0x58]
cmp edi, ebp
je 0x442460
mov ecx, edi
call fcn.00406880
push edi
call fcn.00476eda
add esp, 4
mov dword [esi + 0x58], ebp
mov dword [esi + 4], 1
mov dword [esi + 8], ebp
mov ecx, dword [0x4990c4]
mov edx, dword [0x4990c0]
push ecx
push edx
push ebp
push ebp
lea ecx, [esp + 0x34]
call fcn.00413210
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x48]
call fcn.00402ee0
mov ecx, dword [esi + 0x48]
call fcn.00427320
jmp 0x442770
mov eax, dword [esi + 0x54]
cmp eax, ebp
je 0x44277d
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x28], edx
mov edx, dword [0x4990c0]
cmp ecx, edx
jg 0x4424e8
mov eax, dword [eax + 0x38]
mov dword [esp + 0x24], ecx
cmp eax, dword [0x4990c4]
jle 0x44277d
mov eax, dword [esi + 4]
cmp eax, 3
jl 0x44250f
cmp eax, 4
jg 0x44250f
mov edi, dword [esi + 0x58]
cmp edi, ebp
je 0x44250c
mov ecx, edi
call fcn.00406880
push edi
call fcn.00476eda
add esp, 4
mov dword [esi + 0x58], ebp
xor eax, eax
xor ecx, ecx
sub esp, 0x10
mov dword [esi + 4], 5
mov ebx, esp
mov dword [esi + 8], ebp
mov edx, dword [0x4990c0]
mov edi, dword [0x4990c4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
jmp 0x442768
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x30]
imul edi, dword [esi + 0xc]
mov eax, dword [esi + 0x6c]
add edi, ecx
cmp edi, eax
mov dword [esp + 0x14], edi
jge 0x44277d
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x48]
lea ebx, [edi*4]
mov eax, dword [ebx + edx]
push eax
push ebp
call fcn.004348b0
test eax, eax
je 0x44277d
mov ecx, dword [esi + 0x68]
mov edx, dword [ebx + ecx]
mov ecx, dword [esi + 0x48]
push edx
push ebp
call fcn.004348b0
test al, 1
mov dword [esp + 0x20], eax
jne 0x4425f1
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
mov edi, ebx
push 0x4a8c18
push 0x49bf54
add edi, edx
call fcn.00415fd0
add eax, ebp
lea ecx, [esp + 0x28]
push eax
mov eax, dword [edi]
push eax
push ecx
mov ecx, dword [esi + 0x78]
call fcn.00416010
mov edx, dword [eax]
xor eax, eax
mov ecx, dword [edx - 8]
test ecx, ecx
sete al
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00476964
test edi, edi
jne 0x4425eb
mov eax, dword [esp + 0x20]
inc ebp
mov edx, 1
mov ecx, ebp
shl edx, cl
test eax, edx
je 0x442590
jmp 0x4425ed
xor ebp, ebp
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x54]
xor ecx, ecx
xor eax, eax
cmp ebx, ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x34], ecx
mov dword [esi + 0x3c], ecx
je 0x44261b
mov ecx, ebx
call fcn.00406880
push ebx
call fcn.00476eda
add esp, 4
push 0xf4
call fcn.00476eb1
add esp, 4
mov dword [esp + 0x24], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x44], ebx
je 0x4426a1
push ebx
push 0x4a8c18
push ecx
mov ecx, dword [esi + 0x78]
mov ebx, esp
mov dword [esp + 0x20], esp
push 0x4a8c18
push 0x49bf54
call fcn.00415fd0
add eax, ebp
lea ecx, [esi + 0x64]
push eax
push edi
call fcn.004071b0
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi + 0x78]
push ebx
call fcn.00416010
lea edx, [esp + 0x2c]
push edx
call fcn.004013c0
add esp, 8
mov dword [esp + 0x18], 1
mov ecx, eax
mov byte [esp + 0x4c], 1
call fcn.00409730
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 0x48]
xor ebx, ebx
push ebx
push eax
call fcn.004066a0
jmp 0x4426a3
xor eax, eax
mov dword [esi + 0x54], eax
mov al, byte [esp + 0x10]
test al, 1
mov dword [esp + 0x44], 0xffffffff
je 0x4426bf
lea ecx, [esp + 0x20]
call fcn.00476964
mov ecx, dword [esi + 0x48]
call fcn.00427320
mov ecx, dword [0x4990c4]
mov edx, dword [0x4990c0]
push ecx
push edx
push ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.00413210
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x48]
call fcn.00402ee0
mov eax, dword [esi + 4]
cmp eax, 3
jl 0x44272a
cmp eax, 4
jg 0x44272a
mov edi, dword [esi + 0x58]
cmp edi, ebx
je 0x442727
mov ecx, edi
call fcn.00406880
push edi
call fcn.00476eda
add esp, 4
mov dword [esi + 0x58], ebx
mov dword [esi + 4], 2
mov dword [esi + 8], ebx
mov ecx, dword [0x4990c4]
mov edx, dword [0x4990c0]
push ecx
push edx
push ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.00413210
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x48]
call fcn.00402ee0
mov ecx, dword [esi + 0x48]
push 0x49a238
call fcn.00435c30
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret