Function at 0x405079
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x4fc]
add edx, 1
mov dword [ebp - 0x4fc], edx
add byte [eax], al
add esp, 4
call 0x4049f0
add byte [ebx + 0x41], al
inc esp
dec edx
inc esp
dec eax
cmp eax, 0x8104c483
enter 0x492c, 0
add byte [ecx + 0x1647ce0], al
add byte [eax - 0x17], bl
add al, byte cs:[eax]
add bh, al
test dword [eax + 0x7fffff3], eax
add byte [eax], al
add byte [ebx - 0x4fb73], cl
dec dword [ecx - 0xac373]
call dword [edx - 0x7f]
loop 0x40499f
adc byte [ecx], al
add byte [ecx + 0x13234e2], al
add byte [ecx + 0x328de2], al
add byte [ecx + 0xce2aca], al
add byte [edx + 0x57], bl
push edi
add esp, 4
call 0x404a49
add byte [esi + 0x35], al
inc eax
dec ebx
xor eax, 0x47384b4d
add esp, 4
pop edi
mov edx, dword [ebp - 0x15c4]
mov dword [ebp - 0xa60], edx
mov dword [ebp - 0xc84], 0
mov eax, dword [ebp - 0x4fc]
cmp eax, dword [ebp - 0x15c4]
jne 0x404ab4
push esi
xor esi, 0x1482d
call 0x404a85
add byte [edi + 0x47], al
xor al, 0x32
xor al, 0x38
aas
add esp, 4
or esi, 0x4d66
pop esi
push edi
push ecx
add esp, 4
or edi, 0x1366a
pop edi
push eax
and eax, 0x10639
pop eax
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], ecx
jmp 0x404be5
cmp dword [ebp - 0xc80], 0
jle 0x404bd9
push esi
call 0x404ad0
add byte [edi + eax*2], dh
xor dh, byte [edx]
xor eax, 0x833b3543
les eax, [ebx + ebp*8]
add eax, 0x3d483748
dec edi
xor esi, 0x151ec
pop esi
push ebx
push ecx
add esp, 4
and ebx, 0x3270
and ebx, 0x17455
pop ebx
mov edx, dword [ebp - 0xac4]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x404b75
push esi
push edx
add esp, 4
and esi, 0xebc5
xor esi, 0x1d3f
sub esi, 0xbd98
pop esi
push ecx
add ecx, 0x16cd1
or ecx, 0x49ff
add ecx, 0x4b0a
add ecx, 0x13f1e
pop ecx
mov eax, dword [ebp - 0xac4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x404b5d
mov dword [ebp - 0x15c8], 1
jmp 0x404b67
mov dword [ebp - 0x15c8], 0xffffffff
mov ecx, dword [ebp - 0x15c8]
mov dword [ebp - 0xc84], ecx
jmp 0x404bd9
push ebx
push ebx
add esp, 4
jmp 0x404b81
pop ebx
push ebx
add ebx, 0x2bc5
call 0x404b97
add byte [eax + 0x4a], dl
cmp al, byte [edx + 0x36]
inc esi
cmp ecx, dword [ebx + eax*4 - 0x3c]
add al, 0x81
ret
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], edx
cmp dword [ebp - 0x15cc], 0
jne 0x404c2e
push edx
sub edx, 0xdb92
jmp 0x404bfb
add edx, 0x105cd
pop edx
push edi
push esi
add esp, 4
and edi, 0x15ef4
and edi, 0x4447
xor edi, 0x164c9
and edi, 0xc755
pop edi
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x3e8], eax
jmp 0x404c6f
jmp 0x40497c
push edx
add edx, 0x14256
jmp 0x404c7e
and edx, 0x13a4a
xor edx, 0x11a9a
pop edx
push esi
jmp 0x404c92
pop esi
push eax
sub eax, 0x11ab0
or eax, 0x14f61
pop eax
push ecx
push eax
add esp, 4
sub ecx, 0x1819d
and ecx, 0x12d72
or ecx, 0xdfa6
call 0x404cc8
add byte [edx], dh
inc ecx
inc ebx
dec esi
inc ebp
push eax
inc esp
cmp byte [eax], bh
add esp, 4
pop ecx
push ebx
jmp 0x404cd2
pop ebx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbe4]
mov dword [ebp - 0x15d0], eax
push ebx
push edx
add esp, 4
or ebx, 0xf407
pop ebx
push esi
call 0x404d04
add byte [ecx + 0x49], al
cmp al, 0x45
aaa
dec edi
inc edx
inc esp
add esp, 4
sub esi, 0xd5cb
add esi, 0x12552
sub esi, 0x1646c
pop esi
mov dword [ebp - 0x20f4], 0xffffffff
push ecx
push ecx
add esp, 4
or ecx, 0x10110
xor ecx, 0x1932
pop ecx
push eax
or eax, 0x11454
add eax, 0x327d
call 0x404d52
add byte [edi + 0x48], cl
inc ebp
dec ecx
dec eax
xor eax, 0x833b423f
les eax, [eax + ebx*2]
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x500], ecx
jmp 0x404d73
mov edx, dword [ebp - 0x500]
add edx, 1
mov dword [ebp - 0x500], edx
push ecx
push ebx
add esp, 4
sub ecx, 0x118bd
or ecx, 0x10ae0
or ecx, 0x6f16
pop ecx
push ecx
add ecx, 0x269c
sub ecx, 0x14dfe
and ecx, 0xdfa5
or ecx, 0x81a4
pop ecx
mov eax, dword [ebp - 0x500]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x404ded
push eax
push ecx
add esp, 4
xor eax, 0xc78a
and eax, 0x118d7
jmp 0x404dcd
pop eax
push ecx
and ecx, 0x72cb
sub ecx, 0xe2e7
add ecx, 0xee14
or ecx, 0x296a
pop ecx
jmp 0x40501b
mov dword [ebp - 0xc88], 7
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0xac0], ecx
push esi
and esi, 0xb5e9
pop esi
push esi
push edx
add esp, 4
jmp 0x404e17
or esi, 0x1794a
or esi, 0x13bf7
call 0x404e31
add byte [eax + 0x40], dl
inc edi
aas
aaa
xor ecx, dword [eax + 0x4e]
add esp, 4
pop esi
mov edx, dword [ebp - 0x15d0]
mov dword [ebp - 0xabc], edx
mov dword [ebp - 0xc8c], 0
mov eax, dword [ebp - 0x500]
cmp eax, dword [ebp - 0x15d0]
jne 0x404e9c
push ecx
xor ecx, 0x10e92
or ecx, 0xac34
or ecx, 0x24d7
or ecx, 0xabc6
pop ecx
push esi
push eax
add esp, 4
and esi, 0x9dbd
or esi, 0x7d99
and esi, 0x14de7
pop esi
mov ecx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d4], ecx
jmp 0x404fcd
cmp dword [ebp - 0xc88], 0
jle 0x404fc1
push ecx
push edx
add esp, 4
add ecx, 0x12c13
add ecx, 0x1222
pop ecx
push edi
jmp 0x404ec5
pop edi
push ebx
and ebx, 0xd357
jmp 0x404ed4
jmp 0x404eda
pop ebx
mov edx, dword [ebp - 0xac0]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xabc]
movzx edx, byte [ecx]
cmp eax, edx
je 0x404f5d
push ebx
call 0x404f02
add byte [edx + esi + 0x45], cl
dec edx
cmp cl, byte [edx + 0x36]
inc edx
xor eax, 0x4c4833f
and ebx, 0x18335
jmp 0x404f10
sub ebx, 0x132e3
pop ebx
push ebx
push edx
add esp, 4
xor ebx, 0x3cc6
pop ebx
mov eax, dword [ebp - 0xac0]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xabc]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x404f45
mov dword [ebp - 0x15a0], 1
jmp 0x404f4f
mov dword [ebp - 0x15a0], 0xffffffff
mov ecx, dword [ebp - 0x15a0]
mov dword [ebp - 0xc8c], ecx
jmp 0x404fc1
push ebx
add ebx, 0x1745
jmp 0x404f6a
jmp 0x404f72
pop ebx
push edx
and edx, 0xae0a
xor edx, 0x17a4e
sub edx, 0x12368
jmp 0x404f8e
pop edx
mov edx, dword [ebp - 0xc88]
sub edx, 1
mov dword [ebp - 0xc88], edx
mov eax, dword [ebp - 0xac0]
add eax, 1
mov dword [ebp - 0xac0], eax
mov ecx, dword [ebp - 0xabc]
add ecx, 1
mov dword [ebp - 0xabc], ecx
jmp 0x404e9c
mov edx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d4], edx
cmp dword [ebp - 0x15d4], 0
jne 0x405016
push eax
call 0x404fe3
add byte [edi], bh
cmp al, 0x39
cmp al, 0x45
dec eax
add esp, 4
pop eax
push eax
call 0x404ff6
add byte [eax + 0x43], cl
dec eax
inc ecx
inc esp
add esp, 4
sub eax, 0xf666
pop eax
push ecx
and ecx, 0x5d8a
pop ecx
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0xab8], eax
jmp 0x405057
jmp 0x404d64
push edx
push edi
add esp, 4
or edx, 0x7645
pop edx
push esi
push eax
add esp, 4
sub esi, 0xdaa3
xor esi, 0x1307b
sub esi, 0xe762
add esi, 0x11bb2
pop esi
push ebx
xor ebx, 0x17899
pop ebx
mov dword [ebp - 0xab8], 0
push esi
push esi
add esp, 4
jmp 0x405062
pop esi
push esi
add esi, 0x5328
call 0x405079
add byte [esi + eax*2], bh
aas
inc edi
dec ebp
inc esi
push eax
cmp cl, byte [ebx + eax*4 - 0x3c]
add al, 0x81
invalid