Function at 0x40c870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0xa8
push 0xffffffffffffffff
push 0x52bcf0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x592884]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.004ca970
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp + 0x18], ax
mov ebx, 0x32
lea eax, [ebp + 0x60]
mov dword [ebp - 0x10], 0
mov dword [ebp + 0x60], 0x4f0053
lea edx, [eax + 2]
mov dword [ebp + 0x64], 0x540046
mov dword [ebp + 0x68], 0x410057
mov dword [ebp + 0x6c], 0x450052
mov dword [ebp + 0x70], 0x32005c
mov dword [ebp + 0x74], 0x340033
mov dword [ebp + 0x78], 0x2e0035
mov dword [ebp + 0x7c], 0x6f0063
mov dword [ebp + 0x80], 0x5c006d
mov dword [ebp + 0x84], 0x330032
mov dword [ebp + 0x88], 0x350034
mov dword [ebp + 0x8c], 0x690050
mov dword [ebp + 0x90], 0x440063
mov dword [ebp + 0x94], 0x730065
mov dword [ebp + 0x98], 0x670069
mov dword [ebp + 0x9c], 0x65006e
mov dword [ebp + 0xa0], 0x72
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c970
sub eax, edx
lea ecx, [ebp + 0x18]
sar eax, 1
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0040e3c0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0x18]
push eax
push SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.004ca980
test al, al
jne 0x40c9b0
xor bl, bl
jmp 0x40cb95
push 1
xor eax, eax
mov dword [ebp + 0x40], 0
push 0x563eec
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
call fcn.0040e3c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x48]
push 7
xor eax, eax
mov dword [ebp + 0x58], 0
push 0x563ef0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
call fcn.0040e3c0
push 0
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0x48]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.004cb4e0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x5c]
cmp edx, 8
jb 0x40ca51
mov ecx, dword [ebp + 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc0c
push edx
push ecx
call fcn.004f7230
add esp, 8
push 7
xor eax, eax
mov dword [ebp + 0x10], 0
push str.2345Pic
lea ecx, [ebp]
mov dword [ebp + 0x14], 7
mov word [ebp], ax
call fcn.0040e3c0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
push 0xd
xor eax, eax
mov dword [ebp + 0x58], 0
push str.InstallSource
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
call fcn.0040e3c0
push 0
lea eax, [ebp]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 0x48]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.004cb4e0
mov edx, dword [ebp + 0x5c]
cmp edx, 8
jb 0x40caee
mov ecx, dword [ebp + 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cae4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc11
push edx
push ecx
call fcn.004f7230
add esp, 8
mov edx, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
cmp edx, 8
jb 0x40cb3c
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc16
push edx
push ecx
call fcn.004f7230
add esp, 8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x44]
mov bl, 1
cmp edx, 8
jb 0x40cb81
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc1b
push edx
push ecx
call fcn.004f7230
add esp, 8
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x40cbcb
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cc20
push edx
push ecx
call fcn.004f7230
add esp, 8
xor eax, eax
mov dword [ebp + 0x28], 0
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
call fcn.004045d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.004f6f55
lea esp, [ebp + 0xa8]
pop ebp
ret
call fcn.004fbb09
call fcn.004fbb09
call fcn.004fbb09
call fcn.004fbb09
call fcn.004fbb09
int3