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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x5d4033
sub esp, 0x100
mov eax, 0
mov dword [esp + 0xfc], eax
mov byte [esp + 0x37], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x5d38f8
mov edx, dword [0x90e260]
test edx, edx
jne 0x5d38ea
lea eax, [0x8e75e0]
mov dword [ecx + 0x28], eax
jmp 0x5d38f8
lea edi, [ecx + 0x28]
lea eax, [0x8e75e0]
call fcn.004630d0
mov byte [ecx + 0x30], 0
mov dword [esp], ecx
call fcn.005d2ad0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
test ebx, ebx
jne 0x5d4015
mov dword [esp + 0x60], esi
mov dword [esp + 0x70], ebp
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [esp + 0x104]
mov dword [ebx + 0x68], edx
mov edx, dword [0x90e260]
test edx, edx
jne 0x5d3959
mov dword [ebx + 0x64], ecx
jmp 0x5d3967
lea edi, [ebx + 0x64]
mov edx, eax
mov eax, ecx
call fcn.004630d0
mov eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005d40a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
test ebx, ebx
jne 0x5d400e
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
test esi, esi
je 0x5d3a48
test eax, eax
je 0x5d3a48
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0046336b
lea ecx, [0x5d4040]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
lea ebx, [esp + 0x84]
mov dword [esp + 0xfc], ebx
mov byte [esp + 0x37], 1
mov ecx, 1
jmp 0x5d3a4a
xor ecx, ecx
mov byte [esp + 0x36], cl
mov eax, dword [esp + 0x104]
mov dword [esp], eax
lea edx, [0x751ae8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.005cfc20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5d3ac0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
movzx eax, byte [esp + 0x36]
test al, 1
je 0x5d3ab9
and eax, 0xfffffffe
mov byte [esp + 0x37], al
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
mov eax, dword [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005cfef0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
test edx, edx
je 0x5d3b2c
movzx eax, byte [esp + 0x36]
test al, 1
je 0x5d3b25
and eax, 0xfffffffe
mov byte [esp + 0x37], al
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
lea eax, [0x6a3000]
cmp ebp, eax
je 0x5d3b3b
mov ebx, 0
mov dword [esp + 0x50], ebx
jne 0x5d3f43
mov eax, dword [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.005d5210
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5d3b99
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
movzx eax, byte [esp + 0x36]
test al, 1
je 0x5d3b92
and eax, 0xfffffffe
mov byte [esp + 0x37], al
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005c9840
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5d3bc0
xor edx, edx
jmp 0x5d3bc3
movzx edx, word [ecx]
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
cmp ecx, 0x18
jb 0x5d401c
add esi, 0xffffffe8
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
mov eax, ebx
lea ebx, [ebp + esi]
cmp ecx, 0x20
jne 0x5d3c12
cmp dword [ebx], 0x4e574f44
jne 0x5d3c0f
mov edi, edx
lea edx, [ebp + esi + 4]
cmp dword [edx], 0x1445247
sete dl
cmp ecx, 0x20
jmp 0x5d3c19
cmp ecx, 0x20
mov edi, edx
mov edx, 0
jne 0x5d3c32
cmp dword [ebx], 0x4e574f44
jne 0x5d3c32
lea ecx, [ebp + esi + 4]
cmp dword [ecx], 0x445247
sete cl
jmp 0x5d3c34
xor ecx, ecx
cmp di, 0x304
jne 0x5d3c54
mov ebx, dword [esp + 0x104]
cmp word [ebx + 0x24], 0x303
ja 0x5d3c5b
test dl, dl
jne 0x5d3c6e
test cl, cl
jne 0x5d3c6e
jmp 0x5d3c5b
mov ebx, dword [esp + 0x104]
cmp di, 0x303
jne 0x5d3cd3
cmp word [ebx + 0x24], 0x302
ja 0x5d3cd3
test cl, cl
je 0x5d3cd3
mov dword [esp], ebx
mov byte [esp + 4], 0x2f
call fcn.005cf040
lea eax, [0x6a08e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x6e416f]
mov dword [eax], ecx
lea ecx, [0x751118]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
movzx eax, byte [esp + 0x36]
test al, 1
je 0x5d3ccc
and eax, 0xfffffffe
mov byte [esp + 0x37], al
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
cmp word [ebx + 0x24], 0x304
jne 0x5d3dd1
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00463357
mov dword [esp + 0x98], ebx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xcc], ecx
lea ecx, [esp + 0x98]
mov dword [esp], ecx
call fcn.005d8ab0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
movzx ecx, byte [esp + 0x36]
test cl, 1
je 0x5d3dca
and ecx, 0xfffffffe
mov byte [esp + 0x37], cl
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
lea eax, [0x6bb0e0]
mov dword [esp], eax
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [0x90e260]
test eax, eax
jne 0x5d3df8
mov ecx, dword [esp + 0x104]
mov dword [edi], ecx
jmp 0x5d3e06
mov eax, dword [esp + 0x104]
call fcn.004630d0
mov ecx, eax
mov edx, dword [esp + 0x108]
mov dword [edi + 4], edx
mov edx, dword [0x90e260]
test edx, edx
jne 0x5d3e3b
mov eax, dword [esp + 0x10c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x58], eax
jmp 0x5d3e74
lea edx, [edi + 8]
mov eax, dword [esp + 0x10c]
mov ebx, edi
mov edi, edx
call fcn.004630d0
lea edi, [ebx + 0xc]
mov eax, dword [esp + 0x50]
call fcn.004630d0
lea edi, [ebx + 0x10]
mov eax, dword [esp + 0x5c]
call fcn.004630d0
lea edi, [ebx + 0x58]
mov eax, dword [esp + 0x4c]
call fcn.004630d0
mov edi, ebx
mov dword [esp + 0x58], edi
mov dword [esp], edi
call fcn.005d5350
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5d3ec1
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
movzx eax, byte [esp + 0x36]
test al, 1
je 0x5d3eba
and eax, 0xfffffffe
mov byte [esp + 0x37], al
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5d3f0a
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x5d3f0a
mov ebx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x5d3f0a
mov edx, dword [esp + 0x104]
mov edx, dword [edx + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
movzx eax, byte [esp + 0x36]
test al, 1
je 0x5d3f3c
and eax, 0xfffffffe
mov byte [esp + 0x37], al
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
mov dword [esp + 0x54], esi
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x104]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005cf040
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
lea eax, [0x6a3000]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
lea eax, [0x6e3a1a]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004beaf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
movzx eax, byte [esp + 0x36]
test al, 1
je 0x5d4007
and eax, 0xfffffffe
mov byte [esp + 0x37], al
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
call eax
add esp, 0x100
ret
add esp, 0x100
ret
add esp, 0x100
ret
mov eax, 0x18
call fcn.004631b0
nop
call fcn.00436440
add esp, 0x100
ret
call fcn.00461cc0
jmp fcn.005d3880