Function at 0x408dd0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b79f
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4811f4]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x4811f4]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov esi, 7
xor eax, eax
mov dword [esp + 0x200], esi
mov dword [esp + 0x1fc], ebx
mov word [esp + 0x1ec], ax
mov dword [esp + 0x288], ebx
xor ecx, ecx
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], cx
mov byte [esp + 0x288], 1
cmp dword [0x483da0], 0x20
jne 0x408ee2
push 0xffffffffffffffff
push ebx
xor edx, edx
push 0x483d8c
mov ecx, 0x483d8c
mov dword [0x483da4], esi
mov dword [0x483da0], ebx
mov word [0x483d90], dx
call fcn.00401d20
mov edi, 8
cmp dword [esp + 0x11c], edi
jb 0x408ea8
mov eax, dword [esp + 0x108]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], cx
cmp dword [esp + 0x200], edi
jb 0x40a1a6
mov edx, dword [esp + 0x1ec]
push edx
call fcn.004472f6
add esp, 4
jmp 0x40a1a6
push 0x24
xor eax, eax
push 0x47a4c8
lea ecx, [esp + 0x244]
mov dword [esp + 0x25c], esi
mov dword [esp + 0x258], ebx
mov word [esp + 0x248], ax
call fcn.00401c30
xor ecx, ecx
mov byte [esp + 0x17], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], cx
xor edx, edx
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], dx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x244]
mov byte [esp + 0x290], 4
xor eax, eax
push ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], ax
call fcn.00401d20
mov byte [esp + 0x288], 5
push 0x11
xor edx, edx
push str.HKEY_CLASSES_ROOT
lea ecx, [esp + 0x228]
mov dword [esp + 0x240], esi
mov dword [esp + 0x23c], ebx
mov word [esp + 0x22c], dx
call fcn.00401c30
mov byte [esp + 0x288], 6
push 0x11
xor eax, eax
push str.HKEY_CURRENT_USER
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1cc], ebx
mov word [esp + 0x1bc], ax
call fcn.00401c30
mov byte [esp + 0x288], 7
xor ecx, ecx
push 0x12
mov word [esp + 0x180], cx
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x180]
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
call fcn.00401c30
mov byte [esp + 0x288], 8
push 0xa
xor edx, edx
push str.HKEY_USERS
lea ecx, [esp + 0x164]
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov word [esp + 0x168], dx
call fcn.00401c30
mov byte [esp + 0x288], 9
xor eax, eax
push 0x15
mov dword [esp + 0x1e8], esi
mov dword [esp + 0x1e4], ebx
mov word [esp + 0x1d4], ax
push str.HKEY_PERFORMANCE_DATA
lea ecx, [esp + 0x1d4]
call fcn.00401c30
mov byte [esp + 0x288], 0xa
xor ecx, ecx
push 0x13
mov word [esp + 0x19c], cx
push str.HKEY_CURRENT_CONFIG
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b0], ebx
call fcn.00401c30
mov byte [esp + 0x288], 0xb
push 0xd
xor edx, edx
push str.HKEY_DYN_DATA
lea ecx, [esp + 0x20c]
mov dword [esp + 0x224], esi
mov dword [esp + 0x220], ebx
mov word [esp + 0x210], dx
call fcn.00401c30
lea eax, [esp + 0x18]
mov byte [esp + 0x288], 0xc
mov edi, 0x5c
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1c], edi
call fcn.004082c0
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0xec]
call fcn.00407ff0
lea edx, [esp + 0x18]
mov byte [esp + 0x288], 0xd
push edx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1c], edi
call fcn.004082c0
lea edx, [eax + 1]
lea eax, [esp + 0xa4]
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x50]
call fcn.00407ff0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x294], 0xe
call fcn.00401d20
mov byte [esp + 0x288], 0xd
cmp dword [esp + 0x64], 8
jb 0x409187
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004472f6
add esp, 4
mov dword [esp + 0x60], ebx
xor edx, edx
mov dword [esp + 0x18], edi
lea edi, [esp + 0x18]
lea ebx, [esp + 0xa4]
mov dword [esp + 0x64], 7
mov word [esp + 0x50], dx
call fcn.00408020
lea edx, [eax + 1]
mov eax, ebx
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x30]
call fcn.00407ff0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x294], 0xf
call fcn.00401d20
mov byte [esp + 0x288], 0xd
cmp dword [esp + 0x44], 8
jb 0x4091f5
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
lea edi, [esp + 0x18]
lea ebx, [esp + 0xa4]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], dx
mov dword [esp + 0x18], 0x5c
call fcn.00408020
mov ecx, ebx
push ecx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0x70]
call fcn.00407ff0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x294], 0x10
call fcn.00401d20
mov byte [esp + 0x288], 0xd
cmp dword [esp + 0x84], 8
jb 0x40926c
mov edx, dword [esp + 0x70]
push edx
call fcn.004472f6
add esp, 4
xor eax, eax
mov ebx, 8
mov esi, 7
mov word [esp + 0x70], ax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], 0
cmp dword [esp + 0x100], ebx
jae 0x4092a6
lea eax, [esp + 0xec]
mov edi, dword [esp + 0xfc]
push eax
mov eax, dword [esp + 0x238]
lea ecx, [esp + 0x224]
call fcn.00408390
test eax, eax
jne 0x4092d2
mov dword [esp + 0x10], bind
jmp 0x4093f9
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], ebx
jae 0x4092e9
lea eax, [esp + 0xec]
mov edi, dword [esp + 0xfc]
push eax
mov eax, dword [esp + 0x1c8]
lea ecx, [esp + 0x1b4]
call fcn.00408390
test eax, eax
jne 0x409315
mov dword [esp + 0x10], reloc.WS2_32.dll_accept
jmp 0x4093f9
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], ebx
jae 0x40932c
lea eax, [esp + 0xec]
mov edi, dword [esp + 0xfc]
push eax
mov eax, dword [esp + 0x190]
lea ecx, [esp + 0x17c]
call fcn.00408390
test eax, eax
jne 0x409358
mov dword [esp + 0x10], reloc.WS2_32.dll_bind
jmp 0x4093f9
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], ebx
jae 0x40936f
lea eax, [esp + 0xec]
mov edi, dword [esp + 0xfc]
push eax
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x160]
call fcn.00408390
test eax, eax
jne 0x409398
mov dword [esp + 0x10], reloc.WS2_32.dll_closesocket
jmp 0x4093f9
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x1cc]
call fcn.0040a1d0
test al, al
je 0x4093b9
mov dword [esp + 0x10], reloc.WS2_32.dll_connect
jmp 0x4093f9
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x194]
call fcn.0040a1d0
test al, al
je 0x4093da
mov dword [esp + 0x10], reloc.WS2_32.dll_getpeername
jmp 0x4093f9
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x204]
call fcn.0040a1d0
test al, al
je 0x4093f9
mov dword [esp + 0x10], reloc.WS2_32.dll_getsockname
cmp dword [esp + 0x100], ebx
jb 0x409412
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004472f6
add esp, 4
xor edi, edi
xor edx, edx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], edi
mov word [esp + 0xec], dx
cmp dword [esp + 0x21c], ebx
jb 0x409445
mov eax, dword [esp + 0x208]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x21c], esi
mov dword [esp + 0x218], edi
mov word [esp + 0x208], cx
cmp dword [esp + 0x1ac], ebx
jb 0x409476
mov edx, dword [esp + 0x198]
push edx
call fcn.004472f6
add esp, 4
xor eax, eax
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], edi
mov word [esp + 0x198], ax
cmp dword [esp + 0x1e4], ebx
jb 0x4094a7
mov ecx, dword [esp + 0x1d0]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
mov dword [esp + 0x1e4], esi
mov dword [esp + 0x1e0], edi
mov word [esp + 0x1d0], dx
cmp dword [esp + 0x174], ebx
jb 0x4094d8
mov eax, dword [esp + 0x160]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x174], esi
mov dword [esp + 0x170], edi
mov word [esp + 0x160], cx
cmp dword [esp + 0x190], ebx
jb 0x409509
mov edx, dword [esp + 0x17c]
push edx
call fcn.004472f6
add esp, 4
xor eax, eax
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], edi
mov word [esp + 0x17c], ax
cmp dword [esp + 0x1c8], ebx
jb 0x40953a
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1c4], edi
mov word [esp + 0x1b4], dx
cmp dword [esp + 0x238], ebx
jb 0x40956b
mov eax, dword [esp + 0x224]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x238], esi
mov dword [esp + 0x234], edi
mov word [esp + 0x224], cx
cmp dword [esp + 0xbc], ebx
jb 0x40959c
mov edx, dword [esp + 0xa8]
push edx
call fcn.004472f6
add esp, 4
cmp dword [esp + 0x10], reloc.WS2_32.dll_accept
jne 0x4095c2
lea eax, [esp + 0x10]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x4095c2
mov dword [esp + 0x10], reloc.WS2_32.dll_accept
mov eax, dword [esp + 0x124]
cmp dword [esp + 0x138], ebx
jae 0x4095d9
lea eax, [esp + 0x124]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409663
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x40960b
lea eax, [esp + 0xc8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push edi
push edi
push edi
push eax
mov eax, dword [esp + 0x30]
push eax
call esi
test eax, eax
jne 0x409651
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x409638
lea eax, [esp + 0xc8]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push eax
push ecx
call esi
test eax, eax
jne 0x409651
mov byte [esp + 0x17], 1
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 7
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x40967e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xdc], ebx
jb 0x409697
mov edx, dword [esp + 0xc8]
push edx
call fcn.004472f6
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], edi
mov word [esp + 0xc8], ax
cmp dword [esp + 0x138], ebx
jb 0x4096c8
mov ecx, dword [esp + 0x124]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
mov byte [esp + 0x288], 1
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], edi
mov word [esp + 0x124], dx
cmp dword [esp + 0x254], ebx
jb 0x409701
mov eax, dword [esp + 0x240]
push eax
call fcn.004472f6
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4098bb
sub esp, 0x1c
mov dword [esp + 0x3c], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x47a4c4
call fcn.00401bc0
sub esp, 0x1c
mov byte [esp + 0x2dc], 0x11
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0x47a518
call fcn.00401bc0
push esi
mov byte [esp + 0x2e0], 1
call fcn.00408440
add esp, 0x3c
lea esi, [esp + 0x158]
call fcn.00407b80
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x294], 0x12
call fcn.00401d20
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00401c00
cmp dword [esp + 0x1fc], 0x41
jne 0x4098b9
push 0
lea ecx, [esp + 0x1ec]
call fcn.00407fc0
cmp word [eax], 0x7f
jae 0x4098b9
push 0
lea ecx, [esp + 0x1ec]
call fcn.00407fc0
cmp word [eax], 0x21
jb 0x4098b9
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, 0x20
lea edx, [ecx - 0x1f]
lea esi, [esp + 0x140]
call fcn.00407ff0
lea edx, [esp + 0x1e8]
mov ecx, 0x20
push edx
lea edx, [ecx + 1]
lea esi, [esp + 0x260]
mov byte [esp + 0x28c], 0x13
call fcn.00407ff0
mov bl, 0x14
mov byte [esp + 0x288], bl
mov eax, dword [esp + 0x150]
sub esp, 0x1c
lea ecx, [eax + eax]
mov esi, esp
mov dword [esp + 0x3c], esp
push ecx
lea ecx, [esp + 0x15c]
call fcn.00402640
mov edi, eax
call fcn.00407db0
add esp, 4
lea esi, [esp + 0xa4]
call fcn.00407b80
add esp, 0x1c
push eax
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x28c], 0x15
call fcn.00406e60
mov ecx, esi
mov byte [esp + 0x288], bl
call fcn.00401c00
lea eax, [esp + 0x25c]
lea ecx, [esp + 0x1e8]
call fcn.0040a1d0
test al, al
je 0x409899
lea edx, [esp + 0x13c]
push edx
lea ecx, [esp + 0x108]
call fcn.00406e60
lea ecx, [esp + 0x25c]
call fcn.00401c00
lea ecx, [esp + 0x13c]
mov byte [esp + 0x288], 1
call fcn.00401c00
xor edi, edi
cmp dword [esp + 0x118], edi
jne 0x40a156
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x40a156
call fcn.0044aa3d
cdq
mov ecx, 0x5d
idiv ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x3c], esp
push 0x10
lea edi, [esp + 0x108]
add edx, 0x21
movzx ebx, dx
call fcn.00407db0
add esp, 4
lea esi, [esp + 0x158]
call fcn.00407b80
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x294], 0x16
call fcn.00401d20
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00401c00
cmp dword [esp + 0x11c], 8
mov edi, dword [esp + 0x108]
jae 0x40995a
lea edi, [esp + 0x108]
mov edx, dword [esp + 0x118]
sub esp, 0x1c
lea eax, [edx + edx]
mov esi, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00407db0
add esp, 4
lea esi, [esp + 0x278]
call fcn.00407b80
add esp, 0x1c
push eax
lea ecx, [esp + 0x108]
lea esi, [esp + 0x140]
mov byte [esp + 0x28c], 0x17
call fcn.0040a200
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x294], 0x18
call fcn.00401d20
mov ecx, esi
call fcn.00401c00
lea ecx, [esp + 0x25c]
mov byte [esp + 0x288], 1
call fcn.00401c00
push ebx
lea edx, [esp + 0x1ec]
lea esi, [esp + 0x140]
call fcn.0040a2b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x294], 0x19
call fcn.00401d20
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00401c00
lea ecx, [esp + 0x1e8]
push ecx
lea ecx, [esp + 0x50]
call fcn.004057a0
push str.HKEY_CURRENT_USERSoftwareSNDAPCID
lea ecx, [esp + 0x30]
mov byte [esp + 0x28c], 0x1a
call fcn.00401bc0
mov byte [esp + 0x288], 0x1c
cmp dword [esp + 0x64], 8
mov edx, dword [esp + 0x60]
lea eax, [edx + edx]
mov dword [esp + 0x20], eax
jb 0x409a62
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
jmp 0x409a6a
lea edx, [esp + 0x50]
mov dword [esp + 0x18], edx
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [esp + 0x34]
xor eax, eax
push ecx
mov esi, 7
lea ecx, [esp + 0x148]
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], edi
mov word [esp + 0x14c], ax
call fcn.00401d20
xor edx, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x21c], esi
mov dword [esp + 0x218], edi
mov word [esp + 0x208], dx
xor eax, eax
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], edi
mov word [esp + 0x198], ax
push 0xffffffffffffffff
mov byte [esp + 0x28c], 0x1f
xor ecx, ecx
push edi
lea edx, [esp + 0x144]
mov word [esp + 0xd0], cx
push edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], edi
call fcn.00401d20
push str.HKEY_CLASSES_ROOT
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x28c], 0x20
call fcn.00401bc0
push str.HKEY_CURRENT_USER
lea ecx, [esp + 0x124]
mov byte [esp + 0x28c], 0x21
call fcn.00401bc0
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x160]
mov byte [esp + 0x28c], 0x22
call fcn.00401bc0
push str.HKEY_USERS
lea ecx, [esp + 0x17c]
mov byte [esp + 0x28c], 0x23
call fcn.00401bc0
push str.HKEY_PERFORMANCE_DATA
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x28c], 0x24
call fcn.00401bc0
push str.HKEY_CURRENT_CONFIG
lea ecx, [esp + 0x224]
mov byte [esp + 0x28c], 0x25
call fcn.00401bc0
push str.HKEY_DYN_DATA
lea ecx, [esp + 0x240]
mov byte [esp + 0x28c], 0x26
call fcn.00401bc0
lea eax, [esp + 0x24]
mov byte [esp + 0x288], 0x27
mov ebx, 0x5c
push eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0x28], ebx
call fcn.004082c0
lea ecx, [esp + 0xc4]
push ecx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0xa8]
call fcn.00407ff0
lea edx, [esp + 0x24]
mov byte [esp + 0x288], 0x28
push edx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x28], ebx
call fcn.004082c0
lea edx, [eax + 1]
lea eax, [esp + 0xc4]
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x70]
call fcn.00407ff0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x294], 0x29
call fcn.00401d20
mov byte [esp + 0x288], 0x28
cmp dword [esp + 0x84], 8
jb 0x409c60
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
mov dword [esp + 0x24], ebx
lea edi, [esp + 0x24]
lea ebx, [esp + 0xc4]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], dx
call fcn.00408020
lea edx, [eax + 1]
mov eax, ebx
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x8c]
call fcn.00407ff0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x294], 0x2a
call fcn.00401d20
mov byte [esp + 0x288], 0x28
cmp dword [esp + 0xa0], 8
jb 0x409ce1
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
lea edi, [esp + 0x24]
lea ebx, [esp + 0xc4]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], dx
mov dword [esp + 0x24], 0x5c
call fcn.00408020
mov ecx, ebx
push ecx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0x260]
call fcn.00407ff0
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0x210]
mov byte [esp + 0x294], 0x2b
call fcn.00401d20
mov esi, 8
mov byte [esp + 0x288], 0x28
cmp dword [esp + 0x274], esi
jb 0x409d6c
mov edx, dword [esp + 0x260]
push edx
call fcn.004472f6
add esp, 4
xor eax, eax
mov word [esp + 0x260], ax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x274], 7
mov dword [esp + 0x270], ebx
cmp dword [esp + 0xbc], esi
jae 0x409d9f
lea eax, [esp + 0xa8]
mov edi, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x1e4]
lea ecx, [esp + 0x1d0]
call fcn.00408390
test eax, eax
jne 0x409dcb
mov dword [esp + 0x10], bind
jmp 0x409e95
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x120]
call fcn.0040a1d0
test al, al
je 0x409def
mov dword [esp + 0x10], reloc.WS2_32.dll_accept
jmp 0x409e95
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x15c]
call fcn.0040a1d0
test al, al
je 0x409e13
mov dword [esp + 0x10], reloc.WS2_32.dll_bind
jmp 0x409e95
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x178]
call fcn.0040a1d0
test al, al
je 0x409e34
mov dword [esp + 0x10], reloc.WS2_32.dll_closesocket
jmp 0x409e95
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x1b0]
call fcn.0040a1d0
test al, al
je 0x409e55
mov dword [esp + 0x10], reloc.WS2_32.dll_connect
jmp 0x409e95
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x220]
call fcn.0040a1d0
test al, al
je 0x409e76
mov dword [esp + 0x10], reloc.WS2_32.dll_getpeername
jmp 0x409e95
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x23c]
call fcn.0040a1d0
test al, al
je 0x409e95
mov dword [esp + 0x10], reloc.WS2_32.dll_getsockname
cmp dword [esp + 0xbc], esi
jb 0x409eae
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], dx
cmp dword [esp + 0x254], esi
jb 0x409ee4
mov eax, dword [esp + 0x240]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x254], edi
mov dword [esp + 0x250], ebx
mov word [esp + 0x240], cx
cmp dword [esp + 0x238], esi
jb 0x409f15
mov edx, dword [esp + 0x224]
push edx
call fcn.004472f6
add esp, 4
xor eax, eax
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov word [esp + 0x224], ax
cmp dword [esp + 0x1c8], esi
jb 0x409f46
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1c4], ebx
mov word [esp + 0x1b4], dx
cmp dword [esp + 0x190], esi
jb 0x409f77
mov eax, dword [esp + 0x17c]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x190], edi
mov dword [esp + 0x18c], ebx
mov word [esp + 0x17c], cx
cmp dword [esp + 0x174], esi
jb 0x409fa8
mov edx, dword [esp + 0x160]
push edx
call fcn.004472f6
add esp, 4
xor eax, eax
mov dword [esp + 0x174], edi
mov dword [esp + 0x170], ebx
mov word [esp + 0x160], ax
cmp dword [esp + 0x138], esi
jb 0x409fd9
mov ecx, dword [esp + 0x124]
push ecx
call fcn.004472f6
add esp, 4
xor edx, edx
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], dx
cmp dword [esp + 0x1e4], esi
jb 0x40a00a
mov eax, dword [esp + 0x1d0]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov word [esp + 0x1d0], cx
cmp dword [esp + 0xdc], esi
jb 0x40a03b
mov edx, dword [esp + 0xc8]
push edx
call fcn.004472f6
add esp, 4
cmp dword [esp + 0x10], reloc.WS2_32.dll_accept
jne 0x40a061
lea eax, [esp + 0x10]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x40a061
mov dword [esp + 0x10], reloc.WS2_32.dll_accept
mov eax, dword [esp + 0x208]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x21c], esi
jae 0x40a07c
lea eax, [esp + 0x208]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40a0da
mov eax, dword [esp + 0x198]
cmp dword [esp + 0x1ac], esi
jae 0x40a0b6
lea eax, [esp + 0x198]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 1
push ebx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
je 0x40a0f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x194]
call fcn.00401c00
lea ecx, [esp + 0x204]
call fcn.00401c00
lea ecx, [esp + 0x13c]
call fcn.00401c00
cmp dword [esp + 0x44], esi
jb 0x40a12c
mov eax, dword [esp + 0x30]
push eax
call fcn.004472f6
add esp, 4
xor ecx, ecx
mov byte [esp + 0x288], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], cx
cmp dword [esp + 0x64], esi
jb 0x40a156
mov edx, dword [esp + 0x50]
push edx
call fcn.004472f6
add esp, 4
lea ecx, [esp + 0x104]
call fcn.0040a360
test al, al
je 0x40a17c
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x10c]
push eax
mov ecx, 0x483d8c
call fcn.00401d20
lea ecx, [esp + 0x104]
push ecx
mov ecx, 0x483d8c
call fcn.004057a0
lea ecx, [esp + 0x104]
call fcn.00401c00
lea ecx, [esp + 0x1e8]
call fcn.00401c00
mov eax, 0x483d8c
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00447258
mov esp, ebp
pop ebp
ret