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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x388]
cmp eax, dword [ecx + 8]
jbe 0x5dedd4
sub esp, 0x408
call fcn.0040c2a0
mov eax, dword [esp + 0x40c]
test byte [eax], al
mov ecx, dword [esp]
mov dword [esp + 0x3d0], ecx
lea edx, [0x648420]
mov dword [esp], edx
lea ebx, [eax + 0x64]
mov dword [esp + 4], ebx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x648420]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 0x40c]
mov ecx, dword [eax + 0x3c]
add ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x30]
mov edx, eax
xor eax, eax
call fcn.00462908
lea edi, [esp + 0x1f0]
call fcn.00462904
movzx ecx, byte [edx + 0x295]
test cl, cl
je 0x5de624
lea edi, [esp + 0x2e0]
call fcn.00462904
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x6524c0]
cmp ecx, ebx
jne 0x5dedbd
lea edi, [esp + 0x2e0]
call fcn.00462bf8
lea edi, [esp + 0x1f0]
lea esi, [esp + 0x2e0]
call fcn.00462bf8
mov ecx, dword [esp + 0x22c]
jmp 0x5de664
lea edi, [esp + 0x110]
call fcn.00462908
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x652a00]
cmp ecx, ebx
jne 0x5deda7
lea edi, [esp + 0x110]
call fcn.00462c20
lea edi, [esp + 0x30]
lea esi, [esp + 0x110]
call fcn.00462c20
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x2c]
lea ebp, [ebx + 4]
mov dword [esp + 0x24], ebp
mov esi, dword [edx + 0x2ac]
sub esi, ebx
add esi, 0xfffffffc
cmp ecx, esi
ja 0x5deccd
cmp ecx, 0x44
jb 0x5dec3e
lea eax, [0x6365c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x3d4], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 0x44]
mov dword [eax], edx
mov dword [eax + 4], 4
lea edx, [0x62a640]
mov dword [esp], edx
mov ebx, dword [esp + 0x3d0]
mov dword [esp + 4], ebx
lea ebp, [0x65aafa]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 8
call fcn.0040fe00
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x87bd00]
test eax, eax
jne 0x5de6fe
mov eax, dword [esp + 0x3d4]
mov dword [edi], eax
jmp 0x5de70a
mov eax, dword [esp + 0x3d4]
call fcn.004626c0
mov eax, dword [esp + 0x40c]
movzx ecx, byte [eax + 0x295]
test cl, cl
je 0x5de732
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 0x70]
lea ebx, [ecx + 0x94]
mov ebp, dword [esp + 0x25c]
jmp 0x5de746
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 0x60]
lea ebx, [ecx + 0x84]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x20]
lea ecx, [ecx + esi + 4]
add edx, 4
cmp ecx, edx
jb 0x5debba
cmp ebp, 5
jb 0x5deb17
lea edx, [ebx + 8]
cmp ecx, edx
jb 0x5dea93
mov dword [esp + 0x28], ebx
lea eax, [0x6365c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x3d4], eax
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov dword [eax + 4], 8
lea ecx, [0x62a640]
mov dword [esp], ecx
mov edx, dword [esp + 0x3d0]
mov dword [esp + 4], edx
lea ebx, [0x65f0a2]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x11
call fcn.0040fe00
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x87bd00]
test eax, eax
jne 0x5de7dd
mov eax, dword [esp + 0x3d4]
mov dword [edi], eax
jmp 0x5de7e9
mov eax, dword [esp + 0x3d4]
call fcn.004626c0
mov eax, dword [esp + 0x40c]
movzx ecx, byte [eax + 0x295]
test cl, cl
je 0x5de80b
mov ecx, dword [esp + 0x284]
mov edx, dword [esp + 0x280]
jmp 0x5de819
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
test ecx, ecx
je 0x5dea0f
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, ebx
add ebx, ebp
cmp ebx, edx
seta bl
add esi, ebp
mov ebp, 0
adc ebp, 0
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebx, ebp
or ebx, esi
test bl, bl
jne 0x5de88b
mov ebx, edx
add edx, ecx
mov ebp, 0
adc ebp, 0
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
cmp dword [eax + 0x2ac], edx
setb dl
and edx, ebp
or edx, esi
test dl, dl
je 0x5de968
mov edx, ebx
mov dword [esp + 0x3e0], 0
mov dword [esp + 0x3e4], 0
mov dword [esp + 0x3e8], 0
mov dword [esp + 0x3ec], 0
mov dword [esp], edx
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x6283e0]
mov dword [esp + 0x3e0], ecx
mov dword [esp + 0x3e4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x6283e0]
mov dword [esp + 0x3e8], ecx
mov dword [esp + 0x3ec], eax
mov eax, dword [esp + 0x40c]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x66f7d5]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb3
lea eax, [esp + 0x3e0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.005113f0
mov eax, dword [esp + 0x3d0]
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], 0
mov dword [esp + 0x418], 0
add esp, 0x408
ret
mov dword [esp + 0x2c], ebx
lea eax, [0x6365c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x3d4], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
lea ecx, [0x62a640]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3d0]
mov dword [esp + 4], ecx
lea edx, [0x65afd4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 9
call fcn.0040fe00
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x87bd00]
test eax, eax
jne 0x5de9d8
mov eax, dword [esp + 0x3d4]
mov dword [edi], eax
jmp 0x5de9e4
mov eax, dword [esp + 0x3d4]
call fcn.004626c0
mov eax, dword [esp + 0x3d0]
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], 0
mov dword [esp + 0x418], 0
add esp, 0x408
ret
mov dword [esp + 0x3d8], 0
mov dword [esp + 0x3dc], 0
lea ecx, [0x6282a0]
mov dword [esp + 0x3d8], ecx
lea ecx, [0x6c3180]
mov dword [esp + 0x3dc], ecx
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x3d8]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005112e0
mov eax, dword [esp + 0x3d0]
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], 0
mov dword [esp + 0x418], 0
add esp, 0x408
ret
mov dword [esp + 0x3d8], 0
mov dword [esp + 0x3dc], 0
lea ecx, [0x6282a0]
mov dword [esp + 0x3d8], ecx
lea ecx, [0x6c3178]
mov dword [esp + 0x3dc], ecx
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x3d8]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005112e0
mov eax, dword [esp + 0x3d0]
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], 0
mov dword [esp + 0x418], 0
add esp, 0x408
ret
mov dword [esp + 0x3d8], 0
mov dword [esp + 0x3dc], 0
mov dword [esp], ebp
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x6283e0]
mov dword [esp + 0x3d8], ecx
mov dword [esp + 0x3dc], eax
mov eax, dword [esp + 0x40c]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x66f3b9]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x6e
lea eax, [esp + 0x3d8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.005113f0
mov eax, dword [esp + 0x3d0]
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], 0
mov dword [esp + 0x418], 0
add esp, 0x408
ret
mov dword [esp + 0x3d8], 0
mov dword [esp + 0x3dc], 0
lea ecx, [0x6282a0]
mov dword [esp + 0x3d8], ecx
lea ecx, [0x6c3170]
mov dword [esp + 0x3dc], ecx
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x3d8]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005112e0
mov eax, dword [esp + 0x3d0]
mov dword [esp + 0x410], eax
mov dword [esp + 0x414], 0
mov dword [esp + 0x418], 0
add esp, 0x408
ret
mov dword [esp + 0x3d8], 0
mov dword [esp + 0x3dc], 0
mov dword [esp], ecx
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x6283e0]
mov dword [esp + 0x3d8], ecx
mov dword [esp + 0x3dc], eax
lea eax, [0x66e949]
mov dword [esp], eax
mov dword [esp + 4], 0x4b
lea eax, [esp + 0x3d8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1b70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x410], 0
mov dword [esp + 0x414], eax
mov dword [esp + 0x418], ecx
add esp, 0x408
ret
lea edi, [esp + 0x3f0]
call fcn.0046293a
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
call fcn.00409090
mov ecx, dword [esp + 4]
lea edx, [0x6283e0]
mov dword [esp + 0x3f0], edx
mov dword [esp + 0x3f4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call fcn.00409090
mov ecx, dword [esp + 4]
lea edx, [0x6283e0]
mov dword [esp + 0x3f8], edx
mov dword [esp + 0x3fc], ecx
mov ecx, dword [esp + 0x40c]
mov ecx, dword [ecx + 0x2ac]
mov dword [esp], ecx
call fcn.00409090
mov ecx, dword [esp + 4]
lea edx, [0x6283e0]
mov dword [esp + 0x400], edx
mov dword [esp + 0x404], ecx
lea ecx, [0x66d768]
mov dword [esp], ecx
mov dword [esp + 4], 0x3a
lea ecx, [esp + 0x3f0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004c1b70
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x410], 0
mov dword [esp + 0x414], ecx
mov dword [esp + 0x418], edx
add esp, 0x408
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
nop
call fcn.004612b0
jmp fcn.005de540