Function at 0x40bd43
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x214
mov edi, dword [ebp + 0xc]
mov ebx, edi
mov esi, edi
and ebx, 4
mov eax, dword [0x444cfc]
xor eax, esp
mov dword [esp + 0x210], eax
and esi, 2
je 0x40bc7c
mov eax, dword [ebp + 8]
test al, 2
je 0x40bc95
test ebx, ebx
je 0x40bc6e
mov eax, dword [ebp + 8]
test al, 4
je 0x40bc95
test edi, 1
jne 0x40bd2e
jmp 0x40bcd3
test ebx, ebx
je 0x40bcfd
mov eax, dword [ebp + 8]
test al, 4
je 0x40bc95
test edi, 1
jne 0x40bd2e
jmp 0x40bce8
lea eax, [esp + 0x10]
push 0x200
push 0
push eax
call fcn.0040db90
add esp, 0xc
fxsave [esp + 0x10]
mov eax, dword [esp + 0x2c]
test al, 0x40
jne 0x40bcbb
mov esi, 0
test eax, 0x20000
jne 0x40bcc7
mov ebx, 0
test edi, 1
jne 0x40bd2e
test esi, esi
je 0x40bce4
stmxcsr dword [esp]
mov eax, dword [esp]
or eax, 0x40
mov dword [esp], eax
ldmxcsr dword [esp]
test ebx, ebx
je 0x40bd05
stmxcsr dword [esp]
mov eax, dword [esp]
or eax, 0x20000
mov dword [esp], eax
ldmxcsr dword [esp]
jmp 0x40bd05
test edi, 1
jne 0x40bd2e
mov ecx, dword [esp + 0x210]
mov dword [esp + 0x210], 0
xor ecx, esp
cmp ecx, dword [0x444cfc]
jne 0x40bd43
add esp, 0x214
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
stmxcsr dword [esp]
mov eax, dword [esp]
or eax, 0x8000
mov dword [esp], eax
ldmxcsr dword [esp]
jmp 0x40bccf
call fcn.0040c6fe
nop
lea esi, [esi]
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x168
mov eax, dword [0x444cfc]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x44752c], 0
je 0x40c042
cmp dword [0x447520], 0
je 0x40be77
cmp dword [0x447524], 0
jbe 0x40bdc6
push ebx
mov eax, 1
cpuid
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], eax
pop ebx
mov eax, dword [ebp - 0x118]
test eax, 0x4000000
je 0x40bdb8
mov edi, 2
jmp 0x40bdc8
test eax, 0x800000
je 0x40bdc6
mov edi, 1
jmp 0x40bdc8
xor edi, edi
mov eax, dword [0x447530]
test eax, eax
jbe 0x40bde2
mov edx, dword [0x447534]
mov ebx, eax
imul edx, dword [0x447538]
jmp 0x40bde6
xor ebx, ebx
xor edx, edx
mov ecx, dword [0x447540]
cmp ecx, ebx
jbe 0x40bdff
mov edx, dword [0x447544]
mov ebx, ecx
imul edx, dword [0x447548]
mov ecx, dword [0x447550]
cmp ecx, ebx
jbe 0x40be18
mov edx, dword [0x447554]
mov ebx, ecx
imul edx, dword [0x447558]
test eax, eax
je 0x40bff8
shl eax, 0xa
shl ebx, 0xa
mov ecx, eax
mov dword [0x445520], ebx
shr ebx, 1
mov dword [0x445524], ebx
mov ebx, eax
mov dword [0x445528], eax
lea eax, [eax + eax*2]
shr ecx, 1
add eax, eax
shr ebx, 2
mov dword [0x44552c], ecx
mov dword [0x445530], ebx
mov dword [0x447568], edx
mov dword [0x445534], 0x2000
mov dword [0x445538], eax
mov dword [0x44553c], 0x800
jmp 0x40bfd0
xor eax, eax
lea edx, [ebp - 0x30]
mov dword [ebp - 0x20], 0x68747541
mov dword [ebp - 0x1c], 0x69746e65
mov dword [ebp - 0x18], 0x444d4163
mov byte [ebp - 0x14], al
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
push eax
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x124]
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x2c]
jne 0x40bfcc
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x40bfcc
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jne 0x40bfcc
mov dword [ebp - 0x144], 1
lea eax, [ebp - 0x30]
mov dword [ebp - 0x140], eax
push eax
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x144]
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
pop edx
pop ecx
pop ebx
pop eax
test dword [ebp - 0x24], 0x800000
je 0x40bf2d
mov edi, 1
jmp 0x40bf31
xor eax, eax
xor edi, edi
mov dword [ebp - 0x13c], 0x80000000
lea edx, [ebp - 0x30]
mov dword [ebp - 0x138], edx
push eax
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x13c]
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 0x30], 0x80000006
jb 0x40bfd0
mov dword [ebp - 0x15c], 0x80000006
lea edx, [ebp - 0x30]
mov dword [ebp - 0x158], edx
push eax
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp - 0x158]
mov eax, dword [ebp - 0x15c]
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
pop edx
pop ecx
pop ebx
pop eax
movzx edx, word [ebp - 0x26]
shl edx, 0xa
mov ecx, dword [0x445528]
mov dword [0x445520], edx
shr edx, 1
shr ecx, 2
mov dword [0x445524], edx
mov dword [0x445530], ecx
jmp 0x40bfd0
xor eax, eax
xor edi, edi
mov dword [0x447564], edi
mov dword [0x447560], edi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x444cfc]
jne 0x40c03d
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
push str.__INTEL_LIBIRC_DEBUG
call fcn.0041c974
add esp, 4
test eax, eax
je 0x40bfd0
cmp byte [eax], 0
je 0x40bfd0
xor ebx, ebx
push ebx
push ebx
push 1
call fcn.0040b970
add esp, 0xc
push 0
push 0x3d
push 1
call fcn.0040b970
add esp, 0xc
push ebx
push ebx
push 1
call fcn.0040b970
add esp, 0xc
push 1
call fcn.004171d6
call fcn.0040c6fe
mov dword [ebp - 0x128], 0
push eax
push ecx
pushfd
pop eax
mov ecx, eax
xor eax, 0x200000
push eax
popfd
pushfd
pop eax
cmp eax, ecx
je 0x40c06a
mov dword [ebp - 0x128], 1
push ecx
popfd
pop ecx
pop eax
cmp dword [ebp - 0x128], 0
je 0x40c387
xor edi, edi
lea eax, [ebp - 0x14c]
mov dword [eax - 8], eax
mov dword [ebp - 0x40], 0x756e6547
mov dword [ebp - 0x3c], 0x49656e69
mov dword [ebp - 0x38], 0x6c65746e
mov dword [ebp - 0x34], edi
mov dword [eax + 4], edi
mov dword [eax], edi
push eax
push ebx
push ecx
push edx
mov eax, 0
cpuid
cmp dword [ebp - 0x40], ebx
jne 0x40c0ce
cmp dword [ebp - 0x3c], edx
jne 0x40c0ce
cmp dword [ebp - 0x38], ecx
jne 0x40c0ce
mov dword [ebp - 0x148], 1
mov edx, dword [ebp - 0x154]
mov dword [edx], eax
pop edx
pop ecx
pop ebx
pop eax
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x14c]
mov dword [0x447520], eax
mov dword [0x447524], edx
cmp edx, 4
jl 0x40c1ef
mov dword [ebp - 0x160], 0
lea eax, [ebp - 0x100]
mov dword [eax - 0x68], eax
push eax
push ebx
push ecx
push edx
push edi
push esi
mov esi, dword [ebp - 0x168]
mov edi, 0
mov ecx, edi
mov eax, 4
cpuid
test eax, 0x1f
je 0x40c13e
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
add edi, 1
cmp edi, 8
jge 0x40c13e
add esi, 0x10
jmp 0x40c116
mov dword [ebp - 0x160], edi
pop esi
pop edi
pop edx
pop ecx
pop ebx
pop eax
mov esi, dword [ebp - 0x160]
xor edi, edi
test esi, esi
jle 0x40c1ef
mov eax, edi
mov ebx, eax
movzx ecx, byte [ebp + ebx - 0x100]
mov edx, ecx
and edx, 0x1d
cmp edx, 1
jne 0x40c1e1
and ecx, 0xe0
shr ecx, 1
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + ebx - 0xfc]
movzx edi, word [ebp + ebx - 0xfa]
and eax, 0x3ff000
and edi, 0xffc0
shr eax, 0xc
shr edi, 6
inc eax
movzx edx, word [ebp + ebx - 0xfc]
inc edi
and edx, 0xfff
mov dword [ecx + 0x44752c], edi
inc edx
mov dword [ecx + 0x447528], eax
imul eax, edi
mov edi, dword [ebp + ebx - 0xf8]
inc edi
imul edi, edx
imul edi, eax
shr edi, 0xa
mov dword [ecx + 0x447524], edx
mov dword [ecx + 0x447520], edi
mov eax, dword [ebp - 0x164]
inc eax
add ebx, 0x10
cmp eax, esi
jl 0x40c15e
xor edi, edi
cmp dword [0x447530], 0
jne 0x40c387
cmp dword [ebp - 0x14c], 2
jl 0x40c387
lea eax, [ebp - 0x80]
mov dword [ebp - 0x16c], eax
push eax
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp - 0x16c]
mov eax, 2
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp al, 1
jle 0x40c274
cmp al, 2
jle 0x40c261
cmp al, 3
jle 0x40c24e
mov eax, 2
cpuid
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov eax, 2
cpuid
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov eax, 2
cpuid
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop esi
pop edx
pop ecx
pop ebx
pop eax
movzx edx, byte [ebp - 0x80]
cmp edx, 4
jle 0x40c289
mov edx, 0x10
jmp 0x40c294
shl edx, 2
test edx, edx
jle 0x40c387
mov eax, edi
movzx ecx, byte [ebp + eax*4 - 0x7d]
test ecx, 0x80
jne 0x40c37e
mov ebx, edi
lea ecx, [ebp + eax*4 - 0x80]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x164], edx
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x12c]
movzx edi, byte [eax + edx]
cmp edi, 0xff
je 0x40c423
movzx eax, byte [edi*8 + 0x444d20]
and eax, 7
mov dword [ebp - 0x134], eax
je 0x40c35a
cmp dword [ebp - 0x134], 2
je 0x40c396
mov ebx, dword [ebp - 0x134]
shl ebx, 4
movzx eax, word [edi*8 + 0x444d20]
mov edx, dword [edi*8 + 0x444d20]
and eax, 0x7ff8
movzx ecx, word [edi*8 + 0x444d22]
and edx, 0x3f8000
and ecx, 0xffc0
mov edi, dword [edi*8 + 0x444d24]
shr eax, 3
shr edx, 0xf
shr ecx, 6
mov dword [ebx + 0x447524], eax
mov dword [ebx + 0x447528], edx
mov dword [ebx + 0x44752c], ecx
mov dword [ebx + 0x447520], edi
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], eax
cmp eax, 4
jl 0x40c2c5
mov eax, dword [ebp - 0x150]
xor edi, edi
mov edx, dword [ebp - 0x164]
inc eax
cmp eax, edx
jl 0x40c296
mov dword [0x44752c], 1
jmp 0x40bd73
cmp edi, 0x49
jne 0x40c301
mov dword [ebp - 0x174], 1
lea eax, [ebp - 0x110]
mov dword [eax - 0x60], eax
push eax
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp - 0x170]
mov eax, dword [ebp - 0x174]
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov edx, dword [ebp - 0x110]
mov eax, edx
and eax, 0xf00
cmp eax, 0xf00
jne 0x40c301
test edx, 0xf000000
jne 0x40c301
mov eax, edx
shr eax, 0xc
shr edx, 4
and eax, 0xf0
and edx, 0xf
or eax, edx
cmp eax, 6
jne 0x40c301
mov dword [ebp - 0x134], 3
jmp 0x40c301
xor edi, edi
mov dword [0x447530], edi
mov dword [0x447534], edi
mov dword [0x447538], edi
mov dword [0x44753c], edi
mov dword [0x447540], edi
mov dword [0x447544], edi
mov dword [0x447548], edi
mov dword [0x44754c], edi
mov dword [0x447550], edi
mov dword [0x447554], edi
mov dword [0x447558], edi
mov dword [0x44755c], edi
jmp 0x40c387