Function at 0x421550
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Query or enumerate registry value

Disassembly:
sub esp, 0x80
mov eax, dword [0x4310d8]
push ebx
push ebp
push esi
mov dword [esp + 0x88], eax
mov al, 0x2c
mov esi, ecx
mov cl, 0x7c
mov byte [esp + 0x31], al
mov byte [esp + 0x32], cl
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], al
mov bl, 5
mov byte [esp + 0x4b], al
mov cl, 0x9e
mov al, 0x48
mov dl, 0x70
push edi
mov byte [esp + 0x34], 0x54
mov byte [esp + 0x37], 0xc
mov byte [esp + 0x38], 0x12
mov byte [esp + 0x3b], 0xe7
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x8d
mov byte [esp + 0x3e], 0x53
mov byte [esp + 0x3f], 0x29
mov byte [esp + 0x40], 0xa2
mov byte [esp + 0x41], 0xa8
mov byte [esp + 0x42], 0x4e
mov byte [esp + 0x43], 0x45
mov byte [esp + 0x44], 0xc5
mov byte [esp + 0x45], 0x81
mov byte [esp + 0x46], 9
mov byte [esp + 0x47], 0xb3
mov byte [esp + 0x48], 0xdc
mov byte [esp + 0x49], 0x50
mov byte [esp + 0x4a], 0x2a
mov byte [esp + 0x4b], 0xc2
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x69
mov byte [esp + 0x4e], 0x76
mov byte [esp + 0x50], 0x20
mov byte [esp + 0x51], 0x30
mov byte [esp + 0x52], dl
mov byte [esp + 0x53], cl
mov byte [esp + 0x54], 0x5a
mov byte [esp + 0x55], 0x4c
mov byte [esp + 0x56], 0xd3
mov byte [esp + 0x57], 0x82
mov byte [esp + 0x58], 0x4f
mov byte [esp + 0x59], 0x90
mov byte [esp + 0x64], 0xff
mov byte [esp + 0x65], 0x23
mov byte [esp + 0x66], 0xca
mov byte [esp + 0x67], al
mov byte [esp + 0x68], 0x45
mov byte [esp + 0x69], 0xc5
mov byte [esp + 0x6a], 0x26
mov byte [esp + 0x6b], 0x5e
mov byte [esp + 0x6c], 0xc
mov byte [esp + 0x6d], 0xc0
mov byte [esp + 0x6e], 0x10
mov byte [esp + 0x6f], 0x18
mov byte [esp + 0x70], 0xc4
mov byte [esp + 0x71], 0xbd
mov byte [esp + 0x72], 0x17
mov byte [esp + 0x73], 0xe9
mov byte [esp + 0x74], cl
mov byte [esp + 0x75], 0xee
mov byte [esp + 0x76], 0x64
mov byte [esp + 0x77], 0xa9
mov byte [esp + 0x78], 0x74
mov byte [esp + 0x79], 0x15
mov byte [esp + 0x7a], al
mov byte [esp + 0x7b], 0xb1
mov byte [esp + 0x7c], 0x6a
mov byte [esp + 0x7d], bl
mov byte [esp + 0x7e], 0xeb
mov byte [esp + 0x7f], 0x40
mov byte [esp + 0x80], 0
mov byte [esp + 0x81], 0x16
mov ax, word [0x431f38]
mov bl, 0xea
mov byte [esp + 0x82], 0xf9
mov byte [esp + 0x83], 0xd4
mov byte [esp + 0x84], 0xb
mov byte [esp + 0x85], 0x2b
mov byte [esp + 0x86], 0x8e
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], 0x1d
mov byte [esp + 0x89], dl
xor ecx, ecx
lea ebx, [ebx]
mov dl, byte [esp + ecx + 0x64]
add byte [esp + ecx + 0x34], dl
mov dl, byte [esp + ecx + 0x65]
add byte [esp + ecx + 0x35], dl
add ax, 0x6d
add ecx, 2
add ax, 0x6d
cmp ecx, 0x26
jl 0x421710
mov ebp, dword [0x431f34]
mov cl, 0x56
mov byte [esp + 0x5c], cl
mov byte [esp + 0x28], cl
mov cl, 0xbc
add ebp, 0x32
mov byte [esp + 0x2e], cl
mov dl, 0x41
mov byte [esp + 0x23], cl
xor ecx, ecx
mov byte [esp + 0x5d], 0x65
mov byte [esp + 0x5e], 0x72
mov byte [esp + 0x5f], 0x73
mov byte [esp + 0x60], 0x69
mov byte [esp + 0x61], 0x6f
mov byte [esp + 0x62], 0x6e
mov byte [esp + 0x63], 0
mov dword [0x431f34], ebp
mov byte [esp + 0x29], 0x99
mov byte [esp + 0x2a], 0x50
mov byte [esp + 0x2b], 0xde
mov byte [esp + 0x2c], 0x57
mov byte [esp + 0x2d], 0x88
mov byte [esp + 0x2f], 0xad
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], 0xf4
mov byte [esp + 0x32], 0xf3
mov byte [esp + 0x1c], 0xf7
mov byte [esp + 0x1d], 0xd7
mov byte [esp + 0x1e], 0x16
mov byte [esp + 0x1f], 0x75
mov byte [esp + 0x20], 0xe
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0xba
mov byte [esp + 0x24], 0x22
mov byte [esp + 0x25], 0x71
mov byte [esp + 0x26], 0xd
add ax, 0x4af
jmp 0x4217e0
mov bl, byte [esp + ecx + 0x1c]
add byte [esp + ecx + 0x28], bl
inc ecx
cmp ecx, 0xb
jl 0x4217e0
add ax, 0x6d
add ax, 0x6d
add ax, 0x6d
add ax, 0x6d
add ax, 0x6d
add ax, 0x6d
add ax, 0x6d
add ax, 0x6d
push 0xff
xor ebx, ebx
add ax, 0x6d
push 8
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0x4d
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], bl
mov word [0x431f38], ax
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 1
push ebx
lea ecx, [esp + 0x40]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x421890
call edi
mov dword [esi + 0xb4], eax
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x1c]
push eax
push ebx
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4218bd
call edi
mov dword [esi + 0xb4], eax
jmp 0x421961
push 0x42e310
push ebp
call fcn.00425a4d
add esp, 8
cmp eax, ebx
je 0x4218de
push eax
call fcn.004259c0
add esp, 4
mov dword [esi + 0xa4], eax
push 0x42e310
push ebx
call fcn.00425a4d
add esp, 8
cmp eax, ebx
je 0x4218ff
push eax
call fcn.004259c0
add esp, 4
mov dword [esi + 0xa8], eax
mov al, byte [0x431f34]
imul byte [0x431f2c]
mov cl, byte [0x431f30]
and al, 0x50
and cl, al
movsx ax, bl
mov byte [0x431f30], cl
mov ecx, 0x77
push 0x42e310
push ebx
sub ecx, eax
mov word [0x431f38], cx
call fcn.00425a4d
add esp, 8
cmp eax, ebx
je 0x42194d
push eax
call fcn.004259c0
add esp, 4
mov dword [esi + 0xac], eax
mov dword [esi + 0xb8], 1
mov dword [esi + 0xb0], 0x19
mov eax, dword [0x431f2c]
movsx ecx, bl
sub eax, ecx
mov dword [0x431f2c], eax
and al, 2
lea edx, [ecx*4]
mov byte [0x431f30], al
lea edi, [esi + 0xb4]
movsx ax, bl
sub word [0x431f38], ax
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [0x431f34], edx
call fcn.0041f020
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esi + 0xbc], eax
call fcn.0041f100
mov dword [esi + 0xc0], eax
movsx cx, byte [0x431f30]
mov eax, dword [0x431f34]
mov edx, 0x77
push ebp
add eax, 0x50
push ebx
mov dword [0x431f2c], eax
sub edx, ecx
mov word [0x431f38], dx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.00424873
add esp, 0x80
ret