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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5d0800
sub esp, 0x90
mov ecx, dword [esp + 0x94]
mov ebx, dword [ecx + 0x26c]
mov dword [esp + 0x30], ebx
mov ebp, dword [ecx + 0x268]
mov dword [esp + 0x60], ebp
mov esi, dword [ecx + 0x270]
mov dword [esp + 0x34], esi
lea edi, [ecx + 0x268]
mov dword [esp + 0x64], edi
xor eax, eax
jmp 0x5d04bd
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045ebbb
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x68]
call fcn.0045f09e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.005ce850
movzx ecx, byte [esp + 0x59]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x64]
cmp eax, ebx
jge 0x5d0568
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0x190]
mov ecx, dword [edx]
mov dword [esp + 0x3c], ecx
lea edi, [esp]
xor eax, eax
call fcn.0045ebbb
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
call ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
movzx ecx, byte [esp + 0x52]
test cl, cl
jne 0x5d053f
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
movzx ecx, byte [esp + 0x4d]
test cl, 8
sete cl
jmp 0x5d0541
xor ecx, ecx
test cl, cl
je 0x5d0443
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.005cf540
mov eax, dword [esp + 0x94]
xor ecx, ecx
xor edx, edx
jmp 0x5d05e9
mov dword [ecx + 0x26c], 0
mov dword [ecx + 0x270], 0
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5d059e
mov dword [ecx + 0x268], 0
lea eax, [0x65c628]
mov dword [ecx + 0x25c], eax
jmp 0x5d05b6
xor eax, eax
call fcn.0045e940
lea edi, [ecx + 0x25c]
lea eax, [0x65c628]
call fcn.0045e940
mov dword [esp], ecx
call fcn.005d2620
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
add esp, 0x90
ret
inc edx
add ecx, ebp
mov dword [esp + 0x24], ecx
cmp dword [eax + 0x184], edx
jle 0x5d06c2
cmp edx, 0x20
jae 0x5d07f3
lea ebx, [eax + edx*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
cmp ecx, 0x80
ja 0x5d07e7
lea ebx, [ecx - 0x80]
neg ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
lea ebx, [eax + ebx + 0x1d4]
mov esi, ebx
movzx ebx, byte [esp + 0x40]
mov edi, ebp
movzx ebp, byte [esp + 0x41]
add ebp, ebx
xchg ebp, eax
movzx eax, al
xchg ebp, eax
cmp ebp, 0x80
ja 0x5d07db
movzx ebx, bl
cmp ebx, ebp
ja 0x5d07d2
sub ebp, ebx
mov dword [esp + 0x38], ebp
lea ebp, [ebx - 0x80]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ebx
lea ebx, [eax + ebp + 0x100]
mov ebp, dword [esp + 0x38]
cmp edi, ebp
jg 0x5d068a
mov ebp, edi
cmp ebx, esi
je 0x5d05e6
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], ebp
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0045f2b0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
jmp 0x5d05e6
nop
mov dword [eax + 0x184], 0
mov byte [eax + 0x180], 0
cmp ecx, 0x80
ja 0x5d07c8
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.0045ebbb
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x8c], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x7c]
call fcn.0045f09e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.005ce850
movzx ecx, byte [esp + 0x59]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jb 0x5d07c3
sub ecx, eax
mov edx, dword [esp + 0x94]
mov dword [edx + 0x26c], ecx
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov dword [edx + 0x270], ecx
mov ebx, dword [0x84c5a0]
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0x60]
lea eax, [ebp + ecx]
test ebx, ebx
jne 0x5d0790
mov dword [edx + 0x268], eax
jmp 0x5d0799
mov edi, dword [esp + 0x64]
call fcn.0045e940
lea eax, [edx + 0x1d4]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], pe_nt_image_headers32
add esp, 0x90
ret
call fcn.0045ea20
mov edx, pe_nt_image_headers32
call fcn.0045e9e0
mov eax, ebx
mov ecx, ebp
call fcn.0045ea20
mov ecx, ebp
mov edx, pe_nt_image_headers32
call fcn.0045e9e0
mov eax, ecx
mov ecx, pe_nt_image_headers32
call fcn.0045ea20
mov eax, edx
mov ecx, 0x20
call fcn.0045e9c0
nop
call fcn.0045d530
jmp fcn.005d03f0