Function at 0x409c90
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5329e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push esi
push edi
mov ecx, 0x570279
mov dword [ebp - 4], 2
call fcn.005040ed
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00403fc0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00403fc0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x190]
call fcn.00403fc0
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x12]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x3c], 0
push eax
push ecx
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x41005c
push edx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x28], 0x700070
mov dword [ebp - 0x24], 0x69006c
mov dword [ebp - 0x20], 0x610063
mov dword [ebp - 0x1c], 0x690074
mov dword [ebp - 0x18], 0x6e006f
call fcn.00404100
push dword [eax]
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 6
call fcn.0040bc20
cmp dword [eax + 0x14], 8
jb 0x409d61
mov eax, dword [eax]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
mov esi, eax
call fcn.0040b9d0
test esi, esi
jne 0x40a845
xor eax, eax
mov dword [ebp - 0xc8], 0x410020
mov word [ebp - 0xb8], ax
lea ecx, [ebp - 0xb6]
mov word [ebp - 0xe0], ax
lea edx, [ebp - 0xc8]
mov word [ebp - 0x94], ax
lea eax, [ebp - 0xd]
push eax
push ecx
push edx
lea ecx, [ebp - 0x178]
mov dword [ebp - 0xc4], 0x740075
mov dword [ebp - 0xc0], 0x6f0068
mov dword [ebp - 0xbc], 0x730072
mov dword [ebp - 0xf4], 0x500047
mov dword [ebp - 0xf0], 0x200054
mov dword [ebp - 0xec], 0x680043
mov dword [ebp - 0xe8], 0x6f0072
mov dword [ebp - 0xe4], 0x65006d
mov dword [ebp - 0x9c], 0x680054
mov dword [ebp - 0x98], 0x200065
call fcn.00404100
mov edi, eax
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xde]
push ecx
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x16c]
call fcn.00404100
mov esi, dword [eax]
mov byte [ebp - 4], 8
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40a88e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00404ac0
test al, al
jne 0x409ebc
test esi, esi
jne 0x409e9e
xor ecx, ecx
jmp 0x409eb2
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409ea3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00406790
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x92]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x160]
call fcn.00404100
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push ecx
push dword [eax]
lea eax, [ebp - 0x128]
push eax
call fcn.00404680
push dword [edi]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004045b0
add esp, 0x18
mov edx, dword [ebp - 0x128]
or esi, 0xffffffff
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409f2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x160]
call fcn.0040b9d0
mov edx, dword [ebp - 0x40]
mov eax, esi
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409f53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x16c]
call fcn.0040b9d0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x12
call fcn.0040b9d0
xor eax, eax
mov dword [ebp - 0x38], 0x700041
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x12]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x34], 0x6c0070
push eax
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x630069
push edx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x2c], 0x740061
mov dword [ebp - 0x28], 0x6f0069
mov dword [ebp - 0x24], 0x43006e
mov dword [ebp - 0x20], 0x6d006f
mov dword [ebp - 0x1c], 0x610070
mov dword [ebp - 0x18], 0x79006e
call fcn.00404100
mov ecx, dword [ebp - 0x80]
mov edx, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push dword [edx]
push dword [ebp - 0x3c]
call edi
lea ecx, [ebp - 0xa8]
call fcn.0040b9d0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40a898
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
push 0x539ab8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.00404ac0
test al, al
jne 0x40a036
push 5
push 0x539ab8
lea ecx, [ebp - 0x40]
call fcn.00406790
xor eax, eax
mov byte [ebp - 4], 0x14
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x46]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x74], 0x700041
push eax
push ecx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x70], 0x6c0070
push edx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x6c], 0x630069
mov dword [ebp - 0x68], 0x740061
mov dword [ebp - 0x64], 0x6f0069
mov dword [ebp - 0x60], 0x44006e
mov dword [ebp - 0x5c], 0x730065
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x700069
mov dword [ebp - 0x50], 0x690074
mov dword [ebp - 0x4c], 0x6e006f
call fcn.00404100
mov edx, eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [edx]
push dword [ebp - 0x3c]
call edi
lea ecx, [ebp - 0xa8]
call fcn.0040b9d0
cmp dword [ebp + 0x1c], 8
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40a0e0
sub esi, ecx
mov dword [ebp - 0x30], 0x700041
lea eax, [ebp - 0xd]
sar esi, 1
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], 0x6c0070
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], 0x630069
push edx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x24], 0x740061
mov dword [ebp - 0x20], 0x6f0069
mov dword [ebp - 0x1c], 0x49006e
mov dword [ebp - 0x18], 0x6f0063
mov dword [ebp - 0x14], 0x6e
call fcn.00404100
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
mov ecx, eax
lea eax, [esi*2 + 2]
cmovae edx, dword [ebp + 8]
push eax
push edx
push 1
push 0
push dword [ecx]
push dword [ebp - 0x3c]
call edi
lea ecx, [ebp - 0xa8]
call fcn.0040b9d0
xor eax, eax
mov dword [ebp - 0x10c], 0x500047
mov word [ebp - 0xf8], ax
lea ecx, [ebp - 0xf6]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x108], 0x200054
push eax
push ecx
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x104], 0x680043
push edx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x100], 0x6f0072
mov dword [ebp - 0xfc], 0x65006d
call fcn.00404100
mov esi, dword [eax]
mov byte [ebp - 4], 0x15
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40a8a2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x78], eax
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x16
call fcn.00404ac0
test al, al
jne 0x40a21b
test esi, esi
jne 0x40a1fd
xor ecx, ecx
jmp 0x40a211
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a202
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.00406790
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x18
call fcn.0040b9d0
lea eax, [ebp - 0xd]
mov dword [ebp - 0x30], 0x700041
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], 0x6c0070
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], 0x630069
push edx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x24], 0x740061
mov dword [ebp - 0x20], 0x6f0069
mov dword [ebp - 0x1c], 0x4e006e
mov dword [ebp - 0x18], 0x6d0061
mov dword [ebp - 0x14], 0x65
call fcn.00404100
mov edi, dword [ebp - 0x78]
mov ecx, eax
mov eax, dword [edi - 0xc]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push dword [ecx]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x13c]
call fcn.0040b9d0
lea eax, [ebp - 0xd]
mov dword [ebp - 0xdc], 0x530054
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xd8], 0x720042
push ecx
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xd4], 0x77006f
push edx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0xd0], 0x650073
mov dword [ebp - 0xcc], 0x72
call fcn.00404100
mov esi, dword [eax]
mov byte [ebp - 4], 0x19
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40a8ac
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x7c], eax
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
call fcn.00404ac0
test al, al
jne 0x40a34c
test esi, esi
jne 0x40a32e
xor ecx, ecx
jmp 0x40a342
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a333
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x7c]
call fcn.00406790
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1c
call fcn.0040b9d0
xor eax, eax
mov dword [ebp - 0x30], 0x700041
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x12]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x2c], str.errorCharacter
push eax
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], 0x650073
push edx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x24], 0x4d0072
mov dword [ebp - 0x20], 0x64006f
mov dword [ebp - 0x1c], 0x6c0065
mov dword [ebp - 0x18], 0x640049
call fcn.00404100
mov esi, dword [ebp - 0x7c]
mov ecx, eax
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ecx]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0xb4]
call fcn.0040b9d0
xor eax, eax
mov dword [ebp - 0x2c], 0x44005c
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x12]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x28], 0x660065
push eax
push ecx
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], 0x750061
push edx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x20], 0x74006c
mov dword [ebp - 0x1c], 0x630049
mov dword [ebp - 0x18], 0x6e006f
call fcn.00404100
push dword [eax]
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x1d
call fcn.0040bc20
cmp dword [eax + 0x14], 8
jb 0x40a434
mov eax, dword [eax]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x1c
call fcn.0040b9d0
cmp dword [ebp - 0x44], 0
jne 0x40a7d2
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40a482
sub edx, ecx
lea ecx, [ebp + 8]
sar edx, 1
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
lea eax, [edx*2 + 2]
push eax
push ecx
push 1
push 0
push 0x5399b0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x73005c
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], 0x650068
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x6c006c
push edx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x2c], 0x6f005c
mov dword [ebp - 0x28], 0x650070
mov dword [ebp - 0x24], 0x5c006e
mov dword [ebp - 0x20], 0x6f0063
mov dword [ebp - 0x1c], 0x6d006d
mov dword [ebp - 0x18], 0x6e0061
mov dword [ebp - 0x14], 0x64
call fcn.00404100
push dword [eax]
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x1e
call fcn.0040bc20
cmp dword [eax + 0x14], 8
jb 0x40a52d
mov eax, dword [eax]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x1c
call fcn.0040b9d0
cmp dword [ebp - 0x44], 0
jne 0x40a7d2
lea eax, [ebp - 0xd]
mov dword [ebp - 0x74], 0x2d0020
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x70], 0x73002d
push ecx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x6c], 0x6e0069
push edx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x68], 0x6c0067
mov dword [ebp - 0x64], 0x2d0065
mov dword [ebp - 0x60], 0x720061
mov dword [ebp - 0x5c], 0x750067
mov dword [ebp - 0x58], 0x65006d
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x250020
mov dword [ebp - 0x4c], 0x31
call fcn.00404100
mov dword [ebp - 0x90], eax
mov edx, dword [ebp + 0x48]
mov ecx, bind
sub ecx, edx
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x44], edx
cmp ecx, 1
jb 0x40a8b6
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x130], eax
inc edx
mov eax, 7
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x8c], ecx
movups xmmword [ebp - 0x124], xmm0
cmp edx, eax
jbe 0x40a686
mov eax, edx
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x40a64f
mov eax, bind
jmp 0x40a659
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x124]
inc eax
push eax
call fcn.00403670
mov edx, dword [ebp - 0x12c]
mov ecx, eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x110], eax
mov eax, 0x22
mov dword [ebp - 0x114], edx
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 0x44]
add eax, eax
push eax
push dword [ebp - 0x130]
push ecx
call fcn.00506e30
mov eax, dword [ebp - 0x8c]
xor edx, edx
mov ecx, dword [ebp - 0x44]
mov word [eax + ecx*2 + 2], dx
push 0x539a8c
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403730
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x21
push dword [ecx]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00403730
add esp, 0x24
lea ecx, [ebp - 0x28]
call fcn.00403120
mov ecx, dword [ebp - 0x110]
mov byte [ebp - 4], 0x1f
cmp ecx, 8
jb 0x40a740
mov edx, dword [ebp - 0x124]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a736
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a8bb
push ecx
push edx
call fcn.005040df
add esp, 8
xor eax, eax
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
call fcn.0040b9d0
cmp dword [ebp - 0x140], 8
lea edx, [ebp - 0x154]
cmovae edx, dword [ebp - 0x154]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40a780
sub edx, ecx
lea ecx, [ebp - 0x154]
sar edx, 1
cmp dword [ebp - 0x140], 8
cmovae ecx, dword [ebp - 0x154]
lea eax, [edx*2 + 2]
push eax
push ecx
push 1
push 0
push 0x5399b0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x154]
call fcn.00403120
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x18
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a7f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov byte [ebp - 4], 0x14
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a80b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a829
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40a845
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x190]
call fcn.00403120
lea ecx, [ebp - 0x1a8]
call fcn.00403120
lea ecx, [ebp - 0x1c0]
call fcn.00403120
lea ecx, [ebp + 8]
call fcn.00403120
lea ecx, [ebp + 0x20]
call fcn.00403120
lea ecx, [ebp + 0x38]
call fcn.00403120
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
push 0x80004005
call fcn.00404a90
push 0x80004005
call fcn.00404a90
push 0x80004005
call fcn.00404a90
call fcn.00402980
call fcn.0050b3af
int3