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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x5df05f
sub esp, 0xcc
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x5de611
nop
movzx edx, byte [0x7c0510]
test dl, dl
je 0x5de5c5
mov edx, dword [esp + 0xdc]
mov dword [0x7c0514], edx
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x5de5b1
mov eax, dword [esp + 0xe0]
mov dword [0x7c0518], eax
jmp 0x5de5d3
lea edi, [0x7c0518]
mov eax, dword [esp + 0xe0]
call fcn.0045e950
jmp 0x5de5d3
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x5de607
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5de603
or ebx, 0x80
mov ebp, eax
jmp 0x5de625
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5de625
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5de64e
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004b8740
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
nop
nop
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 8], ebp
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x28]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x54]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004b57b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xe4]
mov dword [esp], ebx
mov ebp, dword [esp + 0xe8]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xec]
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call fcn.004b8b90
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 8], ebp
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bb9a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004b8b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0x10], ecx
je 0x5de7a5
xor eax, eax
jmp 0x5de7be
mov dword [esp], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004032f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5de7ed
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
movzx ecx, byte [ecx + 0xa]
test cl, cl
jne 0x5de7f4
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe8]
jmp 0x5deae6
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x2c]
mov edx, ecx
and ecx, 0x1f
cmp ecx, 0x11
je 0x5dea63
cmp ecx, 0x17
je 0x5dea63
mov dword [esp + 0x58], ecx
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xb]
test bl, bl
je 0x5de993
cmp ecx, 0x15
jne 0x5de8c2
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b9170
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5de993
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.004bb9a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xe4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xec]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004b9ea0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xcc
ret
lea eax, [0x603440]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xdc]
mov dword [eax], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x5de8f3
mov ecx, dword [esp + 0xe0]
mov dword [eax + 4], ecx
jmp 0x5de906
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xe0]
call fcn.0045e950
mov eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408e80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 8], ecx
lea ecx, [0x600720]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x1c], eax
call fcn.005de550
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
add esp, 0xcc
ret
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x6091e0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
lea eax, [0x63ead9]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
add esp, 0xcc
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b9170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x54]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 0x54]
cmp dword [esp + 4], eax
jl 0x5deb1f
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.004bba80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b8740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, ecx
mov ecx, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ecx
lea eax, [0x606f80]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004475c0
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5dec43
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
call fcn.004b9170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0045eb7a
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x606780]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x606780]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
lea eax, [0x63ffb5]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
add esp, 0xcc
ret
mov eax, ebp
mov ebp, dword [esp + 0x40]
lea ecx, [ebp + 1]
mov edx, edi
mov ebx, eax
mov eax, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], ecx
mov ebp, dword [esp + 0x5c]
mov dword [esp], ebp
mov esi, dword [esp + 0x60]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], edi
call fcn.004b9170
mov eax, dword [esp + 0x40]
cmp dword [esp + 0xc], eax
jle 0x5def9b
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004b89e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004b8b90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 0xc], esi
call fcn.004b89e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x40]
mov ebp, ebx
sar ebx, 0x1f
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 8], 0xa
call fcn.004acce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov edx, dword [esp + 0xd4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 8], ebx
lea ebp, [0x68afe4]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [0x68afe8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.0044ad70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.005d7020
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
test eax, eax
jne 0x5dee05
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x80]
jmp 0x5dec34
test ecx, ecx
je 0x5deef5
cmp dword [ecx + 8], 0xe1bf9e84
jne 0x5deeef
lea esi, [0x68b8d4]
cmp edx, esi
jne 0x5deef5
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x44]
lea ecx, [eax + edx]
mov dword [esp + 0x30], ecx
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x48]
cmp ebp, ecx
jb 0x5dee49
mov edi, dword [esp + 0x80]
jmp 0x5dee9e
mov dword [esp + 0x88], ebx
mov dword [esp + 0x54], edx
lea edx, [0x606f80]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
lea esi, [0x68b8d4]
mov ebp, ebx
mov edi, eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x88]
cmp eax, ecx
ja 0x5df059
mov dword [esp + 0x34], ebp
mov dword [esp + 0x64], edi
lea ecx, [0x606f80]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 3
sar ebp, 0x1f
and eax, ebp
add eax, edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00410020
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
jmp 0x5dec34
lea esi, [0x68b8d4]
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x44]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x48]
cmp ebp, ebx
jb 0x5def1d
mov esi, dword [esp + 0x80]
jmp 0x5def6f
mov dword [esp + 0x54], ecx
mov dword [esp + 0x98], eax
lea eax, [0x606f80]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc ecx
mov edx, dword [esp + 0x44]
mov esi, eax
mov ebp, ebx
mov eax, dword [esp + 0x98]
mov ebx, ecx
mov ecx, dword [esp + 0x54]
mov edi, ebx
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x7e77b0]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x5def8b
mov dword [edx], eax
jmp 0x5dec34
mov ecx, edi
mov edi, edx
call fcn.0045e950
mov edi, ecx
jmp 0x5dec34
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.004b9ea0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5df03c
lea eax, [0x60d4e0]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov eax, dword [0x7e77b0]
test eax, eax
jne 0x5df015
mov eax, dword [esp + 0x80]
mov dword [edi], eax
jmp 0x5df021
mov eax, dword [esp + 0x80]
call fcn.0045e950
lea eax, [0x68b8d4]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edi
add esp, 0xcc
ret
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xcc
ret
call fcn.0045ea30
nop
call fcn.0045d540
jmp fcn.005de550