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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d566d
add esp, 0xffffff80
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 4]
mov ebp, dword [ebx]
test edx, edx
jle 0x5d533e
lea eax, [edx - 1]
cmp edx, eax
jb 0x5d5665
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], edx
lea eax, [edx + ebp - 1]
mov dword [esp], eax
lea eax, [0xc7c9ec]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00403420
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x34]
jmp 0x5d5340
xor eax, eax
test al, al
je 0x5d5350
lea ecx, [edx - 1]
cmp edx, ecx
jae 0x5d5352
jmp 0x5d5660
mov ecx, edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0047d5b0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5d536e
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x5d5382
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x5d5657
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x5d5645
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 2
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], 0xc
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0046ca7b
mov dword [esp], 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.00480270
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5d562f
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5d5615
cmp eax, 0x800b0101
je 0x5d55a0
cmp eax, 0x800b0109
je 0x5d552b
cmp eax, 0x800b010f
jne 0x5d54d6
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x796640]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040aba0
mov eax, dword [esp + 8]
lea ecx, [0xc7f354]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x79ab00]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040aba0
mov eax, dword [esp + 8]
lea ecx, [0xc7f368]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x79ab00]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040aba0
mov eax, dword [esp + 8]
lea ecx, [0xc7f368]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x79aa80]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040aba0
mov eax, dword [esp + 8]
lea ecx, [0xc7f340]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, eax
call fcn.0046c850
call fcn.0046c870
mov ecx, edx
call fcn.0046c8b0
nop
call fcn.0046b3d0
jmp fcn.005d52d0