Function at 0x434f70
Capabilities:
Set file attributes
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f2b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push str.E:NBMSClientServAddr.ini
lea ecx, [esp + 0x20]
call fcn.00401fd0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x38], 0
call fcn.004195d0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov byte [esp + 0x40], 1
call fcn.004ceccf
add esp, 0x10
test eax, eax
je 0x43532f
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0042e450
mov byte [esp + 0x30], 2
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov bl, 3
push eax
mov byte [esp + 0x34], bl
call fcn.00401660
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 4
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x14], eax
call edi
lea eax, [esp + 0x14]
push eax
push str.ServIp
push 0x4fcf54
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 4
call fcn.0047d230
push 0x20
push 0x20
lea ecx, [esp + 0x1c]
call fcn.00409500
mov ecx, eax
call fcn.00409340
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x435144
mov ecx, dword [esp + 0x10]
push ecx
push eax
call fcn.004ceccf
add esp, 8
test eax, eax
je 0x435144
mov eax, dword [esi + 0x13c]
push eax
call sub.IOCPTcp.dll_TcpDestroy
or edi, 0xffffffff
mov dword [esi + 0x13c], edi
call fcn.0040f270
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0x40d
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4350c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4350e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435108
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43512a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x30], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x43536e
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
call fcn.004040e0
mov ecx, dword [esp + 0xc]
push 0x80
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
push str.ServIp
push 0x4fcf54
lea ecx, [esp + 0x18]
call fcn.0047d1a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
call fcn.004040e0
mov ecx, dword [esp + 0xc]
push 0x80
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
push str.ServIp
push 0x4fcf54
lea ecx, [esp + 0x18]
call fcn.0047d1a0
call fcn.004078a0
mov edi, eax
lea esi, [edi + 4]
mov ecx, esi
call fcn.00401300
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 0x2c]
push ecx
push edi
call fcn.004ceccf
add esp, 8
test eax, eax
je 0x4351f8
push 0x43
call fcn.004079e0
mov ecx, eax
call fcn.004866c0
test eax, eax
je 0x4351f8
lea edx, [esp + 0x10]
push edx
call fcn.004078a0
mov ecx, eax
call fcn.0041a370
lea eax, [esp + 0x20]
push eax
push 0x2001f
push 0
push str.SOFTWAREicafe8_bho
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x44], 5
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x435272
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREicafe8_bho
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x435272
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4352df
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
push eax
mov dword [esp + 0x24], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.FirstPageReportIp
push esi
call edi
call fcn.004078a0
movzx eax, word [eax + 0x30]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push str.FirstPageReportPort
push esi
mov dword [esp + 0x38], eax
call edi
test esi, esi
je 0x4352c7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4352e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43530c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43532f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret