Function at 0x4e2990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8d0
mov eax, dword [0x621810]
xor eax, esp
mov dword [esp + 0x8cc], eax
mov eax, dword [esp + 0x8d4]
mov edx, dword [esp + 0x8e4]
mov ecx, dword [esp + 0x8dc]
push ebx
mov ebx, dword [esp + 0x8e4]
push ebp
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8f4]
push edi
mov edi, dword [esp + 0x8e8]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 4]
xor esi, esi
push 0x400
mov dword [esp + 0x50], edx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x4dd]
lea ecx, [esp + 0xc4]
and eax, 1
push esi
push edx
mov dword [esp + 0x40], 0x18
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], eax
mov byte [esp + 0x4e4], 0
call fcn.0048cf80
push 0x5c
xor ebp, ebp
push edi
mov dword [esp + 0x40], 0x601056
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], esi
call fcn.004952d0
add esp, 0x14
test eax, eax
jne 0x4e2a50
push 0x2f
push edi
call fcn.004952d0
add esp, 8
test eax, eax
je 0x4e2a67
mov ecx, eax
sub ecx, edi
add eax, 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov esi, ecx
jmp 0x4e2a6d
mov dword [esp + 0x20], edi
mov eax, edi
test eax, eax
je 0x4e2a85
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e2a74
sub eax, edx
mov dword [esp + 0x10], eax
mov ebp, eax
lea eax, [esp + 0x4d8]
push 0x401
push eax
call fcn.004e4380
add esp, 8
test eax, eax
je 0x4e2ab8
mov ecx, dword [esp + 0x14]
push str.gethostname___failed__continuing_without__n
push ecx
call fcn.004bb570
add esp, 8
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x4e2ad3
lea eax, [esp + 0x4d8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e2ac2
sub eax, edx
mov dword [esp + 0x18], eax
mov edi, eax
cmp dword [ebx + 0x14], 0
je 0x4e2b9f
mov eax, dword [esp + 0x14]
push 2
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004c04e0
add esp, 0xc
test eax, eax
jne 0x4e2fb8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
call fcn.004e46e0
add esp, 0xc
test eax, eax
jne 0x4e2fb8
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x94]
push edx
push esi
push eax
push ebp
push ecx
call fcn.004e47c0
add esp, 0x18
test eax, eax
jne 0x4e2fb8
lea edx, [esp + 0x60]
push edx
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.004e49b0
add esp, 0x10
test eax, eax
jne 0x4e2fb8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.004e4840
add esp, 0x14
test eax, eax
jne 0x4e2fb8
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
jmp 0x4e2ce0
test dword [ebx + 4], 0x80000
je 0x4e2c6a
mov eax, dword [esp + 0x14]
push 2
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004c04e0
add esp, 0xc
test eax, eax
jne 0x4e2fb8
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], ecx
push 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x94]
push ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x80]
push 0x10
push edx
mov dword [esp + 0x8c], eax
call fcn.004b2d80
add esp, 0x10
test eax, eax
jne 0x4e2fb8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xa8]
push eax
push ecx
push edx
call fcn.004e46e0
add esp, 0xc
test eax, eax
jne 0x4e2fb8
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xb0]
push edx
jmp 0x4e2cd8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xa8]
push eax
push ecx
push edx
call fcn.004e46e0
add esp, 0xc
test eax, eax
jne 0x4e2fb8
lea ecx, [esp + 0xc0]
push ecx
lea eax, [ebx + 8]
push eax
lea edx, [esp + 0xb0]
push edx
call fcn.004e4530
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x84]
push eax
push ecx
push edx
call fcn.004e45c0
add esp, 0x18
test eax, eax
jne 0x4e2fb8
lea eax, [esp + 0x60]
push eax
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004e4530
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x4e2d03
lea edx, [esi + esi]
lea eax, [ebp + ebp]
lea ecx, [edi + edi]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov edi, ecx
mov ebp, eax
mov esi, edx
mov edx, dword [esp + 0x34]
lea eax, [edx + 0x58]
mov dword [esp + 0x5c], eax
add eax, esi
mov dword [esp + 0x54], eax
add eax, ebp
mov ecx, ebp
and ebp, 0xff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ebp
mov ebp, esi
and esi, 0xff
mov dword [esp + 0x50], esi
mov esi, edx
mov eax, edi
shr eax, 8
and eax, 0xff
shr ecx, 8
and ecx, 0xff
shr ebp, 8
shr esi, 8
and edi, 0xff
and ebp, 0xff
and esi, 0xff
and edx, 0xff
mov dword [esp + 0x58], edx
movzx edx, byte [ebx + 7]
push edx
movzx edx, byte [ebx + 6]
push edx
movzx edx, byte [ebx + 5]
push edx
movzx edx, byte [ebx + 4]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
movzx edx, byte [esp + 0x49]
push 0
push 0
push 0
push edx
movzx edx, byte [esp + 0x58]
push edx
push eax
push edi
push eax
mov eax, dword [esp + 0xa0]
push edi
push 0
push 0
movzx edx, ah
push edx
movzx eax, al
push eax
mov eax, dword [esp + 0xa4]
push ecx
push eax
push ecx
push eax
mov eax, dword [esp + 0xcc]
push 0
push 0
movzx ecx, ah
push ecx
movzx edx, al
mov eax, dword [esp + 0xcc]
push edx
push ebp
push eax
push ebp
push eax
push 0
push 0
push 0
push 0x58
push esi
mov eax, dword [esp + 0xfc]
push eax
push esi
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.004bf890
mov edi, eax
add esp, 0xec
cmp edi, 0x3e8
jae 0x4e2e74
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 + 0x34]
mov ecx, 0x400
sub ecx, esi
cmp edi, ecx
jae 0x4e2e9b
mov edx, dword [esp + 0x38]
push esi
push edx
lea eax, [esp + edi + 0xe0]
push eax
call fcn.0048b960
add esp, 0xc
add edi, esi
mov ecx, dword [esp + 0x30]
push ecx
call dword [0x6228a0]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea ebp, [edi + esi]
lea eax, [edx + ebp]
add eax, dword [esp + 0x1c]
add esp, 4
cmp eax, 0x400
jb 0x4e2ede
mov ecx, dword [esp + 0x14]
push str.user__domain__host_name_too_big
push ecx
call fcn.004bb600
add esp, 8
mov eax, 0x1b
jmp 0x4e2fb8
cmp dword [esp + 0x28], 0
je 0x4e2ef9
lea ecx, [esp + edi + 0xd8]
mov edi, dword [esp + 0x2c]
shr esi, 1
call fcn.004e2890
jmp 0x4e2f0f
mov edx, dword [esp + 0x2c]
push esi
push edx
lea eax, [esp + edi + 0xe0]
push eax
call fcn.0048b960
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x4e2f2e
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
shr esi, 1
lea ecx, [esp + ebp + 0xd8]
call fcn.004e2890
jmp 0x4e2f48
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + ebp + 0xe0]
push eax
call fcn.0048b960
add esp, 0xc
add ebp, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
je 0x4e2f6e
mov esi, dword [esp + 0x18]
shr esi, 1
lea ecx, [esp + ebp + 0xd8]
lea edi, [esp + 0x4d8]
call fcn.004e2890
jmp 0x4e2f8b
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x4dc]
push edx
lea eax, [esp + ebp + 0xe0]
push eax
call fcn.0048b960
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
push ecx
push edx
add ebp, eax
push ebp
lea ecx, [esp + 0xe4]
push ecx
push 0
call fcn.004ce020
push ebx
mov esi, eax
call fcn.004e28c0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x8dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048b951
add esp, 0x8d0
ret