Function at 0x5b01c0
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 0x5b11b1
sub esp, 0x128
lea eax, [0x5ef8e0]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0xe8], eax
lea ecx, [0x5efe20]
mov dword [esp], ecx
call fcn.0040b6c0
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 0x5b029d
nop
movzx ebp, byte [0x7bb648]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b0263
mov dword [0x7bb64c], edx
mov ebp, dword [0x7e1c20]
test ebp, ebp
jne 0x5b0252
mov dword [0x7bb650], ebx
jmp 0x5b0263
lea edi, [0x7bb650]
mov ebp, eax
mov eax, ebx
call fcn.004610d0
mov eax, ebp
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebx
mov edx, dword [esp + 0xf0]
test edx, edx
je 0x5b0295
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5b02a3
or ebp, 0x80
jmp 0x5b02a3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5b02a3
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.004ae8a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x68], eax
cmp eax, 9
ja 0x5b0308
cmp eax, 7
jne 0x5b02ec
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b032c
cmp eax, 8
jne 0x5b02f8
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5b032c
cmp eax, 9
jne 0x5b1176
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5b032c
cmp eax, 0xa
jne 0x5b0313
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b032c
cmp eax, 0xb
jne 0x5b031f
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5b032c
cmp eax, 0xc
jne 0x5b1176
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.004ae8a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x68], eax
cmp eax, 9
ja 0x5b0399
cmp eax, 7
jne 0x5b037d
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b03bd
cmp eax, 8
jne 0x5b0389
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5b03bd
cmp eax, 9
jne 0x5b113c
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5b03bd
cmp eax, 0xa
jne 0x5b03a4
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b03bd
cmp eax, 0xb
jne 0x5b03b0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5b03bd
cmp eax, 0xc
jne 0x5b113c
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 0x5b03eb
test eax, eax
sete al
test ecx, ecx
sete cl
and ecx, eax
test cl, cl
je 0x5b03fd
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
lea ecx, [0x60c6f5]
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.005a8a10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5b058d
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.005a8720
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.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x5efe20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
lea edx, [0x5d6d20]
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.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b057b
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 0x5b0506
xor eax, eax
jmp 0x5b05ba
cmp ebx, 2
jne 0x5b059f
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea eax, [0x5e4740]
mov dword [esp + 0xf8], eax
lea eax, [0x667c6c]
mov dword [esp + 0xfc], eax
mov eax, dword [0x7bab50]
lea ecx, [0x6683c4]
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.004bd820
mov ebp, dword [esp + 0xe8]
jmp 0x5b059f
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 0x5b059f
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea edi, [esp + 0x100]
xor eax, eax
call fcn.0046134b
mov ecx, dword [esp + 0x12c]
movzx esi, byte [ecx + 0x294]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b06e5
lea eax, [0x5efd60]
mov dword [esp], eax
call fcn.0040b6c0
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.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x5efd60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
lea edx, [0x5d6ca0]
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.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b08fb
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.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x5efd60]
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 0x5b07fa
lea eax, [0x5efdc0]
mov dword [esp], eax
call fcn.0040b6c0
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, [0x5efdc0]
mov dword [esp], ecx
lea edx, [esp + 0xc0]
mov dword [esp + 4], edx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x5efdc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
lea edx, [0x5d6ce0]
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.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b090d
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, [0x5efdc0]
mov dword [esp], ecx
lea edx, [esp + 0xc0]
mov dword [esp + 4], edx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x5efdc0]
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, [0x5efd60]
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 0x5b0933
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 0x5b0893
lea eax, [0x5f0300]
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.0044a7d0
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 [0x7e1c20]
test edx, edx
jne 0x5b087b
mov dword [ebx + 8], eax
jmp 0x5b0883
lea edi, [ebx + 8]
call fcn.004610d0
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 [0x7e1c20]
lea ebx, [ebx + ebx*4]
lea ecx, [ecx + ebx*4]
lea ebx, [esi + edi]
test edx, edx
jne 0x5b08c6
mov edi, ecx
lea esi, [esp + 0x100]
call fcn.0046182e
jmp 0x5b05ad
mov dword [esp + 0x60], ebx
lea eax, [0x5f0300]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x100]
mov dword [esp + 8], eax
call fcn.004100e0
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0xe8]
jmp 0x5b05ad
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 0x5b081d
mov dword [esp + 0x48], esi
lea edi, [esp + 0x114]
xor eax, eax
call fcn.0046134b
lea ecx, [0x5efca0]
mov dword [esp], ecx
call fcn.0040b6c0
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.004090a0
mov ecx, dword [esp + 8]
lea edx, [0x5efca0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004b3850
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
lea ebx, [0x5d6a20]
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.005a9440
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5b0b35
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 0x5b0a33
mov ecx, dword [esp + 0x12c]
xor esi, esi
jmp 0x5b0f9b
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x5b0a48
mov ecx, dword [esp + 0x12c]
xor esi, esi
jmp 0x5b0d48
xchg ebp, eax
cmp al, 5
xchg ebp, eax
jne 0x5b0a5d
mov ecx, dword [esp + 0x12c]
xor esi, esi
jmp 0x5b0b54
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 0x5b0ad5
lea eax, [0x5f02a0]
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.0044a7d0
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 [0x7e1c20]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
test ebx, ebx
jne 0x5b0b06
mov edx, edi
mov edi, ecx
mov ebx, esi
lea esi, [esp + 0x114]
call fcn.0046182e
jmp 0x5b091f
lea eax, [0x5f02a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x114]
mov dword [esp + 8], eax
call fcn.004100e0
movzx eax, byte [esp + 0x23]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x5b091f
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 0x5b0d07
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffe
cmp ebx, ebp
jbe 0x5b0b8f
mov ebp, dword [0x7bb130]
mov dword [esp + 0x90], eax
xor eax, eax
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x90]
jmp 0x5b0be1
mov ebp, dword [ecx + 0x28c]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0xd8], edx
mov edx, dword [ecx + 0x290]
cmp ebx, ebp
ja 0x5b0d1a
sub ebp, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp ebp, 1
jbe 0x5b0d0e
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 0x5b0cf5
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 0x5b0c24
test dx, dx
jne 0x5b0c24
jmp 0x5b0b47
mov word [esp + 0x50], bp
mov word [esp + 0x52], dx
lea eax, [0x5efee0]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00408f60
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 0x5b0caa
mov dword [esp + 0xd4], ebp
lea ebp, [0x5e4100]
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.0044a7d0
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, [0x5efee0]
mov dword [edx], ebx
mov edx, dword [0x7e1c20]
lea edi, [ecx + eax*8 + 4]
test edx, edx
jne 0x5b0cd1
mov dword [edi], ebp
jmp 0x5b0cd8
mov eax, ebp
call fcn.004610d0
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 0x5b0b47
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov ebp, edi
jmp 0x5b0a5d
mov eax, 1
mov ecx, ebp
call fcn.00461150
mov eax, ebx
mov ecx, ebp
call fcn.004611c0
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 0x5b0f52
mov dword [esp + 0x6e], 0
mov word [esp + 0x72], 0
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffe
cmp ebx, ebp
jbe 0x5b0d92
mov ebp, dword [0x7bb130]
mov dword [esp + 0x88], eax
xor eax, eax
mov word [esp + 0x26], ax
mov eax, dword [esp + 0x88]
jmp 0x5b0dd7
mov ebp, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov edx, dword [ecx + 0x290]
cmp ebx, ebp
ja 0x5b0f65
sub ebp, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp ebp, 1
jbe 0x5b0f59
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 0x5b0f40
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.00402990
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b0e7f
jmp 0x5b0d23
mov eax, dword [esp + 0x6e]
movzx ecx, word [esp + 0x72]
mov dword [esp + 0x74], eax
mov word [esp + 0x78], cx
lea eax, [0x5fb000]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408f60
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 0x5b0f0d
mov dword [esp + 0xd4], ebp
lea ebp, [0x5e4100]
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.0044a7d0
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, [0x5fb000]
mov dword [edx], ebx
mov edx, dword [0x7e1c20]
lea edi, [ecx + eax*8 + 4]
test edx, edx
jne 0x5b0f34
mov dword [edi], ebp
jmp 0x5b0f3b
mov eax, ebp
call fcn.004610d0
jmp 0x5b0d23
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov ebp, edi
jmp 0x5b0a5d
mov eax, 1
mov ecx, ebp
call fcn.00461150
mov eax, ebx
mov ecx, ebp
call fcn.004611c0
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 0x5b1120
mov ebp, dword [ecx + 0x2ac]
add ebp, 0xfffffffc
cmp ebx, ebp
jbe 0x5b0fd6
mov ebp, dword [0x7bb130]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
jmp 0x5b1019
mov ebp, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov edx, dword [ecx + 0x290]
cmp ebx, ebp
ja 0x5b1133
sub ebp, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp ebp, 3
jbe 0x5b1127
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 0x5b110e
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.004090a0
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 0x5b10d8
mov dword [esp + 0xd4], ebp
lea ebp, [0x5e4100]
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.0044a7d0
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, [0x5f5ca0]
mov dword [edx], ebx
mov edx, dword [0x7e1c20]
lea edi, [ecx + eax*8 + 4]
test edx, edx
jne 0x5b1102
mov dword [edi], ebp
jmp 0x5b0f6e
mov eax, ebp
call fcn.004610d0
jmp 0x5b0f6e
mov dword [esp + 0x130], 0
add esp, 0x128
ret
mov ebp, edi
jmp 0x5b0a5d
mov eax, 3
mov ecx, ebp
call fcn.00461150
mov eax, ebx
mov ecx, ebp
call fcn.004611c0
lea eax, [0x5f0f60]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6119f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
lea ecx, [0x5ea280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435ee0
lea eax, [0x5f0f60]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6119f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
lea ecx, [0x5ea280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435ee0
nop
call fcn.0045fcc0
jmp fcn.005b01c0