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

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x442a3b
sub esp, 0x70
mov eax, dword [0x5b82fc]
test eax, eax
jl 0x442a24
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x442a24
mov dword [esp + 0x30], eax
movzx edx, byte [0x59a950]
test dl, dl
jne 0x442236
xor edx, edx
xor ebx, ebx
jmp 0x44224e
call fcn.0045b220
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
test edx, edx
je 0x44227e
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], edx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045b3a0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0045b350
nop
call fcn.0046f5f0
mov eax, dword [0x59aa38]
mov ecx, dword [0x59aa3c]
mov edx, dword [esp]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 4]
test eax, eax
xchg ebp, ebx
setne bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x442306
mov ebp, dword [0x59aa40]
mov esi, dword [0x59aa44]
mov dword [esp + 0x4c], esi
mov edi, dword [esp + 0x30]
sar edi, 0x1f
sub edx, eax
mov dword [esp + 0x48], edx
mov eax, ebx
sbb ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x30]
mul edx
mov esi, dword [esp + 0x48]
imul edi, esi
add edx, edi
mov esi, dword [esp + 0x30]
imul ebx, esi
add edx, ebx
add ebp, eax
mov dword [0x59aa40], ebp
mov ebx, dword [esp + 0x4c]
adc ebx, edx
mov dword [0x59aa44], ebx
jmp 0x44230c
mov ecx, ebx
mov esi, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x2c]
mov dword [0x59aa38], edx
mov dword [0x59aa3c], ecx
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + 0x1f]
sar ebp, 0x1f
shr ebp, 0x1b
lea ebp, [ebp + ebx + 0x1f]
sar ebp, 5
mov dword [esp + 0x34], ebp
cmp dword [0x5995ec], ebx
jge 0x442505
nop
nop
lea eax, [0x5b8308]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [esp + 0x74]
lea ecx, [0x5995e8]
cmp dword [ecx + 8], eax
jl 0x44236e
mov dword [0x5995ec], eax
jmp 0x4423fa
lea ecx, [0x4cd6a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004698d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [0x5995e8]
mov edx, dword [0x5995f0]
lea ebx, [0x4cd6a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.004676d0
mov eax, dword [esp + 0x74]
mov dword [0x5995ec], eax
mov dword [0x5995f0], eax
mov ecx, dword [0x5b8448]
test ecx, ecx
jne 0x4423da
mov ebx, dword [esp + 0x6c]
jmp 0x4423ee
call fcn.0046e8f0
mov ebx, dword [esp + 0x6c]
mov dword [edi], ebx
mov ebp, dword [0x5995e8]
mov dword [edi + 4], ebp
mov dword [0x5995e8], ebx
lea ecx, [0x5995e8]
mov edx, dword [0x599600]
mov ebx, dword [esp + 0x34]
cmp edx, ebx
jl 0x44242d
jb 0x442a1d
mov dword [0x5995fc], ebx
mov edx, dword [0x599610]
cmp edx, ebx
jb 0x442a16
mov dword [0x59960c], ebx
jmp 0x4424e1
mov eax, dword [0x5995f8]
mov ecx, dword [0x5995fc]
lea edx, [0x4c9880]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0044bb90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [0x5995fc], ecx
mov dword [0x599600], ecx
mov edx, dword [0x5b8448]
test edx, edx
je 0x442481
call fcn.0046e8f0
mov dword [edi], eax
mov edx, dword [0x5995f8]
mov dword [edi + 4], edx
mov dword [0x5995f8], eax
mov eax, dword [0x599608]
mov edx, dword [0x59960c]
lea ebx, [0x4c9880]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0044bb90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [0x59960c], ecx
mov dword [0x599610], ecx
mov edx, dword [0x5b8448]
test edx, edx
je 0x4424db
call fcn.0046e8f0
mov dword [edi], eax
mov edx, dword [0x599608]
mov dword [edi + 4], edx
mov dword [0x599608], eax
nop
nop
lea eax, [0x5b8308]
mov dword [esp], eax
call fcn.0040a1a0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov eax, esi
jmp 0x442541
mov ecx, dword [0x5995e8]
lea ecx, [ecx + eax*4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004045c0
mov eax, dword [esp + 0x40]
lea esi, [eax + 1]
mov eax, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
cmp ebx, esi
jle 0x4425a1
mov edi, dword [0x5995ec]
cmp esi, edi
jae 0x442a0d
mov dword [esp + 0x40], esi
mov edi, dword [0x5995e8]
mov edi, dword [edi + esi*4]
test edi, edi
jne 0x44257a
lea eax, [0x4d9820]
mov dword [esp], eax
call fcn.0040b850
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], edi
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.00441d10
mov ecx, dword [0x5995ec]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jb 0x442509
jmp 0x442a08
mov esi, dword [0x5b8348]
mov esi, dword fs:[esi]
mov esi, dword [esi]
mov dword [esp + 0x64], esi
mov edi, dword [esi + 0x18]
mov edi, dword [edi + 0x58]
test edi, edi
je 0x4426ae
mov dword [esp + 0x44], edi
cmp dword [edi], ebx
jl 0x442694
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4426ae
movzx edi, byte [0x59a950]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4425ef
xor edi, edi
xor edi, edi
mov dword [esp + 0x50], edi
xor edi, edi
jmp 0x442619
call fcn.0045b220
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
mov edi, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
test edi, edi
je 0x442685
mov dword [esp + 0x24], edi
nop
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edi
mov byte [esp + 8], 1
call fcn.0045c190
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045b570
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0045b350
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
mov edi, dword [esi + 0x18]
mov edi, dword [edi + 0x58]
mov dword [edi + 0x2c], 0
jmp 0x4426ae
mov dword [edi + 4], 1
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
call fcn.00410480
jmp 0x44272d
mov edi, dword [esi + 0x18]
mov dword [edi + 0x58], 0
mov edi, dword [0x5995ec]
test edi, edi
jbe 0x4429ff
mov eax, dword [0x5995e8]
mov eax, dword [eax]
mov dword [eax + 0x2c], 0
mov dword [eax + 4], 0
mov dword [esp], eax
call fcn.00442a50
movzx eax, byte [0x59a950]
test al, al
jne 0x4426f5
xor ecx, ecx
xor eax, eax
jmp 0x442701
call fcn.0045b220
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x44272d
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045bf70
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0045b350
mov dword [0x5b82d8], 0
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov eax, ebx
jmp 0x44276b
mov dword [esp + 0x3c], ebx
mov eax, dword [0x5995e8]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call fcn.00441e90
mov eax, dword [esp + 0x3c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
cmp ebx, edx
jge 0x44277e
mov ecx, dword [0x5995ec]
cmp ebx, ecx
jb 0x442743
jmp 0x4429f8
lea ebx, [0x5995e8]
cmp dword [ebx + 4], eax
je 0x4427f5
nop
nop
lea eax, [0x5b8308]
mov dword [esp], eax
call fcn.00409f80
mov edx, dword [0x5995f0]
mov ecx, dword [esp + 0x74]
cmp ecx, edx
ja 0x4429f3
mov dword [0x5995ec], ecx
mov edx, dword [0x599600]
mov eax, dword [esp + 0x34]
cmp edx, eax
jb 0x4429ec
mov dword [0x5995fc], eax
mov edx, dword [0x599610]
cmp edx, eax
jb 0x4429e5
mov dword [0x59960c], eax
nop
nop
lea eax, [0x5b8308]
mov dword [esp], eax
call fcn.0040a1a0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
lea ebx, [eax - 1]
mov ebp, dword [esp + 0x64]
xor ecx, ecx
jmp 0x442801
dec ebx
mov dword [esp + 0x5c], ecx
test ebx, ebx
jl 0x4428b2
mov esi, dword [0x5995ec]
cmp ebx, esi
jae 0x4429dc
mov esi, dword [0x5995e8]
mov esi, dword [esi + ebx*4]
mov edi, dword [ebp + 0x18]
mov edi, dword [edi + 0x58]
cmp edi, esi
je 0x442800
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], esi
mov dword [esi + 4], 0
mov dword [esp], esi
call fcn.00444ff0
movzx eax, byte [esp + 4]
test al, al
jne 0x44287d
mov edx, dword [0x59a99c]
nop
test edx, edx
je 0x44286b
mov ebx, dword [edx + 0xb4]
mov dword [0x59a99c], ebx
dec dword [0x59a9a0]
nop
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x2c], edx
mov edx, dword [esp + 0x5c]
nop
mov dword [ecx + 8], edx
jmp 0x44289d
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.00444c30
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
jmp 0x442800
nop
mov dword [0x599680], eax
mov dword [0x599688], 0
mov ebx, 1
jmp 0x4428cf
lea ebx, [esi + 1]
mov eax, ebp
cmp eax, ebx
jb 0x442977
mov ebp, eax
mov esi, ebx
jmp 0x4429d3
cmp ebx, 1
jne 0x4428ca
mov ebx, dword [0x59968c]
mov edi, dword [0x599688]
inc edi
mov eax, dword [0x599684]
cmp ebx, edi
jae 0x442968
mov dword [esp + 0x48], esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4c9880]
mov dword [esp + 0x10], eax
call fcn.00469980
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x59968c], eax
mov eax, dword [0x5b8448]
test eax, eax
je 0x44294e
call fcn.0046e8f0
mov dword [edi], ecx
mov ebx, dword [0x599684]
mov dword [edi + 4], ebx
mov dword [0x599684], ecx
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x48]
mov edi, edx
mov eax, ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov dword [0x599688], edi
mov dword [eax + edi*4 - 4], esi
jmp 0x4428ca
lea ecx, [0x5b82fc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004732c0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
je 0x4429b7
lea ecx, [0x5b8620]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00418810
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x70
ret
mov edi, eax
mov eax, ebx
xor edx, edx
div edi
mov eax, edx
mov ebx, edi
mov edx, dword [esp + 0x30]
test eax, eax
jne 0x4429c3
jmp 0x4428e0
mov eax, ebx
mov ecx, esi
call fcn.0046e960
mov ecx, eax
call fcn.0046e9a0
mov ecx, eax
call fcn.0046e9a0
call fcn.0046e9a0
mov eax, ebx
call fcn.0046e960
xor eax, eax
mov ecx, eax
call fcn.0046e960
call fcn.0046e960
mov eax, esi
mov ecx, edi
call fcn.0046e960
mov ecx, ebx
call fcn.0046e9a0
mov ecx, ebx
call fcn.0046e9a0
lea eax, [0x4e193c]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004686c0
nop
call fcn.0046d4e0
jmp fcn.004421f0