Function at 0x408f40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4270cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov eax, dword [0x430334]
mov ecx, dword [esp + 0x98]
push ebx
push ebp
push esi
mov dword [esp + 0x8c], eax
push edi
xor eax, eax
push ecx
mov dword [esp + 0x6d], eax
lea edx, [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x71], eax
push 0x429d20
push edx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x74], bl
mov word [esp + 0x7d], ax
call fcn.0041a438
add esp, 0xc
push 0x64
mov esi, 0xf
push str.http:__reg.banma.com:DEFAULT_PORT_services_setcookie.aspx_softidSOFT_IDunionidUNION_IDmidMAC_ID
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.00403030
push 7
push str.SOFT_ID
lea ecx, [esp + 0x18]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00403030
push 0x430090
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xac], 1
call fcn.004186d0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 2
call fcn.00402f40
mov eax, dword [esp + 0x44]
mov ebp, 0x10
cmp eax, ebp
jb 0x409041
mov eax, dword [esp + 0x30]
push eax
call fcn.004196bd
add esp, 4
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x9c], bl
jb 0x409067
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004196bd
add esp, 4
push 8
push str.UNION_ID
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00403030
push 0x4300ac
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0xac], 3
call fcn.004186d0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 4
call fcn.00402f40
cmp dword [esp + 0x44], ebp
jb 0x4090d2
mov edx, dword [esp + 0x30]
push edx
call fcn.004196bd
add esp, 4
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x9c], bl
jb 0x4090f8
mov eax, dword [esp + 0x14]
push eax
call fcn.004196bd
add esp, 4
push 6
push str.MAC_ID
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00403030
push 0x4300c8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xac], 5
call fcn.004186d0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 6
call fcn.00402f40
cmp dword [esp + 0x44], ebp
jb 0x409163
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004196bd
add esp, 4
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x9c], bl
jb 0x409189
mov edx, dword [esp + 0x14]
push edx
call fcn.004196bd
add esp, 4
lea eax, [esp + 0x68]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4091a0
sub eax, edx
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x34]
call fcn.00403030
push 0xc
push str.DEFAULT_PORT
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 7
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00403030
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0xac], 8
call fcn.004186d0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 9
call fcn.00402f40
cmp dword [esp + 0x64], ebp
jb 0x40922b
mov edx, dword [esp + 0x50]
push edx
call fcn.004196bd
add esp, 4
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x40924a
mov eax, dword [esp + 0x14]
push eax
call fcn.004196bd
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0x9c], bl
jb 0x409270
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004196bd
add esp, 4
mov edi, dword [esp + 0xa4]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x7c]
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00402f40
cmp dword [esp + 0x8c], ebp
jb 0x4092a5
mov eax, dword [esp + 0x78]
push eax
call fcn.004196bd
add esp, 4
mov ecx, dword [esp + 0x94]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x84]
pop ebx
call fcn.0041941a
add esp, 0x90
ret 8