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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5de90e
sub esp, 0x94
mov ecx, dword [esp + 0x98]
mov ebx, dword [ecx + 0x26c]
mov dword [esp + 0x2c], ebx
mov ebp, dword [ecx + 0x268]
mov dword [esp + 0x60], ebp
mov esi, dword [ecx + 0x270]
mov dword [esp + 0x30], esi
lea edi, [ecx + 0x268]
mov dword [esp + 0x68], edi
xor eax, eax
jmp 0x5de64d
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0045f76b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x7c], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x6c]
call fcn.0045fc4e
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.005dce20
movzx ecx, byte [esp + 0x59]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x68]
cmp eax, ebx
jge 0x5de6f4
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.0045f76b
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 + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
movzx ecx, byte [esp + 0x52]
test cl, cl
jne 0x5de6cb
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 0x5de6cd
xor ecx, ecx
test cl, cl
je 0x5de5d3
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.005dd8a0
mov eax, dword [esp + 0x98]
xor ecx, ecx
xor edx, edx
jmp 0x5de777
mov dword [ecx + 0x26c], 0
mov dword [ecx + 0x270], 0
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5de72a
mov dword [ecx + 0x268], 0
lea eax, [0x8421a4]
mov dword [ecx + 0x25c], eax
jmp 0x5de742
xor eax, eax
call fcn.0045f670
lea edi, [ecx + 0x25c]
lea eax, [0x8421a4]
call fcn.0045f670
mov dword [esp], ecx
call fcn.005e0230
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x94
ret
lea edx, [edi + 1]
add ecx, esi
mov dword [esp + 0x24], ecx
cmp dword [eax + 0x184], edx
jle 0x5de819
lea ebx, [eax + edx*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
lea ebx, [ecx - 0x80]
neg ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
lea ebx, [eax + ebx + 0x1d4]
mov dword [esp + 0x64], ebx
mov esi, ecx
movzx ecx, byte [esp + 0x40]
mov edi, edx
movzx edx, cl
movzx ebx, byte [esp + 0x41]
add ecx, ebx
movzx ecx, cl
sub ecx, edx
lea ebx, [edx - 0x80]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
lea edx, [eax + ebx + 0x100]
cmp ebp, ecx
jg 0x5de7e1
mov ecx, ebp
mov ebx, dword [esp + 0x64]
cmp edx, ebx
je 0x5de772
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045fe60
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
jmp 0x5de772
nop
mov dword [eax + 0x184], 0
mov byte [eax + 0x180], 0
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0045f76b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x80]
call fcn.0045fc4e
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.005dce20
movzx ecx, byte [esp + 0x59]
mov edx, dword [esp + 0x28]
add ecx, edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
mov ebx, dword [esp + 0x98]
mov dword [ebx + 0x26c], edx
mov edx, dword [esp + 0x30]
sub edx, ecx
mov dword [ebx + 0x270], edx
mov ebp, dword [0xa43e50]
neg edx
sar edx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x60]
lea eax, [ecx + edx]
test ebp, ebp
jne 0x5de8db
mov dword [ebx + 0x268], eax
jmp 0x5de8e4
mov edi, dword [esp + 0x68]
call fcn.0045f670
lea eax, [ebx + 0x1d4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], pe_nt_image_headers32
add esp, 0x94
ret
call fcn.0045e260
jmp fcn.005de580