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

Disassembly:
sub esp, 0x8dc
mov eax, dword [0x751f00]
xor eax, esp
mov dword [esp + 0x8d4], eax
mov eax, dword [esp + 0x8e0]
push ebx
push ebp
mov ebp, dword [esp + 0x8f0]
push esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8f8]
push edi
mov edi, dword [esp + 0x8f4]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 4]
xor ebx, ebx
push 0x400
mov dword [esp + 0x50], edx
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x4dd]
lea ecx, [esp + 0xc4]
and eax, 1
push ebx
push edx
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
mov byte [esp + 0x4e4], bl
call fcn.0055e5f0
add esp, 0xc
push 0x5c
xor esi, esi
push edi
mov dword [esp + 0x30], 0x71e845
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebx
call fcn.00562bf0
add esp, 8
cmp eax, ebx
jne 0x438e54
push 0x2f
push edi
call fcn.00562bf0
add esp, 8
cmp eax, ebx
je 0x438e67
mov ecx, eax
sub ecx, edi
inc eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x438e6d
mov dword [esp + 0x1c], edi
mov eax, edi
cmp eax, ebx
je 0x438e83
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438e74
sub eax, edx
mov dword [esp + 0x10], eax
mov esi, eax
push 0x401
lea eax, [esp + 0x4dc]
push eax
mov byte [esp + 0x4e0], bl
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esp + 0x8d8], bl
cmp eax, ebx
jne 0x438fa0
lea ecx, [esp + 0x4d8]
push 0x2e
push ecx
call fcn.00562bf0
add esp, 8
cmp eax, ebx
je 0x438ec4
mov byte [eax], bl
lea eax, [esp + 0x4d8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438ed0
mov edi, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x14], ebx
je 0x438fbc
push 2
lea eax, [esp + 0x40]
mov ecx, edi
call fcn.0043d440
add esp, 4
cmp eax, ebx
jne 0x4393d5
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x90]
push edx
call fcn.0043cec0
add esp, 4
test eax, eax
jne 0x4393d5
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push esi
push ecx
call fcn.0043cfd0
add esp, 0x18
test eax, eax
jne 0x4393d5
lea edx, [ebp + 8]
push edx
lea esi, [esp + 0x64]
lea edi, [esp + 0x40]
lea ecx, [esp + 0x7c]
call fcn.0043d1d0
add esp, 4
test eax, eax
jne 0x4393d5
push ebp
mov eax, edi
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x3c]
call fcn.0043d050
add esp, 0xc
test eax, eax
jne 0x4393d5
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x38], edx
jmp 0x4390d3
mov edi, dword [esp + 0x34]
push str.gethostname___failed__continuing_without__n
mov ecx, edi
call fcn.0040f940
add esp, 4
mov dword [esp + 0x14], ebx
jmp 0x438ee1
test dword [ebp + 4], 0x80000
je 0x439073
push 2
lea eax, [esp + 0x40]
mov ecx, edi
call fcn.0043d440
add esp, 4
cmp eax, ebx
jne 0x4393d5
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x64], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x84], eax
call fcn.004118f0
add esp, 8
cmp eax, ebx
jne 0x4393d5
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0xa8]
push eax
call fcn.0043cec0
add esp, 4
test eax, eax
jne 0x4393d5
lea ecx, [esp + 0xc0]
push ecx
lea ebx, [esp + 0x94]
lea edi, [esp + 0xac]
jmp 0x4390cb
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0xa8]
push edx
call fcn.0043cec0
add esp, 4
test eax, eax
jne 0x4393d5
lea eax, [esp + 0xc0]
lea ebx, [ebp + 8]
push eax
lea edi, [esp + 0xac]
call fcn.0043cc50
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
add esp, 4
push ecx
call fcn.0043cd30
add esp, 4
test eax, eax
jne 0x4393d5
lea edx, [esp + 0x60]
push edx
lea edi, [esp + 0x7c]
call fcn.0043cc50
add esp, 4
cmp dword [esp + 0x2c], 0
je 0x4390f9
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
lea edx, [esi + esi]
lea ecx, [eax + eax]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov esi, edx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
add edx, 0x58
lea eax, [edi + edx]
mov dword [esp + 0x44], eax
add eax, esi
mov dword [esp + 0x20], eax
mov eax, ecx
and ecx, 0xff
mov dword [esp + 0x54], ecx
mov ecx, esi
and esi, 0xff
mov dword [esp + 0x5c], esi
mov esi, edi
and edi, 0xff
mov dword [esp + 0x50], edi
mov edi, ebx
and ebx, 0xff
mov dword [esp + 0x58], 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 + 0x40]
push 0
push 0
push 0
push 0
push 0
push 0
shr ebx, 8
and ebx, 0xff
push ebx
movzx ebx, byte [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x94]
shr eax, 8
and eax, 0xff
push eax
push ebx
push eax
mov eax, dword [esp + 0x90]
push ebx
push 0
push 0
mov ebx, eax
shr ebx, 8
shr ecx, 8
and ebx, 0xff
push ebx
movzx eax, al
push eax
mov eax, dword [esp + 0xbc]
and ecx, 0xff
push ecx
push eax
push ecx
push eax
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
mov eax, dword [esp + 0xd4]
push eax
push esi
push eax
mov eax, dword [esp + 0xe8]
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 + 0x1bc]
push 0x400
push eax
call fcn.0041e370
mov edi, eax
add esp, 0xec
cmp edi, 0x3e8
jae 0x43928f
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + edi + 0xd8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + edi + 0xdc], edx
mov edx, dword [esp + 0x70]
mov dword [esp + edi + 0xe0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + edi + 0xe4], ecx
mov dword [esp + edi + 0xe8], edx
mov dword [esp + edi + 0xec], eax
add edi, 0x18
mov esi, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, esi
cmp edi, ecx
jae 0x4392b6
mov edx, dword [esp + 0x38]
push esi
push edx
lea eax, [esp + edi + 0xe0]
push eax
call fcn.0055f610
add esp, 0xc
add edi, esi
mov ecx, dword [esp + 0x30]
push ecx
call dword [0x75cccc]
mov esi, dword [esp + 0x1c]
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 0x4392f8
mov eax, dword [esp + 0x34]
push str.user__domain__host_name_too_big
call fcn.0040f9d0
add esp, 4
mov eax, 0x1b
jmp 0x4393d5
cmp dword [esp + 0x2c], 0
je 0x439313
lea ecx, [esp + edi + 0xd8]
mov edi, dword [esp + 0x28]
shr esi, 1
call fcn.00438cd0
jmp 0x439329
mov ecx, dword [esp + 0x28]
push esi
push ecx
lea edx, [esp + edi + 0xe0]
push edx
call fcn.0055f610
add esp, 0xc
cmp dword [esp + 0x2c], 0
je 0x439348
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
shr esi, 1
lea ecx, [esp + ebx + 0xd8]
call fcn.00438cd0
jmp 0x439362
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + ebx + 0xe0]
push edx
call fcn.0055f610
add esp, 0xc
add ebx, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x439388
mov esi, dword [esp + 0x14]
shr esi, 1
lea ecx, [esp + ebx + 0xd8]
lea edi, [esp + 0x4d8]
call fcn.00438cd0
jmp 0x4393a5
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4dc]
push ecx
lea edx, [esp + ebx + 0xe0]
push edx
call fcn.0055f610
add esp, 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
push eax
push ecx
add ebx, edx
push ebx
lea eax, [esp + 0xe4]
mov esi, 0x71dad8
call fcn.004363c0
add esp, 0xc
mov esi, ebp
mov edi, eax
call fcn.004393f0
mov eax, edi
mov ecx, dword [esp + 0x8e4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055e7fd
add esp, 0x8dc
ret