Function at 0x1002a180
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100754f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
call fcn.1002bb50
lea esi, [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.1002b230
mov edi, dword [esp + 0x30]
mov esi, ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x23], 0
call fcn.1002c240
test al, al
jne 0x1002a266
cmp byte [ebp + 4], al
jne 0x1002a242
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a237
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a226
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a226
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a22d
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp eax, 0xffffffff
je 0x1002a237
mov byte [ebp + 5], al
jmp 0x1002a23e
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x2b
mov esi, ebp
jne 0x1002a24f
mov byte [ebx], 0x2b
jmp 0x1002a25c
call fcn.1002b190
cmp al, 0x2d
jne 0x1002a266
mov byte [ebx], al
mov esi, ebp
inc ebx
mov dword [esp + 0x1c], ebx
call fcn.1002b1e0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], 0
mov eax, edx
cmp ecx, 0x10
jae 0x1002a288
lea eax, [esp + 0x5c]
cmp byte [eax], 0x7f
je 0x1002a524
mov eax, edx
cmp ecx, 0x10
jae 0x1002a29c
lea eax, [esp + 0x5c]
cmp byte [eax], 0
jle 0x1002a524
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov byte [esp + 0x2f], al
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
mov dword [esp + 0x50], 1
mov byte [esp + 0x41], 0
mov edi, dword [esp + 0x30]
mov esi, ebp
mov byte [esp + 0x80], 1
xor ebx, ebx
call fcn.1002c240
test al, al
jne 0x1002a480
cmp byte [ebp + 4], 0
jne 0x1002a32b
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a320
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a30f
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a30f
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a316
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp eax, 0xffffffff
je 0x1002a320
mov byte [ebp + 5], al
jmp 0x1002a327
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x30
jl 0x1002a3f7
cmp byte [ebp + 4], 0
jne 0x1002a375
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a36a
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a359
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a359
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a360
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp eax, 0xffffffff
je 0x1002a36a
mov byte [ebp + 5], al
jmp 0x1002a371
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x39
jg 0x1002a3f7
mov edi, dword [esp + 0x24]
cmp edi, 0x24
mov byte [esp + 0x1b], 1
jl 0x1002a38f
inc dword [esp + 0x28]
jmp 0x1002a3b5
mov esi, ebp
call fcn.1002b190
cmp al, 0x30
jne 0x1002a39e
test edi, edi
je 0x1002a3b5
mov esi, ebp
call fcn.1002b190
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
inc ecx
inc edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edi
cmp ebx, dword [esp + 0x50]
jbe 0x1002a3c0
call fcn.10055ff2
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp dword [esp + 0x54], esi
jae 0x1002a3d3
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0x7f
je 0x1002a43c
cmp ebx, dword [esp + 0x50]
jbe 0x1002a3e4
call fcn.10055ff2
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x1002a3f2
lea eax, [esp + 0x40]
inc byte [eax + ebx]
jmp 0x1002a43c
cmp ebx, dword [esp + 0x50]
jbe 0x1002a402
call fcn.10055ff2
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x1002a411
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
je 0x1002a454
cmp byte [esp + 0x2f], 0
je 0x1002a454
mov esi, ebp
call fcn.1002b190
cmp al, byte [esp + 0x2f]
jne 0x1002a454
push 0
mov eax, 1
lea edi, [esp + 0x40]
call fcn.100088c0
inc ebx
mov esi, ebp
call fcn.1002b1e0
mov edi, dword [esp + 0x30]
call fcn.1002c240
test al, al
je 0x1002a2eb
test ebx, ebx
je 0x1002a480
cmp ebx, dword [esp + 0x50]
jbe 0x1002a463
call fcn.10055ff2
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x1002a472
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
jle 0x1002a47b
inc ebx
jmp 0x1002a480
mov byte [esp + 0x23], 1
mov esi, dword [esp + 0x5c]
mov edi, 0x10
cmp dword [esp + 0x70], edi
jae 0x1002a493
lea esi, [esp + 0x5c]
cmp byte [esp + 0x23], 0
jne 0x1002a500
lea ebx, [ebx]
test ebx, ebx
jbe 0x1002a500
cmp byte [esi], 0x7f
je 0x1002a500
sub ebx, 1
je 0x1002a4ce
cmp ebx, dword [esp + 0x50]
jbe 0x1002a4b9
call fcn.10055ff2
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x1002a4c7
lea eax, [esp + 0x40]
mov cl, byte [esi]
cmp cl, byte [eax + ebx]
jne 0x1002a4fb
test ebx, ebx
jne 0x1002a4f2
cmp ebx, dword [esp + 0x50]
jbe 0x1002a4dd
call fcn.10055ff2
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x1002a4eb
lea eax, [esp + 0x40]
mov dl, byte [esi]
cmp dl, byte [eax + ebx]
jl 0x1002a4fb
cmp byte [esi + 1], 0
jle 0x1002a4a0
inc esi
jmp 0x1002a4a0
mov byte [esp + 0x23], 1
mov byte [esp + 0x80], 0
cmp dword [esp + 0x54], edi
jb 0x1002a696
mov eax, dword [esp + 0x40]
push eax
call fcn.10056169
add esp, 4
jmp 0x1002a696
mov esi, ebp
call fcn.1002c240
test al, al
jne 0x1002a6b1
mov ebx, dword [esp + 0x24]
cmp byte [ebp + 4], 0
jne 0x1002a577
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a56c
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a55b
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a55b
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a562
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a56c
mov byte [ebp + 5], al
jmp 0x1002a573
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x30
jl 0x1002a692
cmp byte [ebp + 4], 0
jne 0x1002a5c1
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a5b6
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a5a5
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a5a5
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a5ac
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a5b6
mov byte [ebp + 5], al
jmp 0x1002a5bd
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x39
jg 0x1002a692
cmp ebx, 0x24
jl 0x1002a5d6
inc dword [esp + 0x28]
jmp 0x1002a633
cmp byte [ebp + 4], 0
jne 0x1002a616
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a60b
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a5fa
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a5fa
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a601
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a60b
mov byte [ebp + 5], al
jmp 0x1002a612
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x30
jne 0x1002a620
test ebx, ebx
je 0x1002a633
mov esi, ebp
call fcn.1002b190
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x1c], ecx
inc ebx
mov ecx, dword [ebp]
mov byte [esp + 0x1b], 1
test ecx, ecx
je 0x1002a672
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x1002a660
mov eax, dword [ecx + 0x30]
cmp dword [eax], 0
jle 0x1002a660
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002a667
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002a672
mov byte [ebp + 4], 0
jmp 0x1002a67d
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov esi, ebp
call fcn.1002c240
test al, al
je 0x1002a537
mov dword [esp + 0x24], ebx
jmp 0x1002a6a1
mov dword [esp + 0x24], ebx
cmp byte [esp + 0x1b], 0
je 0x1002a6b1
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x1002a6b1
mov eax, dword [esp + 0x1c]
mov byte [eax], 0x30
inc eax
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x30]
mov esi, ebp
call fcn.1002c240
test al, al
jne 0x1002a770
cmp byte [ebp + 4], al
jne 0x1002a703
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a6f8
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a6e7
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a6e7
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a6ee
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a6f8
mov byte [ebp + 5], al
jmp 0x1002a6ff
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov bl, byte [ebp + 5]
call eax
cmp bl, al
jne 0x1002a770
call fcn.1005841d
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
mov ecx, dword [ebp]
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x1002a765
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a753
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a753
mov eax, edx
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002a75a
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002a765
mov byte [ebp + 4], 0
jmp 0x1002a770
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x1002a845
mov esi, ebp
call fcn.1002c240
test al, al
jne 0x1002a82e
cmp byte [ebp + 4], 0
jne 0x1002a7cb
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a7c0
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a7af
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a7af
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a7b6
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a7c0
mov byte [ebp + 5], al
jmp 0x1002a7c7
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x30
jne 0x1002a82e
mov ecx, dword [ebp]
dec dword [esp + 0x28]
mov byte [esp + 0x1b], 1
test ecx, ecx
je 0x1002a814
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x1002a802
mov eax, dword [ecx + 0x30]
cmp dword [eax], 0
jle 0x1002a802
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002a809
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002a814
mov byte [ebp + 4], 0
jmp 0x1002a81f
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov esi, ebp
call fcn.1002c240
test al, al
je 0x1002a78b
cmp dword [esp + 0x28], 0
jge 0x1002a845
mov eax, dword [esp + 0x1c]
mov byte [eax], 0x30
inc eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov esi, ebp
call fcn.1002c240
test al, al
jne 0x1002a997
cmp byte [ebp + 4], 0
jne 0x1002a894
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a889
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a878
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a878
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a87f
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a889
mov byte [ebp + 5], al
jmp 0x1002a890
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x30
jl 0x1002a997
cmp byte [ebp + 4], 0
jne 0x1002a8de
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a8d3
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a8c2
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a8c2
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a8c9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a8d3
mov byte [ebp + 5], al
jmp 0x1002a8da
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x39
jg 0x1002a997
cmp ebx, 0x24
jge 0x1002a93c
cmp byte [ebp + 4], 0
jne 0x1002a92d
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a922
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a911
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a911
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a918
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a922
mov byte [ebp + 5], al
jmp 0x1002a929
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov eax, dword [esp + 0x1c]
mov cl, byte [ebp + 5]
mov byte [eax], cl
inc eax
mov dword [esp + 0x1c], eax
inc ebx
mov ecx, dword [ebp]
mov byte [esp + 0x1b], 1
test ecx, ecx
je 0x1002a97b
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x1002a969
mov eax, dword [ecx + 0x30]
cmp dword [eax], 0
jle 0x1002a969
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002a970
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002a97b
mov byte [ebp + 4], 0
jmp 0x1002a986
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov esi, ebp
call fcn.1002c240
test al, al
je 0x1002a854
jmp 0x1002a9a2
cmp byte [esp + 0x1b], 0
je 0x1002ada2
mov esi, ebp
call fcn.1002c240
test al, al
jne 0x1002ada2
cmp byte [ebp + 4], al
jne 0x1002a9f0
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002a9e5
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002a9d4
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002a9d4
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002a9db
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002a9e5
mov byte [ebp + 5], al
jmp 0x1002a9ec
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x65
je 0x1002aa40
cmp byte [ebp + 4], 0
jne 0x1002aa36
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002aa2b
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002aa1a
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002aa1a
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002aa21
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002aa2b
mov byte [ebp + 5], al
jmp 0x1002aa32
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x45
jne 0x1002ada2
mov ebx, dword [esp + 0x1c]
mov byte [ebx], 0x65
mov ecx, dword [ebp]
inc ebx
mov dword [esp + 0x1c], ebx
test ecx, ecx
je 0x1002aa86
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x1002aa74
mov eax, dword [ecx + 0x30]
cmp dword [eax], 0
jle 0x1002aa74
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002aa7b
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002aa86
mov byte [ebp + 4], 0
jmp 0x1002aa91
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov esi, ebp
mov byte [esp + 0x1b], 0
mov dword [esp + 0x24], 0
call fcn.1002c240
test al, al
jne 0x1002ab8a
cmp byte [ebp + 4], al
jne 0x1002aaec
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002aae1
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002aad0
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002aad0
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002aad7
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002aae1
mov byte [ebp + 5], al
jmp 0x1002aae8
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x2b
jne 0x1002aaf7
mov byte [ebx], 0x2b
jmp 0x1002ab40
cmp byte [ebp + 4], 0
jne 0x1002ab37
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002ab2c
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002ab1b
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002ab1b
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002ab22
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002ab2c
mov byte [ebp + 5], al
jmp 0x1002ab33
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x2d
jne 0x1002ab8a
mov byte [ebx], 0x2d
mov ecx, dword [ebp]
inc ebx
mov dword [esp + 0x1c], ebx
test ecx, ecx
je 0x1002ab7f
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x1002ab6d
mov eax, dword [ecx + 0x30]
cmp dword [eax], 0
jle 0x1002ab6d
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002ab74
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002ab7f
mov byte [ebp + 4], 0
jmp 0x1002ab8a
mov byte [ebp + 4], 1
mov dword [ebp], 0
mov esi, ebp
call fcn.1002c240
test al, al
jne 0x1002ac4d
cmp byte [ebp + 4], 0
jne 0x1002abd9
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002abce
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002abbd
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002abbd
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002abc4
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002abce
mov byte [ebp + 5], al
jmp 0x1002abd5
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x30
jne 0x1002ac3a
mov ecx, dword [ebp]
mov byte [esp + 0x1b], 1
test ecx, ecx
je 0x1002ac1e
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x1002ac0c
mov eax, dword [ecx + 0x30]
cmp dword [eax], 0
jle 0x1002ac0c
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002ac13
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002ac1e
mov byte [ebp + 4], 0
jmp 0x1002ac29
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov esi, ebp
call fcn.1002c240
test al, al
je 0x1002ab99
jmp 0x1002ac41
cmp byte [esp + 0x1b], 0
je 0x1002ac4d
mov eax, dword [esp + 0x1c]
mov byte [eax], 0x30
inc eax
mov dword [esp + 0x1c], eax
mov esi, ebp
call fcn.1002c240
test al, al
jne 0x1002ada2
mov ebx, dword [esp + 0x1c]
cmp byte [ebp + 4], 0
jne 0x1002aca0
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002ac95
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002ac84
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002ac84
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002ac8b
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002ac95
mov byte [ebp + 5], al
jmp 0x1002ac9c
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x30
jl 0x1002ad9e
cmp byte [ebp + 4], 0
jne 0x1002acea
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002acdf
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002acce
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002acce
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002acd5
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002acdf
mov byte [ebp + 5], al
jmp 0x1002ace6
mov dword [ebp], 0
mov byte [ebp + 4], 1
cmp byte [ebp + 5], 0x39
jg 0x1002ad9e
cmp dword [esp + 0x24], 8
jge 0x1002ad45
cmp byte [ebp + 4], 0
jne 0x1002ad3b
mov ecx, dword [ebp]
test ecx, ecx
je 0x1002ad30
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1002ad1f
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x1002ad1f
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1002ad26
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xffffffff
je 0x1002ad30
mov byte [ebp + 5], al
jmp 0x1002ad37
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov cl, byte [ebp + 5]
mov byte [ebx], cl
inc ebx
inc dword [esp + 0x24]
mov ecx, dword [ebp]
mov byte [esp + 0x1b], 1
test ecx, ecx
je 0x1002ad84
mov edx, dword [ecx + 0x20]
cmp dword [edx], 0
je 0x1002ad72
mov eax, dword [ecx + 0x30]
cmp dword [eax], 0
jle 0x1002ad72
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 1]
mov dword [ecx], edx
movzx eax, byte [eax]
jmp 0x1002ad79
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, 0xffffffff
je 0x1002ad84
mov byte [ebp + 4], 0
jmp 0x1002ad8f
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov esi, ebp
call fcn.1002c240
test al, al
je 0x1002ac60
mov dword [esp + 0x1c], ebx
cmp byte [esp + 0x23], 0
jne 0x1002adb0
cmp byte [esp + 0x1b], 0
jne 0x1002adb6
mov eax, dword [esp + 0x38]
jmp 0x1002adba
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x70], 0x10
mov byte [eax], 0
jb 0x1002add1
mov eax, dword [esp + 0x5c]
push eax
call fcn.10056169
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10055232
add esp, 0x70
ret