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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5d2d47
sub esp, 0xb8
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.00465feb
mov ecx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xcc]
cmp ecx, ebx
jl 0x5d296b
mov ebp, dword [esp + 0xc8]
cmp ebx, ebp
jae 0x5d29bd
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov dword [eax + 4], 0x1f
lea ecx, [0x6fc32a]
mov dword [eax], ecx
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.00465feb
lea eax, [0x785138]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xec], eax
add esp, 0xb8
ret
mov edx, dword [esp + 0xc4]
cmp edx, ebx
jb 0x5d2d3f
sub edx, ebp
mov dword [esp + 0x2c], edx
sub ebx, ebp
neg edx
sar edx, 0x1f
and ebp, edx
mov edx, dword [esp + 0xbc]
add edx, ebp
movzx ebp, word [esp + 0xd0]
cmp bp, 2
ja 0x5d2ab5
cmp bp, 1
je 0x5d2ac2
cmp bp, 2
jne 0x5d2b64
lea edi, [esp + 0xa4]
call fcn.00465feb
mov dword [esp], edx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
call fcn.00575d60
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x28]
lea edi, [esp + 0xa4]
lea esi, [esp + 0xc]
call fcn.004664ce
lea edi, [esp + 0x68]
lea esi, [esp + 0xa4]
call fcn.004664ce
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.00465feb
mov ecx, dword [esp + 0x68]
movzx ebx, byte [esp + 0x6c]
mov dword [esp + 0xe0], ecx
mov byte [esp + 0xe4], bl
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
add esp, 0xb8
ret
lea esi, [ebp - 6]
cmp si, 3
ja 0x5d2b50
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov word [esp], bp
call fcn.004096b0
mov eax, dword [esp + 4]
lea ecx, [0x69bdc0]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x706560]
mov dword [esp], eax
mov dword [esp + 4], 0x3b
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0xd4]
mov edx, eax
xor eax, eax
call fcn.00465feb
mov dword [esp + 0xe8], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0xec], eax
add esp, 0xb8
ret
cmp bp, 0x11
je 0x5d2c94
cmp bp, 0x12
je 0x5d2bf2
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov word [esp], bp
call fcn.004096b0
mov eax, dword [esp + 4]
lea ecx, [0x69bdc0]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x6fe05a]
mov dword [esp], eax
mov dword [esp + 4], 0x23
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0xd4]
mov edx, eax
xor eax, eax
call fcn.00465feb
mov dword [esp + 0xe8], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0xec], eax
add esp, 0xb8
ret
lea edi, [esp + 0x7c]
call fcn.00465feb
mov dword [esp], edx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
call fcn.005758d0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x7c]
lea esi, [esp + 0xc]
call fcn.004664ce
lea edi, [esp + 0x40]
lea esi, [esp + 0x7c]
call fcn.004664ce
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.00465feb
mov ecx, dword [esp + 0x40]
movzx ebx, byte [esp + 0x44]
mov dword [esp + 0xe0], ecx
mov byte [esp + 0xe4], bl
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
add esp, 0xb8
ret
lea edi, [esp + 0x90]
call fcn.00465feb
mov dword [esp], edx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
call fcn.00575660
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x90]
lea esi, [esp + 0xc]
call fcn.004664ce
lea edi, [esp + 0x54]
lea esi, [esp + 0x90]
call fcn.004664ce
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.00465feb
mov ecx, dword [esp + 0x54]
movzx ebx, byte [esp + 0x58]
mov dword [esp + 0xe0], ecx
mov byte [esp + 0xe4], bl
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
add esp, 0xb8
ret
mov ecx, ebx
call fcn.00465e50
nop
call fcn.004649b0
jmp fcn.005d2920