Function at 0x43ff30
Capabilities:
Get hostname
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8bc
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x8b4], eax
mov eax, dword [esp + 0x8c0]
push ebx
push ebp
mov ebp, dword [esp + 0x8d0]
push esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8d8]
push edi
mov edi, dword [esp + 0x8d4]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 4]
xor ebx, ebx
push 0x400
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x4bd]
lea ecx, [esp + 0xa4]
and eax, 1
push ebx
push edx
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x4c4], bl
call fcn.004481d0
add esp, 0xc
push 0x5c
xor esi, esi
push edi
mov dword [esp + 0x2c], 0x461377
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], ebx
call fcn.0044e3a0
add esp, 8
test eax, eax
jne 0x43ffe4
push 0x2f
push edi
call fcn.0044e3a0
add esp, 8
test eax, eax
je 0x43fff7
mov ebx, eax
sub ebx, edi
inc eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], eax
jmp 0x43fffd
mov dword [esp + 0x18], edi
mov eax, edi
test eax, eax
je 0x440013
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440004
sub eax, edx
mov dword [esp + 0x10], eax
mov esi, eax
push 0x401
lea eax, [esp + 0x4bc]
push eax
mov byte [esp + 0x4c0], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esp + 0x8b8], 0
test eax, eax
jne 0x440143
lea ecx, [esp + 0x4b8]
push 0x2e
push ecx
call fcn.0044e3a0
add esp, 8
test eax, eax
je 0x440057
mov byte [eax], 0
lea eax, [esp + 0x4b8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440061
sub eax, edx
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x14], 0
je 0x440161
lea edi, [esp + 0x40]
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x38]
push edi
push edx
call fcn.00413cb0
add esp, 8
add edi, 4
test eax, eax
jne 0x44050d
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 2
jb 0x440084
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x88]
push eax
push ecx
call fcn.00444040
add esp, 8
test eax, eax
jne 0x44050d
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x8c]
push eax
push ebx
push ecx
push esi
push edx
call fcn.004441b0
add esp, 0x18
test eax, eax
jne 0x44050d
lea eax, [ebp + 8]
push eax
lea esi, [esp + 0x5c]
lea edi, [esp + 0x44]
lea ecx, [esp + 0x74]
call fcn.004443d0
add esp, 4
test eax, eax
jne 0x44050d
push ebp
mov ecx, edi
push ecx
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x40]
call fcn.00444250
add esp, 0xc
test eax, eax
jne 0x44050d
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
jmp 0x440221
mov ecx, dword [esp + 0x38]
push str.gethostname___failed__continuing_without__n
call fcn.004140b0
add esp, 4
mov dword [esp + 0x14], 0
jmp 0x44006e
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x88]
push ecx
push edx
call fcn.00444040
add esp, 8
test eax, eax
jne 0x44050d
lea ecx, [esp + 0x88]
lea eax, [ebp + 8]
push ecx
push eax
lea edi, [esp + 0xa8]
call fcn.00443e60
lea edx, [esp + 0x97]
push edx
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0xb8]
call fcn.00443e60
lea eax, [esp + 0xa6]
push eax
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0xc8]
call fcn.00443e60
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x88]
push ecx
call fcn.00443f70
add esp, 0x1c
test eax, eax
jne 0x44050d
lea edx, [esp + 0x70]
push edx
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0x60]
call fcn.00443e60
lea eax, [esp + 0x7f]
push eax
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0x70]
call fcn.00443e60
lea ecx, [esp + 0x8e]
push ecx
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0x80]
call fcn.00443e60
add esp, 0x18
cmp dword [esp + 0x30], 0
je 0x440242
mov eax, dword [esp + 0x14]
lea edx, [esi + esi]
add ebx, ebx
lea ecx, [eax + eax]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov esi, edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add edx, 0x58
lea eax, [ebx + edx]
add eax, esi
mov dword [esp + 0x1c], eax
mov eax, ecx
and ecx, 0xff
mov dword [esp + 0x20], ecx
mov ecx, esi
and esi, 0xff
mov dword [esp + 0x48], esi
mov esi, ebx
and ebx, 0xff
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x2c]
mov edi, ebx
and ebx, 0xff
mov dword [esp + 0x40], ebx
movzx ebx, byte [ebp + 7]
push ebx
movzx ebx, byte [ebp + 6]
push ebx
movzx ebx, byte [ebp + 5]
push ebx
movzx ebx, byte [ebp + 4]
push ebx
push 0
push 0
push 0
push 0
mov ebx, dword [esp + 0x3c]
push 0
push 0
push 0
push 0
push 0
push 0
shr ebx, 8
and ebx, 0xff
push ebx
movzx ebx, byte [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x60]
shr eax, 8
and eax, 0xff
push eax
push ebx
push eax
mov eax, dword [esp + 0x74]
push ebx
push 0
add eax, edx
push 0
mov ebx, eax
shr ebx, 8
movzx eax, al
shr ecx, 8
and ebx, 0xff
push ebx
push eax
mov eax, dword [esp + 0xa8]
and ecx, 0xff
push ecx
push eax
push ecx
push eax
mov eax, dword [esp + 0xc0]
push 0
mov ecx, edx
shr esi, 8
shr edi, 8
and esi, 0xff
push 0
shr ecx, 8
and edi, 0xff
and ecx, 0xff
movzx edx, dl
push ecx
push edx
push esi
push eax
push esi
push eax
mov eax, dword [esp + 0xd0]
push 0
push 0
push 0
push 0x58
push edi
push eax
push edi
push eax
push 0
push 0
push 0
push 0x40
push 0
push 0x18
push 0
push 0x18
push 0
push 0
push 0
push 0
push str.NTLMSSP_c
lea eax, [esp + 0x19c]
push 0x400
push eax
call fcn.00413a70
mov edi, eax
add esp, 0xec
cmp edi, 0x3e8
jae 0x4403cc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + edi + 0xb8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + edi + 0xbc], edx
mov edx, dword [esp + 0x68]
mov dword [esp + edi + 0xc0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + edi + 0xc4], ecx
mov dword [esp + edi + 0xc8], edx
mov dword [esp + edi + 0xcc], eax
add edi, 0x18
mov esi, dword [esp + 0x2c]
mov ecx, 0x400
sub ecx, esi
cmp edi, ecx
jae 0x4403f3
mov edx, dword [esp + 0x3c]
push esi
push edx
lea eax, [esp + edi + 0xc0]
push eax
call fcn.00448250
add esp, 0xc
add edi, esi
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x46f554]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
lea ebx, [edi + esi]
lea eax, [ebx + edx]
add eax, dword [esp + 0x18]
add esp, 4
cmp eax, 0x400
jb 0x440435
mov eax, dword [esp + 0x38]
push str.user__domain__host_name_too_big
call fcn.00414140
add esp, 4
mov eax, 0x1b
jmp 0x44050d
cmp dword [esp + 0x30], 0
je 0x440450
lea ecx, [esp + edi + 0xb8]
mov edi, dword [esp + 0x24]
shr esi, 1
call fcn.0043fe70
jmp 0x440466
mov ecx, dword [esp + 0x24]
push esi
push ecx
lea edx, [esp + edi + 0xc0]
push edx
call fcn.00448250
add esp, 0xc
cmp dword [esp + 0x30], 0
je 0x440485
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
shr esi, 1
lea ecx, [esp + ebx + 0xb8]
call fcn.0043fe70
jmp 0x44049f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + ebx + 0xc0]
push edx
call fcn.00448250
add esp, 0xc
add ebx, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x4404c5
mov esi, dword [esp + 0x14]
shr esi, 1
lea ecx, [esp + ebx + 0xb8]
lea edi, [esp + 0x4b8]
call fcn.0043fe70
jmp 0x4404e2
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4bc]
push ecx
lea edx, [esp + ebx + 0xc0]
push edx
call fcn.00448250
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push eax
push ecx
add ebx, edx
push ebx
lea eax, [esp + 0xc4]
call fcn.004406e0
add esp, 0xc
mov esi, ebp
mov edi, eax
call fcn.00440530
mov eax, edi
mov ecx, dword [esp + 0x8c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004453f2
add esp, 0x8bc
ret