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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x5f1d4b
sub esp, 0xc4
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x38]
nop
cmp ebp, 2
jge 0x5f10af
xor esi, esi
xor eax, eax
jmp 0x5f10da
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffffe
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, esi
add ebp, 0xfffffffe
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov eax, 2
test esi, esi
je 0x5f114b
test eax, eax
jbe 0x5f1d41
cmp eax, 1
jbe 0x5f1d35
lea ecx, [ebx - 2]
movzx ebx, word [esi]
rol bx, 8
cmp bx, cx
jne 0x5f1109
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x5f118d
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x5f17c4
mov dword [esp + 0xb0], ecx
lea edi, [esp + 0x58]
mov ebx, eax
xor eax, eax
call fcn.00471abe
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x38]
nop
cmp ecx, 2
jge 0x5f11d5
xor ebp, ebp
xor eax, eax
jmp 0x5f1204
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
add esi, 0xfffffffe
mov eax, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
add esi, ebp
add ecx, 0xfffffffe
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], esi
mov eax, 2
test ebp, ebp
je 0x5f1782
test eax, eax
jbe 0x5f1d2c
cmp eax, 1
jbe 0x5f1d20
movzx ebp, word [ebp]
rol bp, 8
mov word [esp + 0x64], bp
mov ebp, dword [esp + 0x38]
nop
cmp ebp, 2
jge 0x5f123a
xor esi, esi
xor eax, eax
jmp 0x5f1265
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffffe
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, esi
add ebp, 0xfffffffe
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov eax, 2
test esi, esi
je 0x5f1740
test eax, eax
jbe 0x5f1d17
cmp eax, 1
jbe 0x5f1d0b
movzx ebp, word [esi]
rol bp, 8
mov word [esp + 0x66], bp
movzx esi, bp
add esi, 4
mov eax, ebx
lea ebx, [esp + 0x58]
cmp dword [ebx + 4], esi
jl 0x5f16fe
mov ebx, dword [esp + 0x60]
add ebp, 4
movzx ecx, bp
cmp ebx, ecx
jb 0x5f1d04
mov dword [esp + 0x5c], ecx
cmp word [esp + 0x64], 0xfe0d
je 0x5f12ff
movzx ecx, word [esp + 0x66]
mov ebx, dword [esp + 0x38]
nop
cmp ebx, ecx
jl 0x5f12f3
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
sub esi, ecx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ecx
add ebp, esi
sub ebx, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], ebp
mov ecx, dword [esp + 0xb0]
jmp 0x5f118d
mov ebx, dword [esp + 0x38]
nop
test ebx, ebx
jne 0x5f130e
xor ebp, ebp
xor ecx, ecx
jmp 0x5f1339
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
dec esi
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, ebp
dec ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], esi
mov ecx, 1
test ebp, ebp
je 0x5f16bc
test ecx, ecx
jbe 0x5f1cfb
movzx ebx, byte [ebp]
mov byte [esp + 0x68], bl
mov ebx, dword [esp + 0x38]
nop
cmp ebx, 2
jge 0x5f1361
xor ebp, ebp
xor ecx, ecx
jmp 0x5f1390
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
add esi, 0xfffffffe
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
add esi, ebp
add ebx, 0xfffffffe
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], esi
mov ecx, 2
test ebp, ebp
je 0x5f167a
test ecx, ecx
jbe 0x5f1cf2
cmp ecx, 1
jbe 0x5f1ce6
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
movzx eax, word [ebp]
rol ax, 8
mov word [esp + 0x6a], ax
lea eax, [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.005a6b10
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f1638
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea eax, [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
call fcn.005a6b10
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f1802
jmp 0x5f15f6
mov edx, dword [esp + 0x38]
nop
test edx, edx
jne 0x5f1448
xor ebx, ebx
xor eax, eax
jmp 0x5f1473
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
dec ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, ebx
dec edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebp
mov eax, 1
test ebx, ebx
je 0x5f1a5f
test eax, eax
jbe 0x5f1cb3
movzx eax, byte [ebx]
mov byte [esp + 0x84], al
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 1
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call fcn.005a6b10
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f1a1d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.005a6b10
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f1aa5
jmp 0x5f19db
mov ecx, dword [esp + 0x24]
inc ecx
mov ebx, dword [esp + 0x30]
cmp ebx, ecx
jb 0x5f154f
mov eax, ecx
mov ecx, dword [esp + 0xb0]
mov edx, ebx
jmp 0x5f1584
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x7087e0]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xb0], ecx
mov ebx, dword [0x93f150]
lea ebp, [eax + eax*8]
lea edi, [ecx + ebp*8 - 0x48]
test ebx, ebx
je 0x5f15db
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0xc0], edi
lea eax, [0x7087e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0040eb20
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0xc0]
lea esi, [esp + 0x58]
call fcn.00471f2c
mov ecx, dword [esp + 0xb0]
mov ebx, eax
mov eax, edx
mov edx, ebx
jmp 0x5f118d
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xc4
ret
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0x20]
mov dword [ebp + ebx*4 - 4], edx
mov edx, dword [esp + 0xb8]
test edx, edx
je 0x5f1439
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0xb8]
nop
cmp edx, 2
jge 0x5f182c
xor ebx, ebx
xor eax, eax
jmp 0x5f186a
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xbc]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb4], ebp
mov eax, 2
test ebx, ebx
je 0x5f1999
test eax, eax
jbe 0x5f1cdd
cmp eax, 1
jbe 0x5f1cd1
movzx edx, word [ebx]
rol dx, 8
mov word [esp + 0x20], dx
mov edx, dword [esp + 0xb8]
nop
cmp edx, 2
jge 0x5f18a2
xor ebx, ebx
xor eax, eax
jmp 0x5f18e0
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xbc]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb4], ebp
mov eax, 2
test ebx, ebx
je 0x5f1957
test eax, eax
jbe 0x5f1cc8
cmp eax, 1
jbe 0x5f1cbc
movzx edx, word [ebx]
rol dx, 8
mov word [esp + 0x22], dx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
inc ebx
mov ebp, dword [esp + 0x78]
cmp edx, ebx
jae 0x5f17f6
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6ee740]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ebp
jmp 0x5f17f6
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov dword [eax + ebp + 4], esi
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x5f1535
mov word [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x50]
nop
cmp edx, 2
jge 0x5f1aec
xor ebx, ebx
xor eax, eax
jmp 0x5f1b1b
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], ebp
mov eax, 2
test ebx, ebx
je 0x5f1c5c
test eax, eax
jbe 0x5f1caa
cmp eax, 1
jbe 0x5f1c9e
movzx eax, word [ebx]
rol ax, 8
mov word [esp + 0xa0], ax
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.005a6b10
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f1c1a
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
inc ebp
mov eax, dword [esp + 0x94]
cmp ebx, ebp
jae 0x5f1bc5
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6ee7a0]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebp
movzx ebx, word [esp + 0xa0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
dec ebp
shl ebp, 4
mov esi, dword [esp + 0xa4]
mov word [eax + ebp], bx
mov dword [eax + ebp + 8], ecx
mov dword [eax + ebp + 0xc], edx
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x5f1aa1
call fcn.00471840
mov dword [edi], esi
mov ebx, dword [eax + ebp + 4]
mov dword [edi + 4], ebx
jmp 0x5f1aa1
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, dword [0x913a38]
mov ecx, dword [0x913a3c]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
add esp, 0xc4
ret
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov edx, ebx
call fcn.004718f0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.005f1060