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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5d6f1c
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x254]
lea edx, [0x63a580]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x20
call fcn.0040e780
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
lea ecx, [0x65c7e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a8a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
xor ebp, ebp
xor esi, esi
jmp 0x5d6730
mov edi, dword [esp + 0x44]
lea ebp, [edi + 1]
lea edi, [edx + ecx + 0x10]
lea esi, [ebx + edx + 0x10]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ebx, edi
cmp ebp, ecx
jge 0x5d6e5d
mov dword [esp + 0x3c], esi
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x5d6770
mov edi, dword [0x86dc50]
mov esi, dword [0x86dc54]
cmp ebp, ecx
mov dword [esp + 0x80], eax
mov eax, 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
jmp 0x5d67b8
mov edi, dword [edx + 0x28c]
mov esi, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp ebx, edi
ja 0x5d6f12
sub edi, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp edi, 3
jbe 0x5d6f06
mov edx, dword [edx + esi]
cmp ebp, ecx
mov edi, 0
mov dword [esp + 0x34], edx
mov esi, 0
mov edx, dword [esp + 0x94]
jae 0x5d6eff
mov dword [esp + 0x44], ebp
mov dword [esp + 0x88], esi
imul ebp, ebp, 0x1c
mov esi, dword [esp + 0x34]
mov dword [eax + ebp], esi
test edi, edi
jne 0x5d6e21
mov dword [esp + 0x50], ebp
lea esi, [ebx + 4]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5d680c
mov esi, dword [0x86dc50]
mov edi, dword [0x86dc54]
mov dword [esp + 0x78], eax
xor eax, eax
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x78]
jmp 0x5d6858
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5d6ef6
sub edx, ebx
sub edi, ebx
add edx, 0xfffffffc
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 4]
cmp esi, 1
jbe 0x5d6eea
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x2e], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x2e]
mov word [eax + ebp + 4], di
test esi, esi
jne 0x5d6de2
lea esi, [ebx + 6]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5d689e
mov esi, dword [0x86dc50]
mov edi, dword [0x86dc54]
mov dword [esp + 0x70], eax
xor eax, eax
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x70]
jmp 0x5d68ea
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5d6ee1
sub edx, ebx
sub edi, ebx
add edx, 0xfffffffa
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 6]
cmp esi, 1
jbe 0x5d6ed5
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x2c], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x2c]
mov word [eax + ebp + 6], di
test esi, esi
jne 0x5d6da3
lea esi, [ebx + 8]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5d6930
mov esi, dword [0x86dc50]
mov edi, dword [0x86dc54]
mov dword [esp + 0x68], eax
xor eax, eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x68]
jmp 0x5d697c
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5d6ecc
sub edx, ebx
sub edi, ebx
add edx, 0xfffffff8
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 8]
cmp esi, 1
jbe 0x5d6ec0
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x2a], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x2a]
mov word [eax + ebp + 8], di
test esi, esi
jne 0x5d6d64
lea esi, [ebx + 0xa]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5d69c2
mov esi, dword [0x86dc50]
mov edi, dword [0x86dc54]
mov dword [esp + 0x60], eax
xor eax, eax
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x60]
jmp 0x5d6a0e
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5d6eb7
sub edx, ebx
sub edi, ebx
add edx, 0xfffffff6
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 0xa]
cmp esi, 1
jbe 0x5d6eab
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x28], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x28]
mov word [eax + ebp + 0xa], di
test esi, esi
jne 0x5d6d25
lea esi, [ebx + 0xc]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffc
cmp edi, esi
jae 0x5d6a53
mov esi, dword [0x86dc50]
mov edi, dword [0x86dc54]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
jmp 0x5d6a9d
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5d6ea2
sub edx, ebx
sub edi, ebx
add edx, 0xfffffff4
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 0xc]
cmp esi, 3
jbe 0x5d6e96
mov edx, dword [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x30], edx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ebp + 0xc], edi
test esi, esi
jne 0x5d6ce6
mov dword [esp + 0x38], ebx
movzx ecx, byte [0x8688f0]
mov esi, dword [0x8688f4]
mov edi, dword [0x8688f8]
mov eax, dword [0x8688fc]
mov dword [esp], edx
mov byte [esp + 4], cl
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
lea ecx, [eax + ebp + 0x10]
mov dword [esp + 0x18], ecx
call fcn.005d1ef0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x5d6ca3
mov dword [esp + 0x40], eax
movzx ecx, byte [0x868a30]
mov edx, dword [0x868a34]
mov ebx, dword [0x868a38]
mov ebp, dword [0x868a3c]
mov esi, dword [esp + 0x94]
mov dword [esp], esi
mov byte [esp + 4], cl
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x8c]
lea ebp, [ebx + edx + 0x14]
mov dword [esp + 0x18], ebp
call fcn.005d1ef0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add ecx, eax
mov edx, dword [esp + 0x3c]
lea ebx, [edx + eax]
lea eax, [edx + eax + 0x10]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
jne 0x5d6c67
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], edx
movzx eax, byte [0x868a30]
mov ebx, dword [0x868a34]
mov ebp, dword [0x868a38]
mov esi, dword [0x868a3c]
mov edi, dword [esp + 0x94]
mov dword [esp], edi
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
lea eax, [edx + ecx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x8c]
lea eax, [ebx + eax + 0x18]
mov dword [esp + 0x18], eax
call fcn.005d1ef0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov edx, dword [esp + 0x48]
lea ebx, [edx + eax]
lea eax, [eax + edx + 0x10]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
je 0x5d670d
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edi
add esp, 0x90
ret
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edi
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
add eax, 0x10
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 0xc
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 0xa
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 8
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 6
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x90
ret
mov eax, 3
mov ecx, esi
call fcn.00463700
mov eax, esi
mov ecx, edi
call fcn.00463770
mov eax, 1
mov ecx, esi
call fcn.00463700
mov eax, esi
mov ecx, edi
call fcn.00463770
mov eax, 1
mov ecx, esi
call fcn.00463700
mov eax, esi
mov ecx, edi
call fcn.00463770
mov eax, 1
mov ecx, esi
call fcn.00463700
mov eax, esi
mov ecx, edi
call fcn.00463770
mov eax, 1
mov ecx, esi
call fcn.00463700
mov eax, esi
mov ecx, edi
call fcn.00463770
mov eax, ebp
call fcn.00463700
mov eax, 3
mov ecx, edi
call fcn.00463700
mov eax, ebx
mov ecx, edi
call fcn.00463770
nop
call fcn.00462270
jmp fcn.005d6680