Function at 0x4397a0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b00e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c0
mov eax, dword [0x6526c4]
push ebx
push esi
push edi
mov dword [ebp - 0x7c], ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
push ebx
push ecx
neg eax
push ebx
push 0xf003f
sbb eax, eax
push ebx
and eax, 0xf
push ebx
push ebx
add eax, 0xf
push 0x652748
push reloc.WSOCK32.dll_accept
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [0x6526c8], eax
mov byte [ebp - 0x2d], bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x439849
mov edx, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push 0x653480
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x439849
mov edi, 0x6533b4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 0x14]
not ecx
push ecx
push 0x6533b4
push 1
push ebx
push 0x653480
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 0x2d], 1
mov ecx, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push 0x652530
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4398b7
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x44], bx
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 1
push edx
call fcn.00435ba0
add esp, 4
test al, al
je 0x4398ab
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x4398e2
lea eax, [ebp - 0x44]
lea esi, [ebp - 0x44]
push eax
call fcn.0057e90a
mov ecx, dword [ebp - 0x14]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push esi
push ebx
push ebx
push 0x652530
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00401070
mov edx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
push edi
push edi
push edi
push edi
push 0x6533a0
push edx
call ebx
test eax, eax
je 0x439915
mov eax, dword [0x67a028]
cmp eax, edi
jne 0x4398e6
mov eax, 0x67a02c
jmp 0x4398ea
mov esi, eax
jmp 0x43988b
mov esi, eax
jmp 0x4398ef
mov esi, 0x67a02c
push eax
call fcn.0057e90a
mov ecx, dword [ebp - 0x14]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push edi
push 0x6533a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x439c11
lea edx, [ebp - 0x54]
push edx
push 0x20019
push edi
push 0x651318
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439c11
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x4bc]
push eax
push ecx
push edi
push edi
push 0x653380
push edx
mov dword [ebp - 0x1c], 0x208
call ebx
test eax, eax
jne 0x439c05
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
mov word [ebp - 0x38], di
mov eax, 0x64efb0
mov byte [ebp - 4], 2
test eax, eax
je 0x439a49
lea ecx, [ebp - 0x4bc]
test ecx, ecx
je 0x439a49
lea edx, [ebp - 0x4bc]
lea ecx, [ebp - 0x60]
push edx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], edi
mov word [ebp - 0x5c], di
call fcn.00401fc0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00401070
push edi
push 0x64efb0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
mov word [ebp - 0x44], di
call fcn.004028e0
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.00401fb0
push eax
call fcn.0057e90a
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005970d9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x3c], edx
je 0x439a31
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x60]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x3c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0057e90a
add esp, 0x14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00401070
lea edx, [ebp - 0x4bc]
push 0x7e
push edx
call fcn.0057ed7f
add esp, 8
test eax, eax
je 0x439b6d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x6c2]
mov word [ebp - 0x6c4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x6c4]
lea ecx, [ebp - 0x4bc]
push eax
push ecx
call fcn.0043b3d0
mov edx, 0x64efb0
add esp, 8
test edx, edx
je 0x439b6d
test eax, eax
je 0x439b6d
xor ecx, ecx
push eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x44], cx
lea ecx, [ebp - 0x48]
call fcn.00401fc0
mov bl, 5
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00401070
xor eax, eax
lea ecx, [ebp - 0x60]
push eax
push 0x64efb0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov word [ebp - 0x5c], ax
call fcn.004028e0
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00401fb0
push eax
call fcn.0057e90a
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005970d9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x3c], edx
je 0x439b50
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x48]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x60]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x3c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0057e90a
add esp, 0x14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00401070
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x4bc]
push edx
push eax
push 0
push 0
push 0x6533a0
push ecx
mov dword [ebp - 0x1c], 0x208
call ebx
test eax, eax
jne 0x439bf9
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x439bca
lea eax, [ebp - 0x38]
lea esi, [ebp - 0x38]
push eax
call fcn.0057e90a
push eax
lea edx, [ebp - 0x4bc]
push esi
push edx
call fcn.00593212
add esp, 0x10
test eax, eax
jne 0x439bf9
mov eax, dword [0x67a028]
test eax, eax
jne 0x439bce
mov eax, 0x67a02c
jmp 0x439bd2
mov esi, eax
jmp 0x439b9f
mov esi, eax
jmp 0x439bd7
mov esi, 0x67a02c
push eax
call fcn.0057e90a
mov ecx, dword [ebp - 0x14]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x6533a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00401070
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov edx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
push ecx
push edi
push edi
push 0x653374
push edx
mov dword [ebp - 0x2c], 4
call ebx
test eax, eax
je 0x439c5b
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push 0x653374
push ecx
mov dword [ebp - 0x18], 0
call edi
jmp 0x439c61
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.00433d10
mov eax, dword [0x67a018]
test eax, eax
jne 0x439c74
mov eax, 0x67a01c
push eax
call fcn.004362a0
add esp, 4
test al, al
jne 0x439c94
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x67a018]
test eax, eax
jne 0x439cec
mov eax, 0x67a01c
mov esi, eax
push eax
call fcn.0057e90a
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x14]
push edx
push esi
push 1
push 0
push 0x653364
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [0x6754d4]
mov dword [ebp - 0x4c], ecx
mov eax, dword [0x6526c4]
mov byte [ebp - 4], 7
test eax, eax
push 0x65335c
je 0x439cf0
lea edx, [ebp - 0x4c]
push 0x653350
push edx
jmp 0x439cf9
mov esi, eax
jmp 0x439ca4
lea eax, [ebp - 0x4c]
push 0x653348
push eax
call fcn.00593b08
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x1b4]
push ecx
push edx
push 0
push 0
push 0x652740
push eax
mov dword [ebp - 0x90], 0x40
call ebx
test eax, eax
jne 0x439d79
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x1b4]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x439d5d
test cl, cl
je 0x439d59
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x439d5d
add eax, 2
add esi, 2
test cl, cl
jne 0x439d35
xor eax, eax
jmp 0x439d62
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x439e24
mov dword [0x67a044], 1
jmp 0x439e24
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a28
push 0
push 0x653324
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x439e24
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x24]
push edx
push eax
push 0
push 0
mov esi, 4
push 0x653314
push ecx
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
je 0x439de2
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
push esi
push edx
push esi
push 0
push 0x653314
push eax
mov dword [ebp - 0x24], 2
call edi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x24]
push ecx
push edx
push 0
push 0
push 0x653304
push eax
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
je 0x439e1a
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push esi
push ecx
push esi
push 0
push 0x653304
push edx
mov dword [ebp - 0x24], 2
call edi
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x4c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 1
push eax
push 0x652740
push ecx
call esi
mov edx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push 0
push 0
push 0
push 0x6532f8
push edx
call ebx
test eax, eax
je 0x439e9a
lea eax, [ebp - 0xd8]
push eax
call fcn.00580b04
lea edi, [ebp - 0xd8]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [ebp - 0x14]
dec ecx
push ecx
lea ecx, [ebp - 0xd8]
push ecx
push 1
push eax
push 0x6532f8
push edx
call esi
mov eax, dword [ebp - 0x14]
xor edi, edi
push edi
push edi
push edi
push edi
push 0x6532e8
push eax
mov dword [ebp - 0x18], edi
call ebx
test eax, eax
je 0x439ec6
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push edi
push 0x6532e8
push edx
call esi
mov eax, dword [ebp - 0x14]
push edi
push edi
push edi
push edi
push 0x6532d8
push eax
mov dword [ebp - 0x18], edi
call ebx
test eax, eax
je 0x439ef0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push edi
push 0x6532d8
push edx
call esi
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
mov edi, 1
push 0x6532c8
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], 4
call ebx
test eax, eax
je 0x439f32
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push 0x6532c8
push ecx
mov dword [ebp - 0x18], edi
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43a0dd
lea edx, [ebp - 0x54]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x6500a0
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43a0dd
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x38], cx
mov eax, dword [0x67a018]
mov byte [ebp - 4], 8
cmp eax, ecx
jne 0x439f86
mov eax, 0x67a01c
mov ecx, 0x6532bc
test ecx, ecx
je 0x43a05b
test eax, eax
je 0x43a05b
xor esi, esi
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x44], si
call fcn.00401fc0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.00401070
push esi
push 0x6532bc
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x5c], si
call fcn.004028e0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xa
cmp eax, esi
jne 0x439fe2
lea eax, [ebp - 0x44]
mov esi, dword [ebp - 0x58]
push eax
call fcn.0057e90a
lea ebx, [eax + esi + 2]
lea esi, [ebx + ebx]
push esi
call fcn.005970d9
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebp - 0x3c], edi
je 0x43a043
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x43a020
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x60]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x3c]
push ebx
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0057e90a
add esp, 0x14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00401070
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.00401070
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x8cc]
push edx
push eax
push 0
push 0
push 0x6532b0
push ecx
mov dword [ebp - 0x64], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a0a2
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x43a08e
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x8cc]
push eax
push edx
call fcn.00580edc
add esp, 8
test eax, eax
je 0x43a0d1
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x43a11b
lea eax, [ebp - 0x38]
lea esi, [ebp - 0x38]
push eax
call fcn.0057e90a
mov ecx, dword [ebp - 0x54]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x6532b0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.00401070
mov edx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [ebp - 0x18], 1
push esi
push esi
push esi
push esi
push 0x65253c
push edx
call ebx
test eax, eax
je 0x43a11f
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push esi
push 0x65253c
push ecx
call edi
jmp 0x43a125
mov esi, eax
jmp 0x43a0af
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x14]
push esi
push esi
push esi
push esi
push 0x65329c
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
je 0x43a14f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push esi
push 0x65329c
push ecx
call edi
mov edx, dword [ebp - 0x14]
push esi
push esi
push esi
push esi
push 0x65328c
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
je 0x43a179
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push esi
push 0x65328c
push ecx
call edi
mov edx, dword [ebp - 0x14]
push esi
push esi
push esi
push esi
push 0x653280
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
je 0x43a1a3
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push esi
push 0x653280
push ecx
call edi
mov edx, dword [ebp - 0x14]
push esi
push esi
push esi
push esi
push 0x653274
push edx
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
je 0x43a1cd
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push esi
push 0x653274
push ecx
call edi
mov al, byte [ebp - 0x2d]
test al, al
je 0x43a1de
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
push ecx
push esi
push esi
push 0x653268
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], 4
call ebx
test eax, eax
je 0x43a21c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push esi
push 0x653268
push ecx
mov dword [ebp - 0x18], 1
call edi
lea ecx, [ebp - 0x78]
call fcn.004d6f40
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
call fcn.004d6f40
mov eax, dword [0x6526c4]
mov byte [ebp - 4], 0xc
cmp eax, esi
jne 0x43a39c
mov ecx, dword [0x67a038]
mov eax, dword [0x67a8f4]
lea edx, [ebp - 0x14]
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push esi
push 0xf003f
neg ecx
push esi
push esi
sbb ecx, ecx
push esi
add ecx, reloc.WSOCK32.dll_bind
push eax
push ecx
call edi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x68], eax
jne 0x43a470
mov edx, dword [0x6754d4]
mov dword [ebp - 0x50], edx
mov eax, dword [0x67a038]
mov byte [ebp - 4], 0xd
cmp eax, esi
mov eax, 0x651774
jne 0x43a29f
mov eax, 0x65176c
mov ecx, dword [0x67a8f4]
lea edx, [ebp - 0x50]
push ecx
push eax
push 0x64fa0c
push edx
call fcn.00593b08
mov eax, dword [ebp - 0x50]
add esp, 0x10
lea ecx, [ebp - 0x78]
push eax
call fcn.004d6ff0
cmp eax, esi
je 0x43a300
mov eax, dword [0x67a038]
mov edx, dword [0x67a8f4]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
neg eax
push 0xf003f
push 0
sbb eax, eax
push 0
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x43a390
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x651724
push reloc.WSOCK32.dll_accept
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x43a390
mov edx, dword [0x6754d4]
mov dword [ebp - 0x1c], edx
push 0x651724
lea eax, [ebp - 0x1c]
push 0x651714
push eax
mov byte [ebp - 4], 0xe
call fcn.00593b08
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004d6ff0
test eax, eax
je 0x43a384
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x651724
push reloc.WSOCK32.dll_accept
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.0059ad3d
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
jmp 0x43a463
lea eax, [ebp - 0x14]
mov ecx, dword [0x67a8f0]
push 0
push eax
mov al, byte [0x67a040]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor edx, edx
push 0
test al, al
push 0xf003f
push 0
setne dl
push 0
push 0
add edx, reloc.WSOCK32.dll_accept
push ecx
push edx
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x43a470
mov eax, dword [0x6754d4]
mov dword [ebp - 0x1c], eax
mov al, byte [0x67a040]
mov byte [ebp - 4], 0xf
test al, al
mov eax, 0x65176c
jne 0x43a3fd
mov eax, 0x651774
mov ecx, dword [0x67a8f0]
lea edx, [ebp - 0x1c]
push ecx
push eax
push 0x64fa0c
push edx
call fcn.00593b08
mov eax, dword [ebp - 0x1c]
add esp, 0x10
lea ecx, [ebp - 0x78]
push eax
call fcn.004d6ff0
test eax, eax
je 0x43a45c
lea ecx, [ebp - 0x14]
mov edx, dword [0x67a8f0]
push 0
push ecx
mov cl, byte [0x67a040]
xor eax, eax
push 0
push 0xf003f
test cl, cl
push 0
push 0
setne al
push 0
add eax, reloc.WSOCK32.dll_accept
push edx
push eax
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c]
call fcn.0059ad3d
test esi, esi
je 0x43a960
mov ecx, dword [ebp - 0x14]
push 0
push 0
push 0
push 0
push 0x651764
push ecx
call ebx
test eax, eax
je 0x43a960
lea edx, [ebp - 0x68]
push edx
call fcn.00580063
lea eax, [ebp - 0x68]
push eax
call fcn.005809fa
mov ecx, dword [eax + 0x1c]
add esp, 8
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x64]
push edx
push eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x14]
push 0
push 0
mov edi, 4
push 0x653260
push ecx
mov dword [ebp - 0x2c], edi
call ebx
test eax, eax
je 0x43a4ea
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x50]
push edi
push eax
push edi
push 0
push 0x653260
push ecx
mov dword [ebp - 0x64], edx
call esi
jmp 0x43a4f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x24]
push edx
push eax
push 0
push 0
push 0x653258
push ecx
mov dword [ebp - 0x2c], edi
call ebx
test eax, eax
je 0x43a5e0
mov eax, dword [0x6526c4]
mov edi, 1
test eax, eax
mov dword [ebp - 0x24], edi
je 0x43a584
lea edx, [ebp - 0x54]
push edx
push edi
push 0
push 0x653218
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a584
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push 0x653258
push edx
mov dword [ebp - 0x2c], 4
call ebx
test eax, eax
jne 0x43a57a
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1e
jbe 0x43a5db
add eax, 0xffffffe2
cmp eax, 0x1a
mov dword [ebp - 0x24], eax
jbe 0x43a57a
mov dword [ebp - 0x24], 0x1a
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push 4
push ecx
push 4
push 0
push 0x653258
push edx
call esi
test eax, eax
je 0x43a956
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
call fcn.004d6f80
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.004d6f80
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], edi
jmp 0x43a57a
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x6526c8]
cmp eax, ecx
jae 0x43a643
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
je 0x43a956
jbe 0x43a60b
sub eax, ecx
cmp eax, 0x14
jbe 0x43a610
mov eax, 0x14
jmp 0x43a610
mov eax, 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
add ecx, eax
push edi
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
push ecx
push edi
push 0
push 0x653258
push edx
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push edi
push eax
push edi
push 0
push 0x653260
push ecx
call esi
jmp 0x43a956
mov eax, dword [0x6526c4]
test eax, eax
jne 0x43a89a
lea edx, [ebp - 0x20]
push edx
push 1
push 0
push 0x64ee70
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov esi, 0x32
jne 0x43a778
mov edx, dword [0x67a638]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x20]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a778
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push eax
mov eax, dword [0x67a634]
push eax
push ecx
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a778
mov ecx, dword [0x67a630]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x174]
push edx
mov edx, dword [ebp - 0x20]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a778
mov edx, dword [0x67a63c]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x20]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a778
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [ebp - 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43a778
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43a778
lea edi, [ebp - 0x174]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43a778
lea edi, [ebp - 0xc4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x43a778
cmp byte [ebp - 0xbf], 0x2d
jne 0x43a778
cmp byte [ebp - 0xb9], 0x2d
jne 0x43a778
cmp byte [ebp - 0xb3], 0x2d
je 0x43a960
lea edx, [ebp - 0x20]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x652748
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43a89a
mov edx, dword [0x67a638]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x20]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a89a
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push eax
mov eax, dword [0x67a634]
push eax
push ecx
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a89a
mov ecx, dword [0x67a630]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x174]
push edx
mov edx, dword [ebp - 0x20]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a89a
mov edx, dword [0x67a63c]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x20]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x28], esi
call ebx
test eax, eax
jne 0x43a89a
lea edi, [ebp - 0x140]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43a89a
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43a89a
lea edi, [ebp - 0x174]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43a89a
lea edi, [ebp - 0xc4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x17
jne 0x43a89a
cmp byte [ebp - 0xbf], 0x2d
jne 0x43a89a
cmp byte [ebp - 0xb9], 0x2d
jne 0x43a89a
cmp byte [ebp - 0xb3], 0x2d
je 0x43a960
lea ecx, [ebp - 0x794]
call fcn.004d72b0
mov edi, 0x6531f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x2b4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 4], 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x67b1b4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x2b4]
push 0x100
push ecx
lea ecx, [ebp - 0x4fc]
call fcn.004392f0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2b4]
push 0x100
push edx
push 0
push 0
push 0x651764
push eax
mov byte [ebp - 0x1b5], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
lea ecx, [ebp - 0x78]
call fcn.004d70b0
lea ecx, [ebp - 0x8c]
call fcn.004d70b0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
call fcn.004d6f80
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.004d6f80
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret