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

Disassembly:
add esp, 4
sub eax, 0x794c
xor eax, 0x13069
pop eax
push ebx
or ebx, 0x339c
add ebx, 0x1122
pop ebx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1890], edx
mov eax, dword [ebp - 0x1890]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1894], ecx
mov edx, dword [ebp - 0x1894]
mov dword [ebp - 0x14d4], edx
push edi
push eax
add esp, 4
or edi, 0x71a3
pop edi
push eax
push ebx
add esp, 4
sub eax, 0x6182
add eax, 0x10fb2
pop eax
push edx
xor edx, 0xda9e
or edx, 0x8306
add edx, 0x15810
pop edx
cmp dword [ebp - 0x14d4], 0
jne 0x4074a1
mov dword [ebp - 0x2e0], 0
jmp 0x40775d
mov eax, dword [ebp - 0x14d4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc20], edx
push edi
call 0x4074c3
add byte [eax], bh
cmp cl, byte [ebx + 0x44]
xor bh, byte [esi]
push eax
inc ebp
cmp byte [ebx - 0x187efb3c], al
sahf
cmp al, byte [eax]
add byte [edi + 0x52], bl
push edi
add esp, 4
xor edx, 0x8c70
sub edx, 0x170c7
or edx, 0x9f1
pop edx
cmp dword [ebp - 0xc20], 0
jne 0x4074fd
mov dword [ebp - 0x2e0], 0
jmp 0x40775d
mov eax, dword [ebp - 0xc20]
mov dword [ebp - 0x4d4], eax
push esi
or esi, 0x77fd
or esi, 0x52a
and esi, 0x172df
pop esi
push edi
push ecx
add esp, 4
add edi, 0x164c4
or edi, 0x640b
and edi, 0x1106e
xor edi, 0xe942
pop edi
lea ecx, [ebp - 0x1628]
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0x4d4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc18], eax
xor ecx, ecx
mov word [ebp - 0x1f8], cx
xor edx, edx
mov word [ebp - 0x100], dx
push eax
add eax, 0x47f8
jmp 0x407576
call 0x407582
add byte [0x49444241], dh
xor al, 0x83
les eax, [eax + ebx*2]
push ecx
sub ecx, 0xbea7
xor ecx, 0x11d86
or ecx, 0x766
pop ecx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push ecx
push ebx
add esp, 4
add ecx, 0x1280d
add ecx, 0x17c0c
pop ecx
push edx
push edi
add esp, 4
and edx, 0x14121
pop edx
push edi
push ecx
add esp, 4
jmp 0x40761f
add edi, 0x938c
pop edi
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x407649
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x4076ac
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x407568
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x407568
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x407696
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x4076a0
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x4076f5
push edi
call 0x4076c3
add byte [eax + 0x3e], al
inc ecx
aaa
dec edi
inc esi
cmp byte [ebx + 0xae804c4], al
add byte [eax], al
add byte [eax], al
inc ebx
push eax
push eax
xor eax, 0x4940474b
inc ebp
add esp, 4
pop edi
push edx
add edx, 0x1fd6
and edx, 0x15a76
pop edx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x40775d
push eax
and eax, 0x15a85
pop eax
push edi
push ebx
add esp, 4
xor edi, 0x7f87
or edi, 0x283
call 0x40771d
add byte [ecx + 0x3e], cl
xor al, 0x34
dec ebx
dec edi
inc edx
xor eax, 0x4c4834b
and edi, 0x15681
pop edi
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x407753
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x407509
mov dword [ebp - 0x2e0], 0
push esi
or esi, 0x159c9
pop esi
push esi
push ecx
add esp, 4
or esi, 0xe613
sub esi, 0x803
pop esi
push eax
push ecx
add esp, 4
or eax, 0x119
or eax, 0x2472
xor eax, 0xbd4c
pop eax
cmp dword [ebp - 0x2e0], 0
jne 0x4080a8
mov edx, 0x6b
mov word [ebp - 0x16cc], dx
mov eax, 0x65
mov word [ebp - 0x16ca], ax
mov ecx, 0x72
mov word [ebp - 0x16c8], cx
mov edx, 0x6e
mov word [ebp - 0x16c6], dx
mov eax, 0x65
mov word [ebp - 0x16c4], ax
mov ecx, 0x6c
mov word [ebp - 0x16c2], cx
mov edx, 0x33
mov word [ebp - 0x16c0], dx
mov eax, 0x32
mov word [ebp - 0x16be], ax
mov ecx, 0x2e
mov word [ebp - 0x16bc], cx
mov edx, 0x64
mov word [ebp - 0x16ba], dx
mov eax, 0x6c
mov word [ebp - 0x16b8], ax
mov ecx, 0x6c
mov word [ebp - 0x16b6], cx
xor edx, edx
mov word [ebp - 0x16b4], dx
push edi
push esi
add esp, 4
or edi, 0xab09
and edi, 0x510c
pop edi
push eax
and eax, 0x1404
xor eax, 0x4b8
pop eax
push ecx
push eax
add esp, 4
xor ecx, 0x26ec
add ecx, 0x933e
pop ecx
mov byte [ebp - 0x820], 0x4c
mov byte [ebp - 0x81f], 0x6f
mov byte [ebp - 0x81e], 0x61
mov byte [ebp - 0x81d], 0x64
mov byte [ebp - 0x81c], 0x4c
mov byte [ebp - 0x81b], 0x69
mov byte [ebp - 0x81a], 0x62
mov byte [ebp - 0x819], 0x72
mov byte [ebp - 0x818], 0x61
mov byte [ebp - 0x817], 0x72
mov byte [ebp - 0x816], 0x79
mov byte [ebp - 0x815], 0x57
mov byte [ebp - 0x814], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1898], eax
mov ecx, dword [ebp - 0x1898]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x189c], edx
mov eax, dword [ebp - 0x189c]
mov dword [ebp - 0x14dc], eax
push ebx
push edx
add esp, 4
and ebx, 0xab5a
jmp 0x4078f9
pop ebx
push edx
xor edx, 0x6e9c
xor edx, 0x10b2e
pop edx
push eax
add eax, 0x11901
xor eax, 0x109cd
jmp 0x40791a
pop eax
cmp dword [ebp - 0x14dc], 0
jne 0x407933
mov dword [ebp - 0x6ec], 0
jmp 0x407bef
mov ecx, dword [ebp - 0x14dc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc2c], eax
push esi
or esi, 0x16467
pop esi
push edi
jmp 0x407955
and edi, 0x62
or edi, 0x1315
pop edi
push edi
sub edi, 0x37d4
pop edi
push esi
push eax
add esp, 4
jmp 0x407976
pop esi
cmp dword [ebp - 0xc2c], 0
jne 0x40798f
mov dword [ebp - 0x6ec], 0
jmp 0x407bef
mov ecx, dword [ebp - 0xc2c]
mov dword [ebp - 0x4d8], ecx
push esi
push ebx
add esp, 4
call 0x4079ad
add byte [ebp + 0x4c], al
cmp eax, 0x42453943
add esp, 4
call 0x4079bd
add byte [edx + 0x4b], al
inc esi
cmp byte [eax + 0x49], dl
cmp eax, dword [ebx + 0x535e04c4]
push eax
add esp, 4
jmp 0x4079cc
pop ebx
lea edx, [ebp - 0x16cc]
mov dword [ebp - 0xc28], edx
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc24], ecx
xor edx, edx
mov word [ebp - 0x1fc], dx
xor eax, eax
mov word [ebp - 0x104], ax
push edx
push ecx
add esp, 4
or edx, 0x623
or edx, 0x6f8e
xor edx, 0x2661
pop edx
push ebx
jmp 0x407a1a
pop ebx
push eax
xor eax, 0x139c9
jmp 0x407a2b
pop eax
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xf82], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xf82]
mov word [ebp - 0x1fc], cx
mov edx, dword [ebp - 0xc28]
mov ax, word [edx]
mov word [ebp - 0xf84], ax
mov ecx, dword [ebp - 0xc28]
add ecx, 2
mov dword [ebp - 0xc28], ecx
mov dx, word [ebp - 0xf84]
mov word [ebp - 0x104], dx
push esi
add esi, 0xb1e0
sub esi, 0x7f18
pop esi
push edx
or edx, 0x12ad5
xor edx, 0x150b9
xor edx, 0x62ab
jmp 0x407aaf
pop edx
push esi
and esi, 0x1779f
pop esi
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x407adb
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x407b3e
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x4079fa
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x4079fa
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x407b28
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x407b32
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x407b87
push ecx
push edi
add esp, 4
or ecx, 0xc057
xor ecx, 0x9e56
pop ecx
push edx
sub edx, 0x17f62
xor edx, 0x1624
and edx, 0x406f
pop edx
push edi
push ebx
add esp, 4
xor edi, 0xaecc
pop edi
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x6ec], ecx
jmp 0x407bef
push edx
push ecx
add esp, 4
and edx, 0x11a43
xor edx, 0x1309b
jmp 0x407b9e
add edx, 0xd655
pop edx
push edx
call 0x407bb5
add byte [esi + 0x46], al
xor ecx, dword ds:[esi + 0x46]
inc edx
inc esp
dec eax
add esp, 4
pop edx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x407be5
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x40799b
mov dword [ebp - 0x6ec], 0
push edi
xor edi, 0xd850
sub edi, 0xb96
sub edi, 0x10c7e
xor edi, 0xb564
pop edi
push eax
push eax
add esp, 4
jmp 0x407c14
sub eax, 0x12604
and eax, 0x154fc
pop eax
cmp dword [ebp - 0x6ec], 0
jne 0x407c6b
push ebx
push ebx
add esp, 4
sub ebx, 0x11a6c
pop ebx
push ecx
xor ecx, 0x64bc
and ecx, 0x9bcb
sub ecx, 0x103f
call 0x407c58
add byte [ebx + ecx*2], dh
cmp dword [ebp + 0x32], ecx
dec ebp
cmp ecx, dword [esi + 0x46]
add esp, 4
pop ecx
mov dword [ebp - 0x738], 0
jmp 0x408792
push edx
add edx, 0xe75d
pop edx
push eax
push ecx
add esp, 4
sub eax, 0x17cd8
and eax, 0xda1c
pop eax
push eax
push eax
add esp, 4
and eax, 0x9398
pop eax
push ecx
push ebx
add esp, 4
and ecx, 0xa7
pop ecx
mov eax, dword [ebp - 0x6ec]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x6fc], 0
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x14e8], edx
cmp dword [ebp - 0x14e8], 0
jne 0x407cdc
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], eax
jmp 0x407fcd
mov ecx, dword [ebp - 0x14e8]
mov edx, dword [ebp - 0x2f8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14ec], edx
jne 0x407d04
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], eax
jmp 0x407fcd
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x14ec]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x14f0], ecx
cmp dword [ebp - 0x14f0], 0
jne 0x407d36
mov edx, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], edx
jmp 0x407fcd
mov eax, dword [ebp - 0x2f8]
add eax, dword [ebp - 0x14f0]
mov dword [ebp - 0x6f0], eax
jne 0x407d5b
mov ecx, dword [ebp - 0x6fc]
mov dword [ebp - 0x3c4], ecx
jmp 0x407fcd
mov edx, dword [ebp - 0x6f0]
mov eax, dword [ebp - 0x2f8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x18a0], eax
mov ecx, dword [ebp - 0x6f0]
mov edx, dword [ebp - 0x2f8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18a4], edx
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [ebp - 0x2f8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18a8], ecx
mov dword [ebp - 0x6f4], 0
jmp 0x407db5
mov edx, dword [ebp - 0x6f4]
add edx, 1
mov dword [ebp - 0x6f4], edx
mov eax, dword [ebp - 0x6f0]
mov ecx, dword [ebp - 0x6f4]
cmp ecx, dword [eax + 0x18]
jae 0x407fc1
mov edx, dword [ebp - 0x6f4]
mov eax, dword [ebp - 0x18a0]
mov ecx, dword [ebp - 0x2f8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x6f8], ecx
mov edx, dword [ebp - 0x6f4]
mov eax, dword [ebp - 0x18a4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x18a8]
mov eax, dword [ebp - 0x2f8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18ac], eax
mov dword [ebp - 0x180], 0
jmp 0x407e25
mov ecx, dword [ebp - 0x180]
add ecx, 1
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x6f8]
add edx, dword [ebp - 0x180]
movsx eax, byte [edx]
test eax, eax
je 0x407ed7
mov ecx, dword [ebp - 0x180]
movsx edx, byte [ebp + ecx - 0x820]
test edx, edx
je 0x407ed7
push ecx
or ecx, 0x195e
or ecx, 0x9c03
sub ecx, 0x12881
pop ecx
push ebx
push edx
add esp, 4
or ebx, 0x15460
and ebx, 0x77d6
add ebx, 0xdacd
sub ebx, 0xa890
pop ebx
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x180]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x180]
movsx eax, byte [ebp + edx - 0x820]
cmp ecx, eax
je 0x407ec9
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x180]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x180]
movsx ecx, byte [ebp + eax - 0x820]
cmp edx, ecx
jne 0x407ed0
jmp 0x407e16
jmp 0x407ed7
push eax
push edx
add esp, 4
sub eax, 0x96f4
or eax, 0x37a7
sub eax, 0x5202
pop eax
push ebx
add ebx, 0x20e0
add ebx, 0xe0de
add ebx, 0xc61d
or ebx, 0x62c9
pop ebx
mov edx, dword [ebp - 0x6f8]
add edx, dword [ebp - 0x180]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x180]
movsx edx, byte [ebp + ecx - 0x820]
cmp eax, edx
jne 0x407f36
mov dword [ebp - 0xc30], 0
jmp 0x407fa5
push ebx
sub ebx, 0x1596a
pop ebx
push edi
push eax
add esp, 4
add edi, 0x3681
call 0x407f56
add byte [edx + 0x4e], cl
dec edi
aas
push eax
cmp al, 0x48
add esp, 4
pop edi
push eax
invalid
invalid
sbb cl, 0