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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x5d71c1
sub esp, 0xd8
mov eax, 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov eax, dword [esp + 0xdc]
movzx ecx, byte [eax + 0x68]
test cl, cl
jne 0x5d67e4
mov ecx, dword [eax + 0x70]
test ecx, ecx
jge 0x5d6805
mov eax, dword [0x7ef988]
mov ecx, dword [0x7ef98c]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
add esp, 0xd8
ret
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.005dc000
movzx eax, byte [esp + 4]
test al, al
jne 0x5d6976
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.005df4e0
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.0046f740
lea eax, [0x656668]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xd0], eax
mov byte [esp + 0x23], 1
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx]
test edx, edx
jne 0x5d6870
xor edx, edx
jmp 0x5d68a4
mov edx, dword [eax + 0x18]
lea ebp, [0x60e7a0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0040e0b0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
setne al
mov ecx, dword [esp + 0xe0]
mov edx, eax
mov eax, dword [esp + 0xdc]
test dl, dl
jne 0x5d6945
lea esi, [ecx + 0xc]
lea edi, [esp + 0x7c]
call fcn.0045ed4a
lea edi, [esp + 0xb4]
lea esi, [esp + 0x7c]
call fcn.0045ed4a
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045e879
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx + 0x10]
lea ebx, [0x60eba0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0xb4]
mov dword [esp + 8], edx
call fcn.0040c680
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x21], cl
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x98]
call fcn.0045ed4a
lea edi, [esp + 0x60]
lea esi, [esp + 0x98]
call fcn.0045ed4a
movzx ecx, byte [esp + 0x21]
test cl, cl
je 0x5d6997
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx]
test ebx, ebx
jne 0x5d70fd
jmp 0x5d6ef1
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.0046fae0
add esp, 0xd8
ret
mov eax, dword [0x7ef978]
mov ecx, dword [0x7ef97c]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
add esp, 0xd8
ret
mov eax, dword [esp + 0xdc]
movzx ecx, byte [eax + 8]
test cl, cl
jne 0x5d6a81
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x5d69e2
call fcn.0040c0e0
mov eax, dword [0x816df0]
mov ecx, dword [esp]
test eax, eax
jne 0x5d69cf
mov eax, dword [esp + 0xdc]
mov dword [eax + 0xc], ecx
jmp 0x5d69e2
mov edx, dword [esp + 0xdc]
lea edi, [edx + 0xc]
mov eax, ecx
call fcn.0045e5d0
mov eax, edx
lea edi, [esp + 0xb4]
lea esi, [esp + 0x7c]
call fcn.0045ed4a
mov ecx, dword [eax + 0xc]
lea edx, [0x60eb20]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.0040c4b0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [ebx + 0x70]
test ebp, ebp
jne 0x5d6a31
mov ebp, 2
cmp ebp, ecx
jle 0x5d6a4c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
mov ebp, dword [esp + 0xe0]
xor esi, esi
jmp 0x5d6ab9
mov eax, dword [0x7ef9f0]
mov ecx, dword [0x7ef9f4]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.0046fae0
add esp, 0xd8
ret
mov eax, dword [0x7ef968]
mov ecx, dword [0x7ef96c]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.0046fae0
add esp, 0xd8
ret
inc esi
mov ebx, edi
cmp esi, ecx
jge 0x5d6b36
mov edi, ebx
lea ebx, [edx + esi*4]
cmp dword [ebx], ebp
jne 0x5d6ab6
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x635740]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebp
lea ecx, [0x645f6c]
mov dword [esp], ecx
mov dword [esp + 4], 0x1d
lea edx, [esp + 0x44]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ea1e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0xdc]
jmp 0x5d6ab6
lea edi, [esp + 0xb4]
lea esi, [esp + 0x7c]
call fcn.0045ed4a
mov ecx, dword [esp + 0x28]
mov esi, ebx
lea ebx, [ecx + 1]
cmp eax, ebx
jae 0x5d6b94
lea ebp, [0x635740]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.004476d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov ebx, dword [0x816df0]
lea esi, [edx + ecx*4]
test ebx, ebx
jne 0x5d6bb2
mov dword [edx + ecx*4], ebp
jmp 0x5d6bbb
mov edi, esi
mov eax, ebp
call fcn.0045e5d0
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0xc]
lea edx, [0x60eb20]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.0040ca00
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 8], eax
mov eax, dword [0x816df0]
test eax, eax
jne 0x5d6c06
mov eax, dword [esp + 0x40]
mov dword [edi], eax
jmp 0x5d6c0f
mov eax, dword [esp + 0x40]
call fcn.0045e5d0
mov eax, dword [esp + 0xdc]
lea ecx, [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
call fcn.005dfea0
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x5d6d66
mov edx, dword [eax + 0x18]
test edx, edx
je 0x5d6c49
mov edx, dword [edx]
jmp 0x5d6c4b
xor edx, edx
cmp edx, ecx
jle 0x5d6d66
mov ecx, dword [eax + 0x14]
nop
mov edx, dword [ecx + 0x14]
test edx, edx
jne 0x5d6c62
xor edx, edx
jmp 0x5d6c65
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
lea esi, [0x635740]
cmp ebp, esi
jne 0x5d6ed4
nop
cmp dword [edx + 8], ecx
jne 0x5d6d09
mov edi, dword [edx + 4]
test byte [edi], al
mov ebp, dword [0x816df0]
mov esi, dword [edx]
test ebp, ebp
jne 0x5d6c98
mov dword [edi], esi
jmp 0x5d6ca3
mov ebp, eax
mov eax, esi
call fcn.0045e5d0
mov eax, ebp
mov ebp, dword [edx]
test byte [ebp], al
mov esi, dword [0x816df0]
mov edi, ebx
mov ebx, dword [edx + 4]
test esi, esi
jne 0x5d6cd0
mov dword [ebp + 4], ebx
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
jmp 0x5d6d04
add ebp, 4
mov esi, edi
mov edi, ebp
mov eax, ebx
call fcn.0045e5d0
mov edi, edx
xor eax, eax
call fcn.0045e5d0
lea ebx, [edx + 4]
mov edi, ebx
call fcn.0045e5d0
lea edi, [edx + 8]
xor eax, eax
call fcn.0045e5d0
mov eax, dword [esp + 0xdc]
mov edi, esi
dec dword [ecx + 0x14]
jmp 0x5d6d0b
mov edi, ebx
mov dword [esp + 0x3c], edi
mov edx, dword [eax + 0x18]
lea ebx, [0x60e7a0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.0040e930
mov eax, dword [0x7ef9e8]
mov ecx, dword [0x7ef9ec]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005df530
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.005d7920
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x78]
test ecx, ecx
seta dl
mov ebx, dword [eax + 0x7c]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, edx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x5d6e52
mov edx, dword [esp + 0xe0]
mov ebp, dword [edx]
test ebp, ebp
jne 0x5d6e59
mov ebp, dword [edx + 0x78]
test ebp, ebp
je 0x5d6dc3
mov dword [esp], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call fcn.0049dac0
mov eax, dword [esp + 0xe0]
jmp 0x5d6e59
lea eax, [0x614440]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x5e39e0]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5d6df3
mov ecx, dword [esp + 0xe0]
mov dword [eax + 4], ecx
jmp 0x5d6e06
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xe0]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.0049dbc0
mov eax, dword [0x816df0]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5d6e3d
mov eax, dword [esp + 0xe0]
mov dword [eax + 0x78], ecx
jmp 0x5d6e59
mov edx, dword [esp + 0xe0]
lea edi, [edx + 0x78]
mov eax, ecx
call fcn.0045e5d0
mov eax, edx
jmp 0x5d6e59
mov edx, dword [esp + 0xe0]
call fcn.004a00f0
lea edi, [esp + 0x4c]
lea esi, [esp]
call fcn.0045ed5e
mov eax, dword [esp + 0xe0]
lea edi, [eax + 0x64]
mov eax, dword [0x816df0]
test eax, eax
jne 0x5d6e89
lea esi, [esp + 0x4c]
call fcn.0045ed5e
jmp 0x5d6ea3
lea eax, [0x639de0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00410bf0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.0046fae0
add esp, 0xd8
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
lea eax, [0x60d140]
mov dword [esp + 8], eax
call fcn.00408b60
mov edx, dword [esp + 0xe0]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov eax, edx
mov edx, dword [esp + 0x68]
mov ecx, ebp
mov ebp, dword [esp + 0x6c]
mov esi, ebx
sub ebx, ebp
mov edi, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x34], edx
add ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x70]
test ebx, ebx
jle 0x5d6fd7
mov dword [esp + 0x24], ebx
cmp esi, ebp
jg 0x5d6f65
mov ebp, dword [esp + 0x34]
test ebp, ebp
jne 0x5d6f3d
xor ecx, ecx
jmp 0x5d6fa1
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
cmp ecx, ebp
jbe 0x5d70d1
mov ecx, dword [edx + ebp*4]
lea edi, [edx + ebp*4]
mov esi, dword [0x816df0]
test esi, esi
jne 0x5d6f92
mov dword [edx + ebp*4], 0
jmp 0x5d6f9d
mov edx, eax
xor eax, eax
call fcn.0045e5d0
mov eax, edx
inc dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.005d8050
movzx eax, byte [esp + 0x10]
test al, al
je 0x5d6eea
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0xe0]
setg cl
mov byte [esp + 0x22], cl
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x6c]
add edx, dword [esp + 0x74]
test edx, edx
jne 0x5d7027
lea edi, [esp + 0xb4]
lea esi, [esp + 0x7c]
call fcn.0045ed4a
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x10]
lea edx, [0x60eba0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.0040cee0
jmp 0x5d7093
lea edi, [esp + 0xb4]
lea esi, [esp + 0x7c]
call fcn.0045ed4a
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x10]
lea edx, [0x60eba0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.0040ca00
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x816df0]
test eax, eax
jne 0x5d7079
lea esi, [esp + 0x60]
call fcn.0045ed4a
jmp 0x5d7093
lea eax, [0x620f80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
call fcn.00410bf0
movzx eax, byte [esp + 0x22]
test al, al
je 0x5d6997
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.0046fae0
add esp, 0xd8
ret
mov eax, ebp
call fcn.0045e650
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.005d8050
mov eax, dword [esp + 0xe0]
mov edx, eax
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov eax, edx
mov edx, dword [esp + 0x68]
mov ecx, ebp
mov ebp, dword [esp + 0x6c]
mov esi, ebx
sub ebx, ebp
mov edi, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x34], edx
add ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x70]
test ebx, ebx
jle 0x5d71a6
cmp ebp, esi
jl 0x5d7169
mov ebx, dword [esp + 0x34]
test ebx, ebx
jne 0x5d7141
xor ecx, ecx
jmp 0x5d70d8
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x6c]
cmp ecx, ebx
jbe 0x5d71ad
mov ecx, dword [edx + ebx*4]
lea edi, [edx + ebx*4]
mov ebp, dword [0x816df0]
test ebp, ebp
jne 0x5d7192
mov dword [edx + ebx*4], 0
jmp 0x5d719d
mov edx, eax
xor eax, eax
call fcn.0045e5d0
mov eax, edx
inc dword [esp + 0x6c]
jmp 0x5d70d8
xor ecx, ecx
jmp 0x5d6fda
mov eax, ebx
call fcn.0045e650
nop
call fcn.00432460
add esp, 0xd8
ret
call fcn.0045d190
jmp fcn.005d6780