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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x5b8fc1
sub esp, 0x128
lea eax, [0x619440]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0xe8], eax
lea ecx, [0x619980]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5b80ad
nop
movzx ebp, byte [0x825e48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b8073
mov dword [0x825e4c], edx
mov ebp, dword [0x84c5a0]
test ebp, ebp
jne 0x5b8062
mov dword [0x825e50], ebx
jmp 0x5b8073
lea edi, [0x825e50]
mov ebp, eax
mov eax, ebx
call fcn.0045e940
mov eax, ebp
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebx
mov edx, dword [esp + 0xf0]
test edx, edx
je 0x5b80a5
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5b80b3
or ebp, 0x80
jmp 0x5b80b3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5b80b3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], edx
mov dword [esp + 0x28], ebp
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0x22
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x68], eax
cmp eax, 9
ja 0x5b8118
cmp eax, 7
jne 0x5b80fc
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b813c
cmp eax, 8
jne 0x5b8108
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5b813c
cmp eax, 9
jne 0x5b8f86
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5b813c
cmp eax, 0xa
jne 0x5b8123
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b813c
cmp eax, 0xb
jne 0x5b812f
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5b813c
cmp eax, 0xc
jne 0x5b8f86
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0xcc]
mov dword [esp], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x23
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x68], eax
cmp eax, 9
ja 0x5b81a9
cmp eax, 7
jne 0x5b818d
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b81cd
cmp eax, 8
jne 0x5b8199
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5b81cd
cmp eax, 9
jne 0x5b8f4c
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5b81cd
cmp eax, 0xa
jne 0x5b81b4
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b81cd
cmp eax, 0xb
jne 0x5b81c0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5b81cd
cmp eax, 0xc
jne 0x5b8f4c
mov eax, dword [ecx]
xor ecx, ecx
mov edx, dword [esp + 0x2c]
test edx, edx
sete bl
mov ebp, dword [esp + 0x30]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5b81fb
test eax, eax
sete al
test ecx, ecx
sete cl
and ecx, eax
test cl, cl
je 0x5b820d
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
lea ecx, [0x63d8e8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.005b0820
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5b839d
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 4], eax
call fcn.005b0530
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00408d40
mov eax, dword [esp + 8]
lea ecx, [0x619980]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
lea edx, [0x5fd3e0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b838b
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [esp + 0xe8]
mov dword [ebp], edx
mov dword [ebp + 4], ebx
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
add edx, ebx
mov ebx, dword [ecx]
cmp ebx, 1
jne 0x5b8316
xor eax, eax
jmp 0x5b83ca
cmp ebx, 2
jne 0x5b83af
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea eax, [0x60c800]
mov dword [esp + 0xf8], eax
lea eax, [0x6a47c4]
mov dword [esp + 0xfc], eax
mov eax, dword [0x825000]
lea ecx, [0x6a4e10]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd890
mov ebp, dword [esp + 0xe8]
jmp 0x5b83af
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov dword [esp + 0x130], ebp
add esp, 0x128
ret
mov ecx, dword [esp + 0xdc]
mov eax, ebx
mov edx, dword [esp + 0x3c]
cmp dword [ecx + 4], eax
jbe 0x5b83af
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea edi, [esp + 0x100]
xor eax, eax
call fcn.0045ebbb
mov ecx, dword [esp + 0x12c]
movzx esi, byte [ecx + 0x294]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b84f5
lea eax, [0x6198c0]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0xe4], eax
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.00408d40
mov eax, dword [esp + 8]
lea ecx, [0x6198c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
lea edx, [0x5fd360]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b870b
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00408d40
mov eax, dword [esp + 8]
lea ecx, [0x6198c0]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [esp + 0x64]
jmp 0x5b860a
lea eax, [0x619920]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0xe0], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], 0
lea ecx, [0x619920]
mov dword [esp], ecx
lea edx, [esp + 0xc0]
mov dword [esp + 4], edx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x619920]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
lea edx, [0x5fd3a0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b871d
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
lea ecx, [0x619920]
mov dword [esp], ecx
lea edx, [esp + 0xc0]
mov dword [esp + 4], edx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x619920]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xe0]
mov edx, dword [eax + 8]
mov eax, dword [eax]
lea ecx, [0x6198c0]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x23], al
mov dword [esp + 0x4c], edx
mov ebp, dword [esp + 0x3c]
add ebp, ebx
mov ecx, dword [esp + 0x38]
add ecx, ebx
mov dword [esp + 0x38], ecx
xor esi, esi
jmp 0x5b8743
mov edx, dword [esp + 0xe8]
mov ebx, dword [edx + 0xc]
mov eax, ebp
lea ebp, [ebx + 1]
mov esi, ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0x10]
cmp edx, ebp
jae 0x5b86a3
lea eax, [0x619e60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe8]
mov dword [ebx + 0x10], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b868b
mov dword [ebx + 8], eax
jmp 0x5b8693
lea edi, [ebx + 8]
call fcn.0045e940
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov ebp, dword [esp + 0xe8]
mov dword [ebp + 0xc], edx
mov edx, dword [0x84c5a0]
lea ebx, [ebx + ebx*4]
lea ecx, [ecx + ebx*4]
lea ebx, [esi + edi]
test edx, edx
jne 0x5b86d6
mov edi, ecx
lea esi, [esp + 0x100]
call fcn.0045f09e
jmp 0x5b83bd
mov dword [esp + 0x60], ebx
lea eax, [0x619e60]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x100]
mov dword [esp + 8], eax
call fcn.00410410
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0xe8]
jmp 0x5b83bd
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebp
mov edi, edx
sub edx, ebx
cmp esi, edx
ja 0x5b862d
mov dword [esp + 0x48], esi
lea edi, [esp + 0x114]
xor eax, eax
call fcn.0045ebbb
lea ecx, [0x619800]
mov dword [esp], ecx
call fcn.0040b380
mov ecx, dword [esp + 4]
mov dword [esp + 0xec], ecx
mov edx, dword [ecx]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.00408d40
mov ecx, dword [esp + 8]
lea edx, [0x619800]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004b3990
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
lea ebx, [0x5fd0e0]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.005b1250
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5b8945
mov edx, dword [esp + 0xec]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebp
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x64]
add ebx, ebp
mov eax, ebp
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
cmp al, 3
xchg ebp, eax
jne 0x5b8843
mov ecx, dword [esp + 0x12c]
xor esi, esi
jmp 0x5b8dab
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x5b8858
mov ecx, dword [esp + 0x12c]
xor esi, esi
jmp 0x5b8b58
xchg ebp, eax
cmp al, 5
xchg ebp, eax
jne 0x5b886d
mov ecx, dword [esp + 0x12c]
xor esi, esi
jmp 0x5b8964
mov dword [esp + 0x3c], ebx
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x48]
add ecx, edx
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10c]
mov eax, ebp
lea ebp, [edx + 1]
mov esi, ecx
mov ecx, dword [esp + 0x108]
mov edi, ebx
mov ebx, dword [esp + 0x110]
cmp ebx, ebp
jae 0x5b88e5
lea eax, [0x619e00]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00447e40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x108], ecx
movzx eax, byte [esp + 0x23]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
lea ebx, [edx + 1]
mov dword [esp + 0x10c], ebx
mov ebx, dword [0x84c5a0]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
test ebx, ebx
jne 0x5b8916
mov edx, edi
mov edi, ecx
mov ebx, esi
lea esi, [esp + 0x114]
call fcn.0045f09e
jmp 0x5b872f
lea eax, [0x619e00]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x114]
mov dword [esp + 8], eax
call fcn.00410410
movzx eax, byte [esp + 0x23]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x5b872f
mov dword [esp + 0x130], 0
add esp, 0x128
ret
add ebx, 2
inc esi
mov edx, dword [esp + 0xec]
mov ebp, edi
mov edi, ebp
mov ebp, dword [edx + 4]
sub ebp, eax
shr ebp, 1
cmp esi, ebp
jae 0x5b8b17
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffe
cmp ebx, ebp
jbe 0x5b899f
mov ebp, dword [0x8256f8]
mov dword [esp + 0x90], eax
xor eax, eax
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x90]
jmp 0x5b89f1
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0xd8], edx
mov edx, dword [ecx + 0x290]
cmp ebx, ebp
ja 0x5b8b2a
sub ebp, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp ebp, 1
jbe 0x5b8b1e
mov ebp, ebx
mov ebx, dword [esp + 0xd8]
movzx edx, word [edx + ebx]
mov ebx, ebp
mov word [esp + 0x24], dx
xor ebp, ebp
mov edx, dword [esp + 0xec]
test ebp, ebp
jne 0x5b8b05
mov dword [esp + 0x44], esi
mov dword [esp + 0x5c], ebx
movzx ebp, word [esp + 0x24]
and ebp, 0xfff
mov word [esp + 0x50], bp
movzx edx, word [esp + 0x24]
and edx, 0xfffff000
shr dx, 0xc
mov word [esp + 0x52], dx
test bp, bp
jne 0x5b8a34
test dx, dx
jne 0x5b8a34
jmp 0x5b8957
mov word [esp + 0x50], bp
mov word [esp + 0x52], dx
lea eax, [0x619a40]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x124]
lea ebx, [eax + 1]
mov ebp, dword [esp + 8]
cmp edx, ebx
jae 0x5b8aba
mov dword [esp + 0xd4], ebp
lea ebp, [0x60c180]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x124], edx
mov dword [esp + 0x11c], ecx
mov ebp, dword [esp + 0xd4]
lea edx, [eax + 1]
mov dword [esp + 0x120], edx
lea edx, [ecx + eax*8]
lea ebx, [0x619a40]
mov dword [edx], ebx
mov edx, dword [0x84c5a0]
lea edi, [ecx + eax*8 + 4]
test edx, edx
jne 0x5b8ae1
mov dword [edi], ebp
jmp 0x5b8ae8
mov eax, ebp
call fcn.0045e940
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
movzx edi, byte [esp + 0x23]
jmp 0x5b8957
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov ebp, edi
jmp 0x5b886d
mov eax, 1
mov ecx, ebp
call fcn.0045e9c0
mov eax, ebx
mov ecx, ebp
call fcn.0045ea30
mov eax, dword [esp + 0x44]
lea esi, [eax + 1]
mov eax, dword [esp + 0x58]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0x12c]
movzx ebp, byte [esp + 0x23]
mov edi, ebp
mov ebp, dword [edx + 4]
sub ebp, eax
shr ebp, 1
cmp esi, ebp
jae 0x5b8d62
mov dword [esp + 0x6e], 0
mov word [esp + 0x72], 0
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffe
cmp ebx, ebp
jbe 0x5b8ba2
mov ebp, dword [0x8256f8]
mov dword [esp + 0x88], eax
xor eax, eax
mov word [esp + 0x26], ax
mov eax, dword [esp + 0x88]
jmp 0x5b8be7
mov ebp, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov edx, dword [ecx + 0x290]
cmp ebx, ebp
ja 0x5b8d75
sub ebp, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp ebp, 1
jbe 0x5b8d69
movzx edx, word [edx + edi]
movzx edi, byte [esp + 0x23]
mov word [esp + 0x26], dx
xor ebp, ebp
mov edx, dword [esp + 0xec]
test ebp, ebp
jne 0x5b8d50
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], ebx
movzx eax, word [esp + 0x26]
mov ecx, eax
and eax, 0xfff
mov word [esp + 0x6e], ax
mov eax, ecx
and ecx, 0x1000
shr cx, 0xc
mov byte [esp + 0x70], cl
mov ecx, eax
and eax, 0x2000
shr ax, 0xd
mov byte [esp + 0x71], al
mov eax, ecx
and ecx, 0x4000
shr cx, 0xe
mov byte [esp + 0x72], cl
and eax, 0xffff8000
shr ax, 0xf
mov byte [esp + 0x73], al
mov dword [esp + 0x7a], 0
mov word [esp + 0x7e], 0
mov eax, dword [esp + 0x6e]
movzx ecx, word [esp + 0x72]
mov dword [esp + 0x74], eax
mov word [esp + 0x78], cx
lea eax, [esp + 0x7a]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.004025e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b8c8f
jmp 0x5b8b33
mov eax, dword [esp + 0x6e]
movzx ecx, word [esp + 0x72]
mov dword [esp + 0x74], eax
mov word [esp + 0x78], cx
lea eax, [0x627340]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x124]
lea ebx, [eax + 1]
mov ebp, dword [esp + 8]
cmp edx, ebx
jae 0x5b8d1d
mov dword [esp + 0xd4], ebp
lea ebp, [0x60c180]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x124], edx
mov dword [esp + 0x11c], ecx
mov ebp, dword [esp + 0xd4]
lea edx, [eax + 1]
mov dword [esp + 0x120], edx
lea edx, [ecx + eax*8]
lea ebx, [0x627340]
mov dword [edx], ebx
mov edx, dword [0x84c5a0]
lea edi, [ecx + eax*8 + 4]
test edx, edx
jne 0x5b8d44
mov dword [edi], ebp
jmp 0x5b8d4b
mov eax, ebp
call fcn.0045e940
jmp 0x5b8b33
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov ebp, edi
jmp 0x5b886d
mov eax, 1
mov ecx, ebp
call fcn.0045e9c0
mov eax, ebx
mov ecx, ebp
call fcn.0045ea30
mov eax, dword [esp + 0x54]
add eax, 4
mov ecx, dword [esp + 0x44]
lea esi, [ecx + 1]
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x12c]
mov ecx, ebp
movzx ebp, byte [esp + 0x23]
mov ebx, eax
mov eax, dword [esp + 0x64]
mov edi, ebp
mov ebp, dword [edx + 4]
sub ebp, eax
shr ebp, 2
cmp esi, ebp
jae 0x5b8f30
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffc
cmp ebx, ebp
jbe 0x5b8de6
mov ebp, dword [0x8256f8]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
jmp 0x5b8e29
mov ebp, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov edx, dword [ecx + 0x290]
cmp ebx, ebp
ja 0x5b8f43
sub ebp, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp ebp, 3
jbe 0x5b8f37
mov edx, dword [edi + edx]
movzx edi, byte [esp + 0x23]
mov dword [esp + 0x34], edx
xor ebp, ebp
mov edx, dword [esp + 0xec]
test ebp, ebp
jne 0x5b8f1e
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x34]
mov ecx, eax
and eax, 0xfff
mov word [esp + 0x98], ax
mov eax, ecx
and ecx, 0x1000
shr cx, 0xc
mov word [esp + 0x9a], cx
and eax, 0xffffe000
shr eax, 0xd
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00408d40
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x124]
lea ebx, [eax + 1]
mov ebp, dword [esp + 8]
cmp edx, ebx
jae 0x5b8ee8
mov dword [esp + 0xd4], ebp
lea ebp, [0x60c180]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x124], edx
mov dword [esp + 0x11c], ecx
mov ebp, dword [esp + 0xd4]
lea edx, [eax + 1]
mov dword [esp + 0x120], edx
lea edx, [ecx + eax*8]
lea ebx, [0x620f80]
mov dword [edx], ebx
mov edx, dword [0x84c5a0]
lea edi, [ecx + eax*8 + 4]
test edx, edx
jne 0x5b8f12
mov dword [edi], ebp
jmp 0x5b8d7e
mov eax, ebp
call fcn.0045e940
jmp 0x5b8d7e
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov ebp, edi
jmp 0x5b886d
mov eax, 3
mov ecx, ebp
call fcn.0045e9c0
mov eax, ebx
mov ecx, ebp
call fcn.0045ea30
lea eax, [0x61ad60]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x646e69]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
lea ecx, [0x612b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433c20
lea eax, [0x61ad60]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x646e69]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
lea ecx, [0x612b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433c20
nop
call fcn.0045d530
jmp fcn.005b7fd0