Function at 0x404c80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x469108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x48b9d4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x30]
push 0x48fd70
mov byte [esp + 0x2c], 2
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x14]
call fcn.0045ce69
lea ecx, [esi + 0x18]
push 0x48fd70
call fcn.0045ce69
lea ecx, [esi + 0x1c]
push 0x48fd70
call fcn.0045ce69
lea edi, [esi + 0x24]
push 0x48fd70
mov ecx, edi
call fcn.0045ce69
lea ebp, [esi + 0x28]
push 0x48fd70
mov ecx, ebp
call fcn.0045ce69
lea ebx, [esi + 0x20]
push 0x48fd70
mov ecx, ebx
call fcn.0045ce69
lea ecx, [esi + 0x2c]
push 0x48fd70
call fcn.0045ce69
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.remote
call fcn.00404b50
test eax, eax
je 0x404de8
mov ecx, dword [esp + 0x10]
push str.127.0.0.1
push ecx
call fcn.00446592
add esp, 8
test eax, eax
jne 0x404d7e
push str.127.0.0.1
mov ecx, edi
mov dword [esi + 4], eax
call fcn.0045ce69
push str.127.0.0.1
mov ecx, ebp
call fcn.0045ce69
jmp 0x404e16
lea edx, [esp + 0x18]
push 0x481180
lea eax, [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0045ca55
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call fcn.00404b70
test eax, eax
mov dword [esi + 4], 1
je 0x404dce
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0045ce19
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0045ce19
jmp 0x404e1a
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0045ce19
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0045ce19
jmp 0x404e1a
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push 0x481330
call fcn.00404b50
test eax, eax
je 0x404eec
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
mov dword [esi + 4], 2
call fcn.0045ce19
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0x48132c
call fcn.00404b50
test eax, eax
je 0x404e3c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x18]
call fcn.0045ce19
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push 0x481328
call fcn.00404b50
test eax, eax
je 0x404e5e
lea eax, [esp + 0x10]
lea ecx, [esi + 0x1c]
push eax
call fcn.0045ce19
lea ecx, [esp + 0x10]
push ecx
push 0x481324
mov ecx, ebx
call fcn.00404b50
test eax, eax
je 0x404e7a
mov dword [esi + 8], 1
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push str.frpu
call fcn.00404b50
test eax, eax
je 0x404e9c
lea eax, [esp + 0x10]
lea ecx, [esi + 0x2c]
push eax
call fcn.0045ce19
lea ecx, [esp + 0x10]
push ecx
push str.exit
mov ecx, ebx
call fcn.00404b50
test eax, eax
je 0x404eb8
mov dword [esi + 0xc], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.0045cce0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call fcn.0045cce0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0045cce0
mov eax, 1
jmp 0x404f1b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.0045cce0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call fcn.0045cce0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0045cce0
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4