Function at 0x405bc0
Capabilities:
Get hostname
Get local ipv4 addresses
Get session user name
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46425e
mov eax, dword fs:[0]
push eax
mov eax, 0x82d8
call fcn.0044da60
mov eax, dword [0x4844a0]
xor eax, esp
mov dword [esp + 0x82d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0x82ec]
mov dword fs:[0], eax
push str.IsWow64Process
push str.kernel32
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebp, ebp
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x48], ebp
je 0x405c52
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x405c42
push ebp
push ebp
push str.BIT_read_error__
call fcn.00441c2e
cmp dword [esp + 0x48], 1
jne 0x405c52
push 0xc
push str.X64_based_PC
jmp 0x405c59
push 0xc
push str.X86_based_PC
mov ecx, 0x485924
call fcn.00401de0
call fcn.004416d9
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x405c7d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x34], edi
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esi + 0x7dc]
mov dword [esp + 0x82f8], ebp
call fcn.00401360
test eax, eax
je 0x405cc9
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x38]
push 0x46d5a0
push eax
call fcn.004020b0
mov edi, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [edi - 0xc]
cmp eax, ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jl 0x405d88
push 0x46ba94
push edi
call fcn.0044c647
add esp, 8
cmp eax, ebp
je 0x405d88
sub eax, edi
cmp eax, 0xffffffff
je 0x405d88
cmp dword [edi - 0xc], ebp
jge 0x405d05
or eax, 0xffffffff
jmp 0x405d1e
push 0x46ba94
push edi
call fcn.0044c647
add esp, 8
cmp eax, ebp
jne 0x405d1c
or eax, 0xffffffff
jmp 0x405d1e
sub eax, edi
push eax
push ebp
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.00404d70
push eax
mov ecx, 0x4858e4
mov byte [esp + 0x82f8], 1
call fcn.00401ff0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405d69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push ebp
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebx
call fcn.0043a20e
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 0x1e8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x1e4]
push edx
lea ecx, [esp + 0x2c]
call fcn.00403950
mov byte [esp + 0x82f4], 2
call fcn.004416d9
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x405dd7
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
push 0x5c
push ecx
mov byte [esp + 0x82fc], 3
call fcn.0044d671
add esp, 8
cmp eax, ebp
jne 0x405e07
or eax, 0xffffffff
jmp 0x405e0b
sub eax, dword [esp + 0x28]
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.00404e20
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x82f8], 4
call fcn.00401ff0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
push eax
call fcn.00401ba0
add eax, 0x10
mov dword [esp + 0x58], eax
push 0x5c
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x8304], 5
call fcn.00404fe0
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x82f8], 6
call fcn.00401ff0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x6c]
call fcn.0044340f
mov byte [esp + 0x82f4], 7
call fcn.004416d9
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x405ee9
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push str.syslog
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x8300], 8
call fcn.004020d0
mov eax, dword [eax]
push 0x46ba90
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x830c], 9
call fcn.004020b0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x82f4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
push ebp
push 0x4000
push ecx
lea ecx, [esp + 0x78]
call fcn.00443425
test eax, eax
jne 0x406217
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x48], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x20]
call fcn.00403950
push eax
mov ecx, 0x4858e0
mov byte [esp + 0x82f8], 0xa
call fcn.00401ff0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405fdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push ebp
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebx
lea eax, [esp + 0x18]
push eax
push 1
push ebp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x50], 0x50
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x98]
push edx
push ebp
push ebp
push str.DefaultDomainName
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
push 0x66
push ebp
mov dword [esp + 0x20], ebp
call sub.NETAPI32.dll_NetWkstaGetInfo
push ebp
push 0x46c2df
mov ecx, 0x4858f4
mov edi, eax
call fcn.00401de0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x20]
call fcn.00403950
push eax
mov ecx, 0x4858f0
mov byte [esp + 0x82f8], 0xb
call fcn.00401ff0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4858f0]
mov edx, dword [0x4858e0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x406132
cmp edi, ebp
jne 0x4061a1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.004050b0
push eax
mov ecx, 0x4858f4
mov byte [esp + 0x82f8], 0xc
call fcn.00401ff0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406121
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46c2df
mov ecx, 0x4858f0
call fcn.00402e20
jmp 0x406182
cmp edi, ebp
jne 0x4061a1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.004050b0
push eax
mov ecx, 0x4858f0
mov byte [esp + 0x82f8], 0xd
call fcn.00401ff0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406182
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push ebp
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebx
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4061af
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push ebp
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebx
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push ebp
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebx
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push ebp
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4066b9
push 0x46c2df
lea ecx, [esp + 0x18]
call fcn.00403950
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x82f8], 0xe
xor ebx, ebx
mov dword [esp + 0x1c], ebp
xor edi, edi
call fcn.0044396c
test eax, eax
je 0x4062e1
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x4062c8
push str.Microsoft_Corporation
push ecx
call fcn.0044c647
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x4062a3
sub eax, ecx
cmp eax, 0xffffffff
je 0x4062a3
cmp dword [ecx - 0xc], 0
mov ebp, ebx
jge 0x406284
or edi, 0xffffffff
jmp 0x4062a3
push str.Microsoft_Corporation
push ecx
call fcn.0044c647
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x40629f
or edi, 0xffffffff
jmp 0x4062a3
sub eax, ecx
mov edi, eax
cmp dword [ecx - 0xc], 0
jl 0x4062c8
push str.pagefile.sys
push ecx
call fcn.0044c647
add esp, 8
test eax, eax
je 0x4062c8
sub eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4062c8
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x70]
add ebx, 1
call fcn.0044396c
test eax, eax
jne 0x406250
lea ecx, [esp + 0x6c]
call fcn.004437d5
mov edx, dword [esp + 0x30]
push 0
push 0x4000
push edx
lea ecx, [esp + 0x78]
call fcn.00443425
push 0
push 0x46c2df
lea ecx, [esp + 0x1c]
call fcn.00401de0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
xor ebx, ebx
call fcn.0044396c
test eax, eax
je 0x40663a
lea ecx, [ebp - 3]
lea edx, [ebp - 1]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
lea eax, [ebp + 8]
mov dword [esp + 0x3c], ecx
lea ecx, [ebp + 9]
add ebp, 0xa
add edx, 1
mov dword [esp + 0x58], ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], edx
cmp dword [esp + 0x3c], ebx
jne 0x4063d0
push 0xc8
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.00404d70
push eax
mov ecx, 0x4858e0
mov byte [esp + 0x82f8], 0xf
call fcn.00401ff0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4063b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
cmp dword [esp + 0x40], ebx
jne 0x406445
push 0xc8
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.00404d70
push eax
mov ecx, 0x4858e8
mov byte [esp + 0x82f8], 0x10
call fcn.00401ff0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406425
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
cmp dword [esp + 0x64], ebx
jne 0x4064c0
push 0xc8
push edi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x20]
call fcn.00404d70
push eax
mov ecx, 0x48591c
mov byte [esp + 0x82f8], 0x11
call fcn.00401ff0
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
cmp dword [esp + 0x4c], ebx
jne 0x406535
push 0xc8
push edi
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x20]
call fcn.00404d70
push eax
mov ecx, 0x485920
mov byte [esp + 0x82f8], 0x12
call fcn.00401ff0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406515
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
cmp dword [esp + 0x58], ebx
jne 0x4065aa
push 0xc8
push edi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call fcn.00404d70
push eax
mov ecx, 0x485924
mov byte [esp + 0x82f8], 0x13
call fcn.00401ff0
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40658a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
cmp ebx, dword [esp + 0x44]
jne 0x40661f
push 0xc8
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.00404d70
push eax
mov ecx, 0x4858f0
mov byte [esp + 0x82f8], 0x14
call fcn.00401ff0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
add ebx, 1
call fcn.0044396c
test eax, eax
jne 0x40635b
jmp 0x406640
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4858f0]
cmp dword [eax - 0xc], 0
jl 0x406668
push 0x46c7ac
push eax
call fcn.0044c647
add esp, 8
test eax, eax
je 0x406668
sub eax, dword [0x4858f0]
cmp eax, 0xffffffff
jne 0x406688
push 0x4858f0
mov ecx, 0x4858f4
call fcn.00401ff0
push 0
push 0x46c2df
mov ecx, 0x4858f0
call fcn.00401de0
lea ecx, [esp + 0x6c]
call fcn.004437d5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x2ec]
push edx
mov dword [esp + 0x64], 0x7fff
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x2e8]
push eax
lea ecx, [esp + 0x28]
call fcn.00403950
push eax
mov ecx, 0x4858ec
mov byte [esp + 0x82f8], 0x15
call fcn.00401ff0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406720
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov ecx, 0x485908
je 0x406738
push 0xd
push str.Administrator
jmp 0x40673f
push 4
push str.User
call fcn.00401de0
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
push 0x288
mov dword [esp + 0x1c], 0
call fcn.0044d991
mov edi, eax
add esp, 4
lea eax, [esp + 0x38]
push eax
push edi
mov dword [esp + 0x40], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4067a8
push edi
call fcn.0044d8b4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0044d991
add esp, 8
mov edi, eax
lea edx, [esp + 0x38]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x406af0
test edi, edi
je 0x406af0
mov bl, 0x17
jmp 0x4067d0
lea eax, [edi + 0x10c]
push eax
push 0x46d5a0
push 0x4858f8
call fcn.004020b0
mov eax, dword [0x4858f8]
add esp, 0xc
cmp dword [eax - 0xc], 0
jl 0x4068b7
push 0x46d508
push eax
call fcn.0044c647
add esp, 8
test eax, eax
je 0x4068b7
mov ecx, dword [0x4858f8]
sub eax, ecx
cmp eax, 0xffffffff
je 0x4068b7
cmp dword [ecx - 0xc], 0
jge 0x40682a
or eax, 0xffffffff
jmp 0x406847
push 0x46d508
push ecx
call fcn.0044c647
add esp, 8
test eax, eax
jne 0x406841
or eax, 0xffffffff
jmp 0x406847
sub eax, dword [0x4858f8]
add eax, 0xffffffff
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x4858f8
call fcn.00404d70
push eax
mov ecx, 0x4858f8
mov byte [esp + 0x82f8], 0x16
call fcn.00401ff0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
lea eax, [edi + 0x1b0]
push eax
push 0x46d5a0
push 0x485904
call fcn.004020b0
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
add esp, 0xc
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
lea eax, [edi + 0x1c0]
push eax
push 0x46d5a0
push 0x48590c
call fcn.004020b0
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
add esp, 0xc
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
lea eax, [edi + 0x1d8]
push eax
push 0x46d5a0
push 0x485910
call fcn.004020b0
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
add esp, 0xc
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
cmp dword [edi + 0x1a4], 0
je 0x406a52
call fcn.004416d9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x405c73
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [edi + 0x200]
push ecx
lea edx, [esp + 0x18]
push 0x46d5a0
push edx
mov byte [esp + 0x8300], bl
call fcn.004020b0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push str.DHCP__
push ecx
call fcn.004021b0
mov eax, dword [eax]
push 0x46ba90
push eax
push 0x4858fc
mov byte [esp + 0x8318], 0x18
call fcn.004020b0
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x82f4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406a08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406a83
push 6
push str.Static
mov ecx, 0x4858fc
call fcn.00401de0
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
cmp dword [edi + 0x224], 0
je 0x406abd
lea eax, [edi + 0x22c]
push eax
push 0x46d5a0
push 0x485914
call fcn.004020b0
lea ecx, [edi + 0x254]
push ecx
push 0x46d5a0
push 0x485918
call fcn.004020b0
add esp, 0x18
jmp 0x406abf
mov edi, dword [edi]
mov edx, dword [0x485904]
push str.0.0.0.0
push edx
call fcn.0044ca53
add esp, 8
test eax, eax
sete al
test al, al
je 0x406af0
cmp dword [esp + 0x18], 0xa
je 0x406af0
add dword [esp + 0x18], 1
test edi, edi
jne 0x4067d0
lea ecx, [esp + 0x2c]
call fcn.0042be00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x82f4], 0x19
call fcn.0042be10
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x30]
call fcn.0042bf60
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x406b2a
push 7
push str.Running
jmp 0x406b35
test eax, eax
jne 0x406b3f
push 3
push 0x46d4ec
mov ecx, 0x485900
call fcn.00401de0
lea ecx, [esp + 0x2c]
call fcn.0042bf40
mov eax, dword [esi + 0xae8]
mov edx, dword [esi + 0xa64]
push 0
push eax
push 0x402
lea ecx, [eax + 1]
push edx
mov dword [esi + 0xae8], ecx
call ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x82f4], 8
call fcn.0042c020
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x82f4], 5
call fcn.00443839
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406bda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x82f4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x82f4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x82ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x82d4]
xor ecx, esp
call fcn.0044cb81
add esp, 0x82e4
ret