Function at 0x10027820
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10053acd
push eax
mov dword fs:[0], esp
sub esp, 0xc0
cmp dword [0x100c00a8], 0x28
je 0x10028494
xor eax, eax
mov dword [0x100c00a8], 0x28
push ebx
push esi
push edi
mov dword [0x100c00ac], eax
xor edi, edi
mov dword [0x100c00b0], eax
xor esi, esi
mov dword [0x100c00b4], eax
mov dword [0x100c00b8], eax
mov dword [0x100c00bc], eax
mov dword [0x100c00c0], eax
mov dword [0x100c00c4], eax
mov dword [0x100c00c8], eax
mov dword [0x100c00cc], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push edi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100278fb
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
push edi
push str.MHz
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100278ec
cmp dword [ebp - 0x14], 4
jne 0x100278ec
mov eax, dword [ebp - 0x18]
mov ecx, 0xf4240
mul ecx
mov esi, eax
mov edi, edx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
or ecx, edi
jne 0x10027902
mov esi, 0x77359400
xor edi, edi
xor eax, eax
mov dword [0x100c00b8], esi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xcc]
push eax
mov dword [0x100c00bc], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0xb8]
lea ecx, [ebp - 0x30]
push 4
call fcn.1002bbe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1002ce30
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.1002cef0
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x48], ebx
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x100279c3
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov eax, edx
or eax, ecx
je 0x100279c3
jmp 0x100279b0
mov eax, edx
and eax, 1
shrd edx, ecx, 1
add ebx, eax
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x100279b0
mov ecx, 1
cmp dword [ebp - 0x10], ecx
cmova ecx, dword [ebp - 0x10]
cmp edi, ecx
mov byte [0x100c00b1], cl
mov eax, ecx
cmova eax, edi
cmp eax, esi
cmova esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
cmp esi, ebx
push eax
lea eax, [ebp - 0x14]
cmova ebx, esi
push eax
lea eax, [ebp - 0x1c]
mov byte [0x100c00b0], bl
push eax
push 1
call fcn.10028540
add esp, 0x14
pop edi
pop esi
pop ebx
test al, al
jne 0x10027a11
xor cl, cl
jmp 0x10027a1a
mov ecx, dword [ebp - 0x10]
shr ecx, 4
and cl, 1
mov al, byte [0x100c00ac]
and al, 0xfe
or al, cl
mov byte [0x100c00ac], al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027a4a
xor cl, cl
jmp 0x10027a53
mov ecx, dword [ebp - 0x10]
shr ecx, 0xf
and cl, 1
mov al, byte [0x100c00ac]
add cl, cl
and al, 0xfd
or al, cl
mov byte [0x100c00ac], al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027a85
xor cl, cl
jmp 0x10027a9a
mov eax, dword [ebp - 0x10]
and eax, 0x8001
cmp eax, 0x8001
setne cl
dec cl
and cl, 4
mov al, byte [0x100c00ac]
and al, 0xfb
or al, cl
mov byte [0x100c00ac], al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027aca
xor cl, cl
jmp 0x10027ad3
mov ecx, dword [ebp - 0x10]
shr ecx, 0x17
and cl, 1
mov al, byte [0x100c00ad]
and al, 0xf7
shl cl, 3
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov byte [0x100c00ad], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027b07
xor cl, cl
jmp 0x10027b10
mov ecx, dword [ebp - 0x10]
shr ecx, 0x19
and cl, 1
mov al, byte [0x100c00ac]
and al, 0xf7
shl cl, 3
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov byte [0x100c00ac], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027b44
xor cl, cl
jmp 0x10027b4d
mov ecx, dword [ebp - 0x10]
shr ecx, 0x1a
and cl, 1
mov al, byte [0x100c00ac]
and al, 0xef
shl cl, 4
or cl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov byte [0x100c00ac], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027b81
xor cl, cl
jmp 0x10027b87
mov cl, byte [ebp - 0x10]
and cl, 1
mov al, byte [0x100c00ac]
and al, 0xdf
shl cl, 5
or cl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov byte [0x100c00ac], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027bbb
xor cl, cl
jmp 0x10027bc4
mov ecx, dword [ebp - 0x10]
shr ecx, 9
and cl, 1
mov al, byte [0x100c00ac]
shl cl, 6
and al, 0xbf
or cl, al
mov byte [0x100c00ac], cl
call fcn.100284b0
push 0x1005f1a8
push eax
call fcn.1003d3b6
add esp, 8
test eax, eax
je 0x10027bf1
xor cl, cl
jmp 0x10027c1f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push closesocket
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027c16
xor cl, cl
jmp 0x10027c1f
mov ecx, dword [ebp - 0x10]
shr ecx, 6
and cl, 1
mov al, byte [0x100c00ad]
add cl, cl
and al, 0xfd
or cl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov byte [0x100c00ad], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027c52
xor cl, cl
jmp 0x10027c5b
mov ecx, dword [ebp - 0x10]
shr ecx, 0x13
and cl, 1
mov al, byte [0x100c00ac]
and al, 0x7f
shl cl, 7
or cl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov byte [0x100c00ac], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027c8f
xor cl, cl
jmp 0x10027c98
mov ecx, dword [ebp - 0x10]
shr ecx, 0x14
and cl, 1
mov al, byte [0x100c00ad]
and al, 0xfe
or al, cl
mov byte [0x100c00ad], al
lea eax, [ebp - 0x1c]
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
push closesocket
call fcn.10028540
add esp, 0x14
test al, al
je 0x10027ced
cmp dword [ebp - 0x14], 0x80000000
jbe 0x10027ced
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push eax
push eax
push closesocket
call fcn.10028540
add esp, 0x14
test al, al
je 0x10027ced
mov ecx, dword [ebp - 0x14]
shr ecx, 0x1f
jmp 0x10027cef
xor cl, cl
mov al, byte [0x100c00ad]
and al, 0xfb
shl cl, 2
or cl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov byte [0x100c00ad], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027d23
xor cl, cl
jmp 0x10027d2c
mov ecx, dword [ebp - 0x10]
shr ecx, 0x19
and cl, 1
mov al, byte [0x100c00ad]
and al, 0xdf
shl cl, 5
or cl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov byte [0x100c00ad], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027d60
xor cl, cl
jmp 0x10027d69
mov ecx, dword [ebp - 0x10]
shr ecx, 0x1c
and cl, 1
mov al, byte [0x100c00ad]
and al, 0xbf
shl cl, 6
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov byte [0x100c00ad], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027d9d
xor cl, cl
jmp 0x10027dd2
cmp dword [ebp - 0x18], 7
jae 0x10027da7
xor cl, cl
jmp 0x10027dd2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027dc9
xor cl, cl
jmp 0x10027dd2
mov ecx, dword [ebp - 0x14]
shr ecx, 5
and cl, 1
mov al, byte [0x100c00ad]
and al, 0x7f
shl cl, 7
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov byte [0x100c00ad], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027e06
xor cl, cl
jmp 0x10027e3b
cmp dword [ebp - 0x18], 7
jae 0x10027e10
xor cl, cl
jmp 0x10027e3b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027e32
xor cl, cl
jmp 0x10027e3b
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and cl, 1
mov al, byte [0x100c00ae]
and al, 0xfe
or al, cl
mov byte [0x100c00ae], al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027e6b
xor cl, cl
jmp 0x10027ea0
cmp dword [ebp - 0x18], 7
jae 0x10027e75
xor cl, cl
jmp 0x10027ea0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027e97
xor cl, cl
jmp 0x10027ea0
mov ecx, dword [ebp - 0x14]
shr ecx, 0x1a
and cl, 1
mov al, byte [0x100c00ae]
add cl, cl
and al, 0xfd
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov byte [0x100c00ae], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027ed3
xor cl, cl
jmp 0x10027f08
cmp dword [ebp - 0x18], 7
jae 0x10027edd
xor cl, cl
jmp 0x10027f08
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027eff
xor cl, cl
jmp 0x10027f08
mov ecx, dword [ebp - 0x14]
shr ecx, 0x1b
and cl, 1
mov al, byte [0x100c00ae]
and al, 0xfb
shl cl, 2
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov byte [0x100c00ae], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027f3c
xor cl, cl
jmp 0x10027f71
cmp dword [ebp - 0x18], 7
jae 0x10027f46
xor cl, cl
jmp 0x10027f71
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027f68
xor cl, cl
jmp 0x10027f71
mov ecx, dword [ebp - 0x14]
shr ecx, 0x1c
and cl, 1
mov al, byte [0x100c00ae]
and al, 0xf7
shl cl, 3
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov byte [0x100c00ae], cl
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027fa5
xor cl, cl
jmp 0x10027fda
cmp dword [ebp - 0x18], 7
jae 0x10027faf
xor cl, cl
jmp 0x10027fda
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10027fd1
xor cl, cl
jmp 0x10027fda
mov ecx, dword [ebp - 0x14]
shr ecx, 0xb
and cl, 1
mov al, byte [0x100c00ae]
and al, 0xef
shl cl, 4
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov byte [0x100c00ae], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.10028540
add esp, 0x14
test al, al
jne 0x1002800e
xor cl, cl
jmp 0x10028043
cmp dword [ebp - 0x18], 7
jae 0x10028018
xor cl, cl
jmp 0x10028043
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10028540
add esp, 0x14
test al, al
jne 0x1002803a
xor cl, cl
jmp 0x10028043
mov ecx, dword [ebp - 0x14]
shr ecx, 0x1d
and cl, 1
mov al, byte [0x100c00ae]
and al, 0xdf
shl cl, 5
or cl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov byte [0x100c00ae], cl
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
jne 0x10028077
xor cl, cl
jmp 0x10028080
mov ecx, dword [ebp - 0x10]
shr ecx, 0xd
and cl, 1
mov al, byte [0x100c00ae]
and al, 0xbf
shl cl, 6
or cl, al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov byte [0x100c00ae], cl
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push closesocket
call fcn.10028540
add esp, 0x14
test al, al
jne 0x100280b7
xor cl, cl
jmp 0x100280ef
cmp dword [ebp - 0x18], 0x80000000
ja 0x100280c4
xor cl, cl
jmp 0x100280ef
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push closesocket
call fcn.10028540
add esp, 0x14
test al, al
jne 0x100280e9
xor cl, cl
jmp 0x100280ef
mov cl, byte [ebp - 0x14]
and cl, 1
mov al, byte [0x100c00ae]
and byte [0x100c00af], 0xfe
and al, 0x7f
shl cl, 7
or cl, al
mov byte [0x100c00ae], cl
call fcn.100284b0
cmp byte [0x100bfff0], 0
mov dword [0x100c00c0], eax
jne 0x1002822a
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
push closesocket
call fcn.10028540
add esp, 0x14
test al, al
je 0x10028216
cmp dword [ebp - 0x10], reloc.WS2_32.dll_connect
jb 0x10028216
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push reloc.WS2_32.dll_bind
call fcn.10028540
add esp, 0x14
test al, al
je 0x10028192
mov eax, dword [ebp - 0x2c]
mov dword [0x100bfff0], eax
mov eax, dword [ebp - 0x28]
mov dword [0x100bfff4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x100bfff8], eax
mov eax, dword [ebp - 0x20]
mov dword [0x100bfffc], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push reloc.WS2_32.dll_closesocket
call fcn.10028540
add esp, 0x14
test al, al
je 0x100281d3
mov eax, dword [ebp - 0x2c]
mov dword [0x100c0000], eax
mov eax, dword [ebp - 0x28]
mov dword [0x100c0004], eax
mov eax, dword [ebp - 0x24]
mov dword [0x100c0008], eax
mov eax, dword [ebp - 0x20]
mov dword [0x100c000c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push reloc.WS2_32.dll_connect
call fcn.10028540
add esp, 0x14
test al, al
je 0x1002822a
mov eax, dword [ebp - 0x2c]
mov dword [0x100c0010], eax
mov eax, dword [ebp - 0x28]
mov dword [0x100c0014], eax
mov eax, dword [ebp - 0x24]
mov dword [0x100c0018], eax
mov eax, dword [ebp - 0x20]
mov dword [0x100c001c], eax
jmp 0x1002822a
mov dword [0x100bfff0], 0x6e6b6e55
mov dword [0x100bfff4], 0x6e776f
push 0x80
push 0
push 0x100c0028
mov dword [0x100c00c4], 0x100bfff0
call fcn.10033d60
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
call fcn.10028540
add esp, 0x20
test al, al
je 0x10028283
mov eax, dword [ebp - 0x2c]
mov dword [0x100c0028], eax
mov eax, dword [ebp - 0x28]
mov dword [0x100c002c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x100c0030], eax
mov eax, dword [ebp - 0x20]
mov dword [0x100c0034], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 1
call fcn.10028540
add esp, 0x14
test al, al
je 0x100282c1
mov eax, dword [ebp - 0x44]
mov dword [0x100c0038], eax
mov eax, dword [ebp - 0x40]
mov dword [0x100c003c], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x100c0040], eax
mov eax, dword [ebp - 0x38]
mov dword [0x100c0044], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push 2
call fcn.10028540
add esp, 0x14
test al, al
je 0x100282ff
mov eax, dword [ebp - 0x58]
mov dword [0x100c0048], eax
mov eax, dword [ebp - 0x54]
mov dword [0x100c004c], eax
mov eax, dword [ebp - 0x50]
mov dword [0x100c0050], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x100c0054], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
push 4
call fcn.10028540
add esp, 0x14
test al, al
je 0x1002833d
mov eax, dword [ebp - 0x68]
mov dword [0x100c0058], eax
mov eax, dword [ebp - 0x64]
mov dword [0x100c005c], eax
mov eax, dword [ebp - 0x60]
mov dword [0x100c0060], eax
mov eax, dword [ebp - 0x5c]
mov dword [0x100c0064], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 5
call fcn.10028540
add esp, 0x14
test al, al
je 0x1002837b
mov eax, dword [ebp - 0x78]
mov dword [0x100c0068], eax
mov eax, dword [ebp - 0x74]
mov dword [0x100c006c], eax
mov eax, dword [ebp - 0x70]
mov dword [0x100c0070], eax
mov eax, dword [ebp - 0x6c]
mov dword [0x100c0074], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
push eax
push 6
call fcn.10028540
add esp, 0x14
test al, al
je 0x100283c5
mov eax, dword [ebp - 0x88]
mov dword [0x100c0078], eax
mov eax, dword [ebp - 0x84]
mov dword [0x100c007c], eax
mov eax, dword [ebp - 0x80]
mov dword [0x100c0080], eax
mov eax, dword [ebp - 0x7c]
mov dword [0x100c0084], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
push eax
push 9
call fcn.10028540
add esp, 0x14
test al, al
je 0x1002841b
mov eax, dword [ebp - 0x98]
mov dword [0x100c0088], eax
mov eax, dword [ebp - 0x94]
mov dword [0x100c008c], eax
mov eax, dword [ebp - 0x90]
mov dword [0x100c0090], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x100c0094], eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0xa
call fcn.10028540
add esp, 0x14
test al, al
je 0x10028471
mov eax, dword [ebp - 0xa8]
mov dword [0x100c0098], eax
mov eax, dword [ebp - 0xa4]
mov dword [0x100c009c], eax
mov eax, dword [ebp - 0xa0]
mov dword [0x100c00a0], eax
mov eax, dword [ebp - 0x9c]
mov dword [0x100c00a4], eax
mov dword [0x100c00c8], 0x80
mov dword [0x100c00cc], 0x100c0028
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1002c270
mov ecx, dword [ebp - 0xc]
mov eax, 0x100c00a8
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret