Function at 0x40c300
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x99c
mov eax, dword [esp + 0x9a4]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x10], 0x2710
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0xf
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x103
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 1
jne 0x40c364
pop edi
pop esi
pop ebp
mov eax, 0x2710
pop ebx
add esp, 0x99c
ret
push eax
call dword [0x458284]
test eax, eax
jg 0x40c37f
pop edi
pop esi
pop ebp
mov eax, 0x2710
pop ebx
add esp, 0x99c
ret
mov esi, dword [esp + 0x9c8]
mov ebp, dword [0x4582e4]
cmp esi, ebx
je 0x40c461
push 0x45df20
push esi
call dword [0x4582f8]
test eax, eax
je 0x40c461
lea eax, [esp + 0x7a4]
push esi
push eax
call ebp
lea ecx, [esp + 0x7a4]
push 0x208
push ecx
call fcn.0040ad90
mov cl, byte [esp + 0x7ac]
add esp, 8
xor eax, eax
lea esi, [esp + 0x7a4]
test cl, cl
je 0x40c3fb
mov edi, dword [0x458468]
cmp cl, 0x7c
push esi
je 0x40c3f4
call edi
mov esi, eax
mov cl, byte [esi]
test cl, cl
jne 0x40c3e2
jmp 0x40c3f9
call edi
mov byte [esi], 0
xor ebx, ebx
cmp dword [esp + 0x9d4], ebx
jne 0x40c40c
cmp dword [0x46a6b4], ebx
jne 0x40c446
cmp byte [eax], 0
je 0x40c446
mov ecx, dword [0x46a6dc]
push eax
push 0x24
push ecx
call fcn.0040a4c0
add esp, 0xc
cmp eax, 6
je 0x40c446
mov edx, dword [esp + 0x9d8]
xor eax, eax
cmp edx, ebx
pop edi
setne al
pop esi
pop ebp
add eax, 0x2710
pop ebx
add esp, 0x99c
ret
mov al, byte [esp + 0x7a4]
test al, al
je 0x40c461
lea edx, [esp + 0x7a4]
push edx
call fcn.00410f20
add esp, 4
mov ecx, dword [0x46a6fc]
xor eax, eax
cmp ecx, ebx
mov ecx, dword [esp + 0x9b4]
setne al
lea edx, [esp + 0x88]
mov edi, eax
push ecx
push edx
mov dword [esp + 0x44], edi
call ebp
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.0040ad90
lea ecx, [esp + 0x90]
push ecx
call fcn.0040d9e0
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x40], eax
jne 0x40c4e3
lea edx, [esp + 0x498]
push 0x104
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.0040da60
add esp, 0xc
test eax, eax
je 0x40c4e3
lea ecx, [esp + 0x498]
lea edx, [esp + 0x88]
push ecx
push edx
call ebp
mov esi, dword [esp + 0x9b8]
cmp esi, ebx
je 0x40c545
lea eax, [esp + 0x59c]
push esi
push eax
call ebp
lea ecx, [esp + 0x59c]
push 0x104
push ecx
call fcn.0040ad90
lea edx, [esp + 0x4a0]
push 0x104
lea eax, [esp + 0x5a8]
push edx
push eax
call fcn.0040da60
add esp, 0x14
test eax, eax
je 0x40c53e
lea ecx, [esp + 0x498]
lea edx, [esp + 0x59c]
push ecx
push edx
call ebp
lea esi, [esp + 0x59c]
mov ebx, dword [esp + 0x9bc]
test ebx, ebx
je 0x40c5a7
lea eax, [esp + 0x394]
push ebx
push eax
call ebp
lea ecx, [esp + 0x394]
push 0x104
push ecx
call fcn.0040ad90
lea edx, [esp + 0x4a0]
push 0x104
lea eax, [esp + 0x3a0]
push edx
push eax
call fcn.0040da60
add esp, 0x14
test eax, eax
je 0x40c5a0
lea ecx, [esp + 0x498]
lea edx, [esp + 0x394]
push ecx
push edx
call ebp
lea ebx, [esp + 0x394]
mov eax, dword [esp + 0x9e0]
test eax, eax
je 0x40c711
lea eax, [esp + 0x394]
lea ecx, [esp + 0x18c]
push eax
push ecx
call ebp
lea edx, [esp + 0x18c]
push edx
call dword [0x458284]
test eax, eax
je 0x40c5ea
lea eax, [esp + 0x18c]
push eax
call fcn.0040cae0
add esp, 4
mov edi, dword [0x458270]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x18c]
push ecx
push edx
call edi
push esi
call dword [0x458284]
test eax, eax
je 0x40c627
lea eax, [esp + 0x18c]
push 0x45d5b8
push eax
call edi
lea ecx, [esp + 0x18c]
push esi
push ecx
call edi
mov ebx, dword [0x458470]
xor esi, esi
mov byte [esp + 0x6a0], 0
lea edx, [esp + 0x290]
push str.EBURUN
push edx
call ebp
mov eax, esi
inc esi
push eax
lea eax, [esp + 0x48]
push 0x45df14
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x44]
lea edx, [esp + 0x290]
push ecx
push edx
call edi
lea eax, [esp + 0x6a0]
push 0x104
push eax
lea ecx, [esp + 0x298]
push 0x4683b4
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call fcn.004191e0
add esp, 0x18
lea edx, [esp + 0x6a0]
push edx
call dword [0x458284]
test eax, eax
jne 0x40c637
lea eax, [esp + 0x290]
lea ecx, [esp + 0x6a0]
push eax
push ecx
call ebp
lea edx, [esp + 0x290]
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce_
push edx
call ebp
lea eax, [esp + 0x6a0]
lea ecx, [esp + 0x290]
push eax
push ecx
call edi
lea edx, [esp + 0x18c]
push 1
lea eax, [esp + 0x294]
push edx
push eax
push 0x80000002
call fcn.00419340
add esp, 0x10
neg eax
sbb eax, eax
and al, 0xfa
add eax, 0x2716
mov dword [esp + 0x10], eax
call fcn.00411220
jmp 0x40c977
mov cl, byte [0x46a6a4]
mov ebp, dword [esp + 0x9d0]
mov eax, dword [esp + 0x9c4]
lea edx, [esp + 0x88]
cmp edi, 1
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
jne 0x40c764
mov eax, dword [0x46a6fc]
lea ecx, [esp + 0x14]
push ecx
call eax
cmp eax, 0x2710
mov dword [esp + 0x10], eax
jne 0x40c977
mov eax, dword [esp + 0x9e8]
test eax, eax
je 0x40c785
call fcn.0040b800
test eax, eax
jne 0x40c785
mov dword [esp + 0x10], 0x2711
jmp 0x40c977
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x9b0]
test edi, edi
je 0x40c7a3
mov dword [esp + 0x54], edi
jmp 0x40c7ad
call dword [0x458424]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x9c0]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x88]
push ecx
mov dword [esp + 0x50], 0x3c
mov dword [esp + 0x54], 0x440
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
call fcn.004134b0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x40c835
mov esi, dword [esp + 0x9cc]
test esi, esi
je 0x40c835
push eax
call dword [0x4582b0]
push eax
call fcn.0040c1f0
mov eax, dword [esp + 0x48]
add esp, 8
test eax, eax
je 0x40c829
lea edx, [esp + 0x88]
push edx
push esi
push 0x30
push edi
call fcn.0040a450
add esp, 0x10
jmp 0x40c835
push esi
push 0x10
push edi
call fcn.0040a450
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov ebx, 1
mov dword [esp + 0x28], ecx
cmp eax, ebx
mov dword [esp + 0x38], ebx
jne 0x40c864
lea edx, [esp + 0x14]
push edx
call dword [0x46a6fc]
cmp ebp, ebx
jne 0x40c90d
cmp dword [esp + 0x34], ebx
jne 0x40c938
mov esi, dword [0x4582f4]
push 0
call esi
mov eax, dword [esp + 0x84]
push 0xffffffffffffffff
push eax
call dword [0x458428]
push 0
call esi
mov edi, dword [esp + 0x9ec]
mov ebp, dword [esp + 0x9f0]
test edi, edi
jne 0x40c8e1
test ebp, ebp
jne 0x40c8e1
mov eax, dword [esp + 0x2c]
mov ebp, 0x103
cmp eax, ebp
jne 0x40c90d
mov edi, dword [0x458294]
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x2c]
push ecx
push edx
call edi
test eax, eax
je 0x40c90d
call fcn.0040a590
push 0
call esi
cmp dword [esp + 0x2c], ebp
je 0x40c8bd
jmp 0x40c90d
mov ebx, dword [0x458454]
push edi
push ebp
call ebx
test eax, eax
je 0x40c900
call fcn.0040a590
push 0
call esi
push edi
push ebp
call ebx
test eax, eax
jne 0x40c8ef
mov dword [esp + 0x2c], 0
mov ebx, 1
cmp dword [esp + 0x34], ebx
jne 0x40c938
mov eax, dword [esp + 0x2c]
cmp eax, 0xbc2
je 0x40c925
cmp eax, 0xbc3
jne 0x40c92a
call fcn.00411220
mov eax, dword [esp + 0x84]
push eax
call dword [0x4582b4]
mov edi, dword [esp + 0x9e4]
mov dword [esp + 0x38], 2
test edi, edi
je 0x40c956
mov ecx, 0xa
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x3c], ebx
jne 0x40c967
lea ecx, [esp + 0x14]
push ecx
call dword [0x46a6fc]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x40c977
mov dword [esp + 0x10], 0x2716
mov eax, dword [esp + 0x9dc]
test eax, eax
je 0x40c98f
call fcn.00411220
mov dword [esp + 0x10], 0x2715
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x99c
ret