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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5df86f
sub esp, 0x78
lea edi, [esp + 0x64]
lea esi, [esp + 0x88]
call fcn.0045fece
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
test ecx, 0x80000000
je 0x5df395
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
mov eax, edx
shl edx, 1
mov ebx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
mov ecx, edx
add edx, 0xd7b17f80
shr ebx, 0x1f
add ecx, 0xd7b17f80
adc ebx, 0xd
jmp 0x5df39d
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
test edx, edx
sete cl
test ebx, ebx
sete dl
and edx, ecx
test dl, dl
je 0x5df3d2
test eax, 0x3fffffff
jne 0x5df3d2
lea eax, [0x6a72fc]
mov dword [esp + 0x9c], eax
lea eax, [0x6a72a4]
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.005df1e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
test edx, edx
je 0x5df40d
mov ebp, edx
mov esi, ebx
jmp 0x5df420
nop
mov ebp, dword [0x85fbfc]
mov esi, ebx
mov ebx, ebp
mov ebp, edx
lea edx, [0x6f7820]
mov edi, ecx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x5df42d
test ebp, ebp
jmp 0x5df437
test al, al
jne 0x5df75c
test ebp, ebp
mov dword [esp + 0x58], ecx
jne 0x5df44c
nop
mov ebx, dword [0x85fbfc]
lea ebp, [0x6f7820]
mov esi, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], esi
lea edi, [esp]
mov eax, esi
lea esi, [esp + 0x88]
call fcn.0045fece
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call fcn.005df140
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x5df47f
xor eax, eax
jmp 0x5df4d3
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x88]
call fcn.0045fece
call fcn.004cdcd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 0x78], edx
mov edx, dword [0x887d70]
test edx, edx
jne 0x5df4c5
mov dword [ebx + 0x7c], ecx
jmp 0x5df4d3
lea edi, [ebx + 0x7c]
mov edx, eax
mov eax, ecx
call fcn.0045f750
mov eax, edx
mov dword [esp + 0x40], eax
lea ecx, [0x652ac0]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00404540
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5df508
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x70], eax
jmp 0x5df514
mov ecx, dword [esp + 0x7c]
lea edi, [ecx + 0x70]
call fcn.0045f750
lea eax, [0x66caa0]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x5dfa60]
mov dword [eax], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5df541
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x5df551
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045f750
mov eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5df57c
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
jmp 0x5df599
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.0045f750
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x7c]
call fcn.0045f750
lea eax, [0x652ac0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404540
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x669920]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
lea ecx, [0x66cb60]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea ecx, [0x5df9b0]
mov dword [eax], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5df60c
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
jmp 0x5df632
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0045f750
lea edi, [ecx + 8]
mov eax, dword [esp + 0x38]
call fcn.0045f750
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x40]
call fcn.0045f750
lea edi, [esp]
lea esi, [esp + 0x88]
call fcn.0045fece
call fcn.004afce0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004ade00
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea ecx, [0x658a20]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
lea ecx, [0x6752e0]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x5df880]
mov dword [eax], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5df6c1
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 0x14], edx
jmp 0x5df701
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045f750
lea edi, [ecx + 8]
mov eax, dword [esp + 0x54]
call fcn.0045f750
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x34]
call fcn.0045f750
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x5c]
call fcn.0045f750
lea edi, [ecx + 0x14]
mov eax, dword [esp + 0x38]
call fcn.0045f750
mov eax, ecx
mov dword [esp], eax
call fcn.0043f470
lea eax, [0x660ae0]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x616740]
mov dword [eax], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x5df736
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
jmp 0x5df746
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045f750
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edx
lea edi, [esp]
lea esi, [esp + 0x88]
call fcn.0045fece
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.005df140
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5df851
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x88]
call fcn.0045fece
call fcn.004cdcd0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 0x78], edx
mov edx, dword [0x887d70]
test edx, edx
jne 0x5df7d7
mov dword [ebx + 0x7c], ecx
jmp 0x5df7e1
lea edi, [ebx + 0x7c]
mov eax, ecx
call fcn.0045f750
lea eax, [0x6618c0]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x5dfae0]
mov dword [eax], ecx
mov ecx, dword [0x887d70]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5df816
lea esi, [esp + 0x88]
call fcn.0045fece
jmp 0x5df83b
mov dword [esp + 0x48], eax
lea eax, [0x68a300]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00410a60
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
lea eax, [0x6a72fc]
mov dword [esp + 0x9c], eax
lea eax, [0x6a72a4]
mov dword [esp + 0xa0], eax
add esp, 0x78
ret
call fcn.0045e340
jmp fcn.005df330