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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f8014
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
lea edx, [0x96ba20]
mov dword [esp], edx
call fcn.0040ae10
mov eax, dword [0xdd7ec0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5f7fe0
mov eax, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x58]
movzx ebx, word [edx + 0x20]
mov word [ecx + 0xc], bx
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x5f77d1
mov ebx, dword [ecx + 0x90]
mov ecx, dword [ecx + 0x8c]
test ebx, ebx
jne 0x5f7fd5
mov ecx, dword [0xdb9a0c]
mov ebx, dword [0xdb9a08]
mov ebp, dword [eax + 4]
mov dword [esp + 0x64], ebp
mov esi, dword [ebp + 0x54]
mov edi, dword [ebp + 0x50]
mov dword [esp + 0x60], edi
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
jmp 0x5f7fad
inc ebp
mov edi, dword [esp + 0x60]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x64]
mov ebp, dword [esp + 0x38]
cmp ebp, ecx
jge 0x5f7f9a
movzx edi, word [ebx + ebp*2]
cmp di, ax
jne 0x5f7801
mov eax, 1
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x5c]
xor ebx, ebx
jmp 0x5f7837
inc ebx
cmp ebx, edx
jge 0x5f7f93
movzx ebp, byte [ecx + ebx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f7836
mov ecx, 1
and eax, ecx
mov ecx, dword [esp + 0x74]
mov byte [ecx + 0x10], al
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
xor ebx, ebx
jmp 0x5f7865
inc ebx
cmp ebx, edx
jge 0x5f7f4f
movzx ebp, byte [ebx + eax]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f7864
lea eax, [0x8ebd00]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.00440500
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
mov dword [ecx + 0x14], 0x20
mov dword [ecx + 0x18], 0x20
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x5f7f3c
mov dword [ecx + 0x10], edx
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x24], edx
mov ebx, dword [ecx + 0x10]
mov dword [esp + 0x5c], ebx
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0x58]
mov esi, dword [ebp + 0x24]
mov dword [esp], esi
mov byte [esp + 4], 0
call fcn.005de490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5f7f34
xor eax, eax
cmp ax, 0x303
jb 0x5f7f2e
mov ebx, dword [esp + 0x58]
movzx ebp, word [ebx + 0x20]
cmp bp, ax
jae 0x5f7f21
cmp bp, 0x303
jne 0x5f7ecb
mov ecx, dword [esp + 0x24]
cmp ecx, 0x18
jb 0x5f8009
mov edx, dword [esp + 0x34]
lea eax, [edx - 0x18]
neg eax
sar eax, 0x1f
and eax, 0x18
mov ebp, dword [esp + 0x5c]
add eax, ebp
lea esi, [ecx - 0x18]
cmp esi, 8
jle 0x5f7ec4
mov ecx, 8
lea esi, str.DOWNGRD
cmp esi, eax
je 0x5f7970
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.004579b0
mov edx, dword [esp + 0x34]
cmp edx, 0x18
jb 0x5f7ff5
mov eax, 0x18
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x5f7eb3
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.00496020
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5f7e86
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 0x98]
test ebx, ebx
jne 0x5f7e42
mov ebx, dword [ecx + 8]
movzx edx, byte [edx + 0x90]
mov byte [ebx + 0x3a], dl
mov edx, dword [ecx + 8]
mov byte [edx + 0x2a], 0
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x44]
mov edx, dword [edx + 0x48]
test edx, edx
jle 0x5f7e39
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x64], edx
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x5f7e2c
mov dword [ebx + 0x60], eax
mov edx, dword [ecx + 4]
mov ebp, dword [edx + 0xa0]
mov esi, dword [edx + 0xa4]
mov eax, ebp
mov ebp, dword [edx + 0xa8]
test esi, esi
jg 0x5f7d94
movzx edx, byte [edx + 0x40]
test dl, dl
je 0x5f7d8d
mov edx, dword [ebx + 0x24]
mov edx, dword [edx + 0x34]
test edx, edx
jle 0x5f7d8d
mov edx, dword [ecx + 8]
mov byte [edx + 0x2b], 1
mov edx, dword [ecx + 8]
mov ebp, dword [ebx + 0x24]
mov esi, dword [ebp + 0x38]
mov eax, ebx
mov ebx, dword [ebp + 0x34]
mov ebp, dword [ebp + 0x30]
mov dword [edx + 0x30], ebx
mov dword [edx + 0x34], esi
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x5f7d7a
mov dword [edx + 0x2c], ebp
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005fb4b0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005dea30
mov eax, dword [esp + 8]
mov ecx, dword [0xdd7ec0]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x5f7d69
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x58], eax
test edx, edx
jne 0x5f7d3c
mov edx, dword [ecx + 4]
movzx edx, byte [edx + 0xac]
test dl, dl
je 0x5f7b00
mov edx, dword [ecx + 8]
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [edx + 0x54], ebp
mov dword [edx + 0x58], ebx
mov ebx, dword [0xdd7ec0]
test ebx, ebx
jne 0x5f7d2f
mov dword [edx + 0x50], eax
mov eax, dword [ecx + 0x58]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
lea ebx, [0x90c4c0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00408bb0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
jne 0x5f7c34
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
lea ebx, [0x90c460]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00408bb0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
jne 0x5f7b7c
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x70
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5f7bb1
cmp dword [eax + 8], 0xcc456746
jne 0x5f7bb1
lea ecx, [0x8f9d20]
cmp eax, ecx
jne 0x5f7bb1
mov eax, dword [esp + 0x74]
mov byte [eax + 0x12], 1
jmp 0x5f7b68
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e2e30
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x99efa4]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c6610
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], edx
mov eax, dword [edx + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5f7cac
mov ecx, dword [eax + 8]
cmp ecx, 0x188a5798
jne 0x5f7c6e
lea edx, [0x8ed4a0]
cmp edx, eax
jne 0x5f7c6e
mov eax, dword [esp + 0x74]
mov byte [eax + 0x11], 1
jmp 0x5f7b34
cmp ecx, 0x2fd00e80
jne 0x5f7c8d
lea edx, [0x9491e0]
cmp edx, eax
jne 0x5f7c8d
mov eax, dword [esp + 0x74]
mov byte [eax + 0x11], 1
jmp 0x5f7b34
cmp ecx, 0xcc456746
jne 0x5f7cac
lea ecx, [0x8f9d20]
cmp ecx, eax
jne 0x5f7cac
mov eax, dword [esp + 0x74]
mov byte [eax + 0x13], 1
jmp 0x5f7b34
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e2e30
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x99d33c]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c6610
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
lea edi, [edx + 0x50]
call fcn.00456fe0
jmp 0x5f7b00
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e2e30
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
lea edi, [ecx + 0x58]
call fcn.00456fe0
jmp 0x5f7ac7
lea edi, [edx + 0x2c]
mov edx, eax
mov eax, ebp
call fcn.00456fe0
mov eax, edx
jmp 0x5f7a80
mov eax, ebx
jmp 0x5f7a80
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx + 0x38]
mov edi, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005eb7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x20]
test dl, dl
je 0x5f7dda
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
jmp 0x5f7a80
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 8]
mov dword [ebx + 0x4c], eax
mov ebp, dword [0xdd7ec0]
test ebp, ebp
jne 0x5f7e1c
mov dword [ebx + 0x48], ecx
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0xa8], eax
mov ebp, dword [0xdd7ec0]
test ebp, ebp
jne 0x5f7e0d
mov dword [ebx + 0xa4], ecx
jmp 0x5f7dcd
lea edi, [ebx + 0xa4]
mov eax, ecx
call fcn.00456fe0
jmp 0x5f7dcd
lea edi, [ebx + 0x48]
mov ebx, eax
mov eax, ecx
call fcn.00456fe0
mov eax, ebx
jmp 0x5f7df1
lea edi, [ebx + 0x60]
call fcn.00456fe0
jmp 0x5f7a18
mov ebx, dword [esp + 0x58]
jmp 0x5f7a18
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005e2e30
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x9a7914]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e2e30
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
mov ebp, dword [0xdc1bcc]
mov ebx, dword [0xdc1bc8]
jmp 0x5f7996
mov ecx, esi
jmp 0x5f7956
mov ecx, dword [esp + 0x24]
cmp ecx, 0x18
jb 0x5f7fff
mov edx, dword [esp + 0x34]
lea eax, [edx - 0x18]
neg eax
sar eax, 0x1f
and eax, 0x18
mov ebp, dword [esp + 0x5c]
add eax, ebp
lea esi, [ecx - 0x18]
cmp esi, 8
jle 0x5f7f1d
mov ecx, 8
lea esi, [0x985969]
cmp esi, eax
je 0x5f7970
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.004579b0
jmp 0x5f7970
mov ecx, esi
jmp 0x5f7efa
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
jmp 0x5f7982
mov ebx, dword [esp + 0x58]
jmp 0x5f7f21
movzx eax, word [ecx]
jmp 0x5f78fd
lea edi, [ecx + 0x10]
mov ecx, eax
mov eax, edx
call fcn.00456fe0
mov eax, ecx
jmp 0x5f78bf
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005e2e30
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x9a51f3]
mov dword [eax], ecx
lea ecx, [0xa4d860]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
xor ecx, ecx
jmp 0x5f784e
lea eax, [edx + 1]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
cmp edx, esi
jge 0x5f7fce
movzx eax, word [edi + edx*2]
mov word [esp + 0x3c], ax
xor eax, eax
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x3c]
jmp 0x5f780e
xor eax, eax
jmp 0x5f7828
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x5f77dd
mov edx, dword [esp + 0x74]
lea edi, [edx + 8]
mov eax, ecx
call fcn.00456fe0
mov eax, edx
jmp 0x5f77aa
mov ecx, 0x18
call fcn.004570a0
mov eax, 0x18
call fcn.004570c0
mov eax, 0x18
call fcn.004570c0
nop
call fcn.004557a0
jmp fcn.005f7760