Function at 0x4046dc
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
push ecx
sub ecx, 0x132a9
xor ecx, 0x1294a
pop ecx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push edi
push edx
add esp, 4
and edi, 0x59d1
or edi, 0xf27a
and edi, 0x18266
pop edi
push ebx
push ecx
add esp, 4
sub ebx, 0xa646
pop ebx
push ecx
add ecx, 0xd61c
add ecx, 0x7934
pop ecx
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push edi
push edi
add esp, 4
call 0x4011bc
add byte [edx + eax*2], dh
inc ebx
dec ecx
inc ebx
xor eax, dword [ebx + 0x515f04c4]
add ecx, 0x10fd4
jmp 0x4011cf
or ecx, 0x182d4
xor ecx, 0x5aff
pop ecx
mov dword [ebp - 0x10], 1
push ebx
call 0x4011f3
add byte [esi], bh
aaa
dec esi
dec eax
dec edi
push eax
cmp dword [ebp + 0x48], eax
add esp, 4
pop ebx
push esi
push edi
add esp, 4
and esi, 0x1655b
and esi, 0x1b46
or esi, 0x108eb
and esi, 0x124b1
pop esi
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push eax
push eax
add esp, 4
or eax, 0x143b5
add eax, 0x4989
or eax, 0xe9d2
pop eax
push edi
add edi, 0x132e5
pop edi
push eax
push eax
add esp, 4
or eax, 0xc210
or eax, 0xdd29
pop eax
push esi
or esi, 0x16e24
pop esi
push edi
push esi
add esp, 4
call 0x40128c
add byte [ebp + 0x45], cl
dec ebx
inc edi
aas
dec edi
add esp, 4
and edi, 0x9ce3
pop edi
push edx
jmp 0x40129f
jmp 0x4012a4
pop edx
mov dword [ebp - 0x2c], 1
push edi
jmp 0x4012b4
sub edi, 0xe341
jmp 0x4012c0
pop edi
push ebx
add ebx, 0x133d3
pop ebx
push ebx
push ebx
add esp, 4
jmp 0x4012d7
and ebx, 0x10e1e
pop ebx
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x4014bf
mov ecx, dword [ebp - 0xfb0]
mov edx, dword [ebp - 0xfac]
mov dword [ebp - 0x152c], ecx
mov dword [ebp - 0x1528], edx
push edx
push edi
add esp, 4
jmp 0x4014e2
pop edx
push edi
and edi, 0x1007a
pop edi
push eax
push ecx
add esp, 4
sub eax, 0xdd68
xor eax, 0x1715c
and eax, 0xe807
or eax, 0xe0c
pop eax
push eax
push esi
add esp, 4
or eax, 0xf39d
pop eax
push edi
push edi
add esp, 4
xor edi, 0x107a0
xor edi, 0x11360
pop edi
push eax
add eax, 0x13b4d
xor eax, 0x14445
xor eax, 0x13c4
pop eax
mov eax, dword [ebp - 0x30]
add eax, 0x138
imul ecx, dword [ebp - 0x2c], 0x138
add ecx, 0x44f3644b
imul edx, dword [ebp - 0x2c], 0x138
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1d2c], eax
push edx
push esi
add esp, 4
jmp 0x401570
add edx, 0x1538b
add edx, 0x8f35
jmp 0x401582
pop edx
push esi
add esi, 0x3ec1
add esi, 0xa73e
add esi, 0x15845
pop esi
mov eax, dword [ebp - 0x152c]
add eax, 0x138
imul ecx, dword [ebp - 0x1528], 0x138
add ecx, 0x44f3644b
imul edx, dword [ebp - 0x1528], 0x138
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0x1528]
mov dword [ebp - 0x1d28], eax
mov eax, dword [ebp - 0x1d28]
mov dword [ebp - 0x1d30], eax
mov ecx, dword [ebp - 0x1d2c]
cmp ecx, dword [ebp - 0x1d30]
jae 0x4015f3
mov dword [ebp - 0x149c], 1
jmp 0x4015fd
mov dword [ebp - 0x149c], 0
mov dl, byte [ebp - 0x149c]
mov byte [ebp - 0x382], dl
movzx eax, byte [ebp - 0x382]
test eax, eax
je 0x404670
push esi
push edx
add esp, 4
jmp 0x401625
jmp 0x40162c
pop esi
push ecx
call 0x40163a
add byte [esi], bh
cmp eax, 0x38403a49
add esp, 4
pop ecx
push eax
push esi
add esp, 4
or eax, 0x11f93
pop eax
push edi
sub edi, 0x2fce
call 0x401660
add byte [edi], dh
xor eax, 0x44413947
push eax
xor edi, dword [edi]
add esp, 4
sub edi, 0x173b3
sub edi, 0x2cb3
pop edi
push edx
push edx
add esp, 4
xor edx, 0x407f
pop edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x138
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor ecx, edx
imul ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1d34], ecx
mov ecx, dword [ebp - 0x1d34]
mov dword [ebp - 0x1d38], ecx
cmp dword [ebp - 0x1d38], 0x63c1
jne 0x4017f7
push esi
push esi
add esp, 4
sub esi, 0x18650
jmp 0x4016d6
pop esi
push ebx
push eax
add esp, 4
or ebx, 0x4f10
sub ebx, 0x6703
and ebx, 0x2858
sub ebx, 0xb433
pop ebx
mov edx, dword [ebp - 0x14]
add edx, 0x138
imul eax, dword [ebp - 0x10], 0x138
add eax, 0x44f3644b
imul ecx, dword [ebp - 0x10], 0x138
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x1d3c], edx
mov edx, dword [ebp - 0x1d3c]
mov dword [ebp - 0x1d40], edx
mov eax, dword [ebp - 0x1d40]
sub eax, 0x898
mov dword [ebp - 0x1d44], eax
mov dword [ebp - 0xfb4], 1
push edx
push eax
add esp, 4
jmp 0x401751
jmp 0x401759
xor edx, 0x13c1f
xor edx, 0xcc00
pop edx
push esi
push edi
add esp, 4
sub esi, 0xa01f
or esi, 0x26c8
pop esi
imul ecx, dword [ebp - 0xfb4], 0x138
add ecx, 0x44f3644b
imul edx, dword [ebp - 0xfb4], 0x138
sub ecx, edx
xor ecx, dword [ebp - 0x1d44]
imul ecx, dword [ebp - 0xfb4]
imul eax, dword [ebp - 0xfb4], 0x138
sub ecx, eax
mov dword [ebp - 0xfb8], ecx
mov ecx, dword [ebp - 0xfb8]
mov edx, dword [ebp - 0xfb4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
push edi
push esi
add esp, 4
call 0x4017d9
add byte [ebx + eax*2], bh
dec edi
dec ebx
inc edx
inc eax
xor eax, 0x4c48345
jmp 0x4017e1
or edi, 0x141e4
call 0x4017f3
add byte [esi + edi], dh
inc ecx
cmp edi, dword [ebx]
dec eax
add esp, 4
pop edi
push edi
push ebx
add esp, 4
xor edi, 0xe5dd
pop edi
push ecx
or ecx, 0xc2d6
sub ecx, 0xe3e
pop ecx
push ebx
push ecx
add esp, 4
and ebx, 0x193f
or ebx, 0x9213
xor ebx, 0xda64
pop ebx
mov eax, dword [ebp - 0x14]
add eax, 0x138
imul ecx, dword [ebp - 0x10], 0x138
add ecx, 0x44f3644b
imul edx, dword [ebp - 0x10], 0x138
sub ecx, edx
xor eax, ecx
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x1d48], eax
mov eax, dword [ebp - 0x1d48]
mov dword [ebp - 0x1db8], eax
lea ecx, [ebp - 0x928]
mov dword [ebp - 0x3bc], ecx
mov edx, dword [ebp - 0x3bc]
mov dword [edx + 4], 1
push edi
jmp 0x401880
or edi, 0xc59
pop edi
push esi
push ebx
add esp, 4
add esi, 0x11a3
sub esi, 0x1970
call 0x4018a6
add byte [ebp + 0x4f], al
cmp eax, 0x33333633
add esp, 4
pop esi
mov eax, dword [ebp - 0x3bc]
imul ecx, dword [eax + 4], 0x138
add ecx, 0x44f3644b
mov edx, dword [ebp - 0x3bc]
imul eax, dword [edx + 4], 0x138
sub ecx, eax
xor ecx, 0x23
mov edx, dword [ebp - 0x3bc]
imul ecx, dword [edx + 4]
mov eax, dword [ebp - 0x3bc]
imul edx, dword [eax + 4], 0x138
sub ecx, edx
mov eax, dword [ebp - 0x3bc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x1f58], ecx
push ebx
push ecx
add esp, 4
xor ebx, 0x686e
add ebx, 0xe86d
xor ebx, 0xea27
add ebx, 0xe9c8
pop ebx
push ecx
sub ecx, 0x149
xor ecx, 0xe507
sub ecx, 0x126a2
pop ecx
mov dword [ebp - 0x14a4], 1
push ecx
push esi
add esp, 4
xor ecx, 0xc213
pop ecx
push ecx
xor ecx, 0x5c25
add ecx, 0xc70b
pop ecx
push ebx
push edi
add esp, 4
and ebx, 0x87fa
pop ebx
push edi
push edi
add esp, 4
add edi, 0x1271d
pop edi
mov dword [ebp - 0x1f5c], 0x38
mov dword [ebp - 0x1f60], 0xe6
mov dword [ebp - 0x1f64], 0x6e
mov dword [ebp - 0x1f68], 0x6e
mov dword [ebp - 0x1f6c], 0x78
mov dword [ebp - 0x1530], 1
push ecx
push esi
add esp, 4
and ecx, 0xe899
call 0x4019c0
add byte [ebx], dh
inc edx
dec esi
xor cl, byte [edi + 0x4d]
push eax
inc ebx
aas
add esp, 4
add ecx, 0x13f01
xor ecx, 0xe4e4
pop ecx
push ecx
xor ecx, 0x16074
pop ecx
imul edx, dword [ebp - 0x1530], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x1530], 0x138
sub edx, eax
xor edx, 0xe6
imul edx, dword [ebp - 0x1530]
imul ecx, dword [ebp - 0x1530], 0x138
sub edx, ecx
mov dword [ebp - 0x1534], edx
push ecx
call 0x401a23
add byte [ecx + 0x4a], cl
cmp eax, 0x3e47324f
xor al, byte [ebx - 0x7d]
les eax, [ebx + ebp*8]
push es
dec eax
cmp eax, 0x593d4737
push ebx
push esi
add esp, 4
call 0x401a41
add byte [ebx + 0x4f], al
dec esp
dec edi
dec edi
aas
xor al, byte [ebx + 0x505b04c4]
call 0x401a54
add byte [ebp + 0x3c], al
inc eax
inc esp
cmp dword [edi + 0x4f], ecx
push eax
add esp, 4
or eax, 0xdf18
xor eax, 0xaf6c
call 0x401a73
add byte [ecx + edi], dh
inc ebx
cmp ecx, dword [edi + 0x3f]
inc esp
dec ecx
inc ebp
add esp, 4
pop eax
mov edx, dword [ebp - 0x928]
add edx, 0x138
imul eax, dword [ebp - 0x924], 0x138
add eax, 0x44f3644b
imul ecx, dword [ebp - 0x924], 0x138
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x924]
mov dword [ebp - 0x1d4c], edx
mov edx, dword [ebp - 0x1d4c]
mov dword [ebp - 0x1d50], edx
mov eax, dword [ebp - 0x1d50]
sub eax, 0x6e
mov dword [ebp - 0x1d54], eax
mov dword [ebp - 0xa08], 1
push ecx
push ecx
add esp, 4
add ecx, 0xc33a
xor ecx, 0x433d
pop ecx
push edx
or edx, 0x923
pop edx
push edi
push ecx
add esp, 4
and edi, 0x1ac4
add edi, 0x3fda
jmp 0x401b03
pop edi
imul ecx, dword [ebp - 0xa08], 0x138
add ecx, 0x44f3644b
imul edx, dword [ebp - 0xa08], 0x138
sub ecx, edx
xor ecx, dword [ebp - 0x1d54]
imul ecx, dword [ebp - 0xa08]
imul eax, dword [ebp - 0xa08], 0x138
sub ecx, eax
mov dword [ebp - 0xa0c], ecx
push edi
push esi
add esp, 4
add edi, 0x9c9d
call 0x401b58
add byte [eax + ecx*2], dh
inc ebx
aaa
inc edx
xor al, 0x4f
xor eax, dword [ebx + 0x7eb04c4]
aaa
xor eax, 0x45333a3b
cmp eax, 0x8352505f
les eax, [ecx + eax*4]
enter 0x41fa, 1
add byte [eax - 0x75], bl
invalid
mov dword [ebp - 0x3c0], 0
call 0x40467f
mov eax, 0x13379797
pop eax
mov dword [ebp - 0x3c0], eax
push esi
push edx
add esp, 4
jmp 0x404697
sub esi, 0xd2c2
and esi, 0x8961
pop esi
push eax
or eax, 0x1499e
jmp 0x4046b0
add eax, 0x9eac
and eax, 0xf990
pop eax
mov ecx, dword [ebp - 0x1fa0]
mov dword [ebp - 0x14b8], ecx
push ecx
push ecx
add esp, 4
call 0x4046dc
add byte [edx + eax*2], bh
cmp edi, dword [ecx]
inc esp
dec eax
dec ebp
add esp, 4
sub ecx, 0x176f1
xor ecx, 0x7be1
pop ecx
push edi
jmp 0x4046f4
add edi, 0x10d37
pop edi
mov edx, dword [ebp - 0x14]
add edx, 0x138
imul eax, dword [ebp - 0x10], 0x138
add eax, 0x44f3644b
imul ecx, dword [ebp - 0x10], 0x138
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x14b8], edx
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x1ef8], edx
mov eax, dword [ebp - 0x1ef8]
add eax, dword [ebp - 0x14b8]
mov dword [ebp - 0x3c0], eax
push eax
or eax, 0x548c
or eax, 0xd9ed
add eax, 0x1039d
pop eax
push ecx
push ebx
add esp, 4
or ecx, 0x10e97
pop ecx
push edx
call 0x404771
add byte [ecx], bh
dec edi
aas
dec eax
aaa
aaa
dec eax
add esp, 4
pop edx
mov byte [ebp - 0xb78], 0x52
mov byte [ebp - 0xb77], 0xb9
mov byte [ebp - 0xb76], 0x10
mov byte [ebp - 0xb75], 0x10
mov byte [ebp - 0xb74], 0x10
mov byte [ebp - 0xb73], 0x10
mov byte [ebp - 0xb72], 0x5a
push esi
or esi, 0x15b89
pop esi
push ecx
push ecx
add esp, 4
sub ecx, 0xd3aa
and ecx, 0x589b
add ecx, 0x129f8
add ecx, 0x7151
pop ecx
push ebx
push edx
add esp, 4
and ebx, 0x128bc
pop ebx
mov byte [ebp - 0xb80], 0x52
mov byte [ebp - 0xb7f], 0xb9
mov byte [ebp - 0xb7e], 0x20
mov byte [ebp - 0xb7d], 0x20
mov byte [ebp - 0xb7c], 0x20
mov byte [ebp - 0xb7b], 0x20
mov byte [ebp - 0xb7a], 0x5a
push edx
push ebx
add esp, 4
add edx, 0xd502
xor edx, 0xf23c
pop edx
push eax
xor eax, 0x12bd9
and eax, 0xf111
pop eax
push ecx
push esi
add esp, 4
and ecx, 0x7c4b
add ecx, 0x1704
pop ecx
mov dword [ebp - 0x1fa4], 0xe
push edx
push edi
add esp, 4
or edx, 0x51aa
add edx, 0x15daa
add edx, 0xffcd
pop edx
push edx
or edx, 0x17c30
add edx, 0x251e
or edx, 0x8e82
or edx, 0xd91
pop edx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb78]
mov dword [ebp - 0x14bc], eax
push eax
push edi
add esp, 4
sub eax, 0x4773
sub eax, 0x13bdf
or eax, 0x8b6d
pop eax
push ebx
sub ebx, 0xf5ea
pop ebx
push ebx
push esi
add esp, 4
and ebx, 0x15326
sub ebx, 0x8a1b
pop ebx
mov dword [ebp - 0x1fa8], 0xffffffff
push esi
push ecx
add esp, 4
jmp 0x4048d4
or esi, 0x113d9
pop esi
push eax
and eax, 0x167ff
call 0x4048f0
add byte [edi], dh
xor bh, byte [esi]
inc ecx
dec edi
dec ebx
dec eax
cmp eax, 0x8104c483
invalid