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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b6ed1
sub esp, 0x70
mov eax, 0
mov dword [esp + 0x6c], eax
mov byte [esp + 0x3b], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x8bbb20]
mov dword [esp], eax
call fcn.0046a5a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x67ebe0]
cmp ecx, edx
jne 0x5b6eb1
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x5b6ee0]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x3b], 1
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
xor ebx, ebx
jmp 0x5b6a72
mov ebp, dword [esp + 0x48]
sub ebp, eax
sub ecx, eax
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x50]
lea edx, [ebp + eax]
mov eax, ecx
mov ecx, esi
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x5b6cb4
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
movzx ecx, byte [esp + 0x78]
mov byte [esp + 4], cl
call fcn.005b6480
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jg 0x5b6aad
mov eax, ecx
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x5c]
cmp ebp, 5
jge 0x5b6af1
lea eax, [0x68e6c0]
mov dword [esp], eax
mov dword [esp + 4], 5
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
call fcn.0044b5e0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebp, 5
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 5
mov dword [esp + 0x5c], ebp
movzx ebp, byte [esp + 0x78]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0x74]
movzx esi, word [ebx + 0x24]
test si, si
jne 0x5b6b1e
mov esi, 0x301
jmp 0x5b6b2a
cmp si, 0x304
jne 0x5b6b2a
mov esi, 0x303
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
cmp edi, 1
jbe 0x5b6ea5
mov edi, esi
shr si, 8
xchg esi, eax
mov byte [ebp + 1], al
xchg esi, eax
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
cmp ebp, 2
jbe 0x5b6e99
xchg edi, eax
mov byte [esi + 2], al
xchg edi, eax
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
cmp ebp, 3
jbe 0x5b6e8d
mov ebp, eax
sar eax, 8
mov byte [esi + 3], al
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
cmp esi, 4
jbe 0x5b6e81
xchg ebp, eax
mov byte [edi + 4], al
xchg ebp, eax
mov eax, dword [esp + 0x48]
cmp ebp, eax
ja 0x5b6e78
mov esi, dword [ebx + 0x28]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test edi, edi
jne 0x5b6baf
mov edi, dword [0x8c0968]
mov esi, dword [0x8c096c]
mov dword [esp + 0x4c], esi
lea ecx, [ebx + 0x114]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
call fcn.005b26d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
test ebx, ebx
jne 0x5b6c8a
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005b66d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5b6c60
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
add ebx, eax
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jbe 0x5b6a51
jmp 0x5b6e73
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], esi
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
movzx ecx, byte [esp + 0x78]
cmp cl, 0x14
jne 0x5b6e29
mov ecx, dword [esp + 0x74]
cmp word [ecx + 0x24], 0x304
je 0x5b6e29
mov ebp, dword [ecx + 0x150]
mov eax, dword [ecx + 0x154]
test ebp, ebp
je 0x5b6dc5
cmp word [ecx + 0x124], 0x304
je 0x5b6dc5
mov dword [ecx + 0x128], ebp
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x5b6d0d
mov dword [ecx + 0x12c], eax
jmp 0x5b6d18
lea edi, [ecx + 0x12c]
call fcn.00463080
mov eax, dword [ecx + 0x15c]
mov edx, dword [ecx + 0x158]
mov dword [ecx + 0x130], edx
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x5b6d3c
mov dword [ecx + 0x134], eax
jmp 0x5b6d47
lea edi, [ecx + 0x134]
call fcn.00463080
mov dword [ecx + 0x150], 0
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x5b6d67
mov dword [ecx + 0x154], 0
jmp 0x5b6d74
lea edi, [ecx + 0x154]
xor eax, eax
call fcn.00463080
mov dword [ecx + 0x158], 0
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x5b6d94
mov dword [ecx + 0x15c], 0
jmp 0x5b6da1
lea edi, [ecx + 0x15c]
xor eax, eax
call fcn.00463080
lea eax, [ecx + 0x138]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00463840
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x3c]
xor edx, edx
xor eax, eax
jmp 0x5b6dda
mov eax, 0x50
lea ebp, [0x89c9a0]
lea eax, [ebp + eax*8]
lea edx, [0x7399b8]
test edx, edx
je 0x5b6e29
lea ebp, [0x7399b8]
cmp edx, ebp
jne 0x5b6e57
movzx eax, byte [eax]
mov dword [esp], ecx
mov byte [esp + 4], al
call fcn.005b61a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0x3b], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov dword [esp], edx
lea eax, [0x699100]
mov dword [esp + 4], eax
lea eax, [0x695e20]
mov dword [esp + 8], eax
call fcn.00408ed0
call fcn.00463160
mov ecx, ebp
mov edx, eax
call fcn.00463140
mov eax, 4
mov ecx, esi
call fcn.00463100
mov eax, 3
mov ecx, ebp
call fcn.00463100
mov eax, 2
mov ecx, ebp
call fcn.00463100
mov eax, 1
mov ecx, edi
call fcn.00463100
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x68dcc0]
mov dword [esp + 8], eax
call fcn.00408e30
nop
call fcn.004363f0
add esp, 0x70
ret
call fcn.00461c70
jmp fcn.005b6980