Function at 0x4b5270
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x8d0
mov eax, dword [0x5d6c64]
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 + 0x2c], 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 + 0x38], esi
mov dword [esp + 0x34], eax
mov byte [esp + 0x4e4], 0
call sub.MSVCR100.dll_memset
push 0x5c
xor ebp, ebp
push edi
mov dword [esp + 0x38], 0x5bfe50
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], esi
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 0x14
test eax, eax
jne 0x4b5332
push 0x2f
push edi
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x4b5347
mov ecx, eax
sub ecx, edi
inc eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov esi, ecx
jmp 0x4b534d
mov dword [esp + 0x18], edi
mov eax, edi
test eax, eax
je 0x4b5363
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b5354
sub eax, edx
mov dword [esp + 0x10], eax
mov ebp, eax
lea eax, [esp + 0x4d8]
push 0x401
push eax
call fcn.004b3750
add esp, 8
test eax, eax
je 0x4b5398
mov edi, dword [esp + 0x30]
push str.gethostname___failed__continuing_without__n
push edi
call fcn.00474a10
add esp, 8
mov dword [esp + 0x14], 0
jmp 0x4b53b3
lea eax, [esp + 0x4d8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b53a2
mov edi, dword [esp + 0x30]
sub eax, edx
mov dword [esp + 0x14], eax
cmp dword [ebx + 0x14], 0
je 0x4b5473
push edi
call fcn.0046d730
push edi
mov dword [esp + 0x44], eax
call fcn.0046d730
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x98]
push ecx
push edx
push edi
mov dword [esp + 0x54], eax
call fcn.004b3af0
add esp, 0x14
test eax, eax
jne 0x4b5892
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x94]
push ecx
push esi
push edx
push ebp
push eax
call fcn.004b3bb0
add esp, 0x18
test eax, eax
jne 0x4b5892
lea ecx, [esp + 0x60]
push ecx
lea edx, [ebx + 8]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.004b3e10
add esp, 0x10
test eax, eax
jne 0x4b5892
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.004b3ca0
add esp, 0x14
test eax, eax
jne 0x4b5892
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
jmp 0x4b559d
test dword [ebx + 4], 0x80000
je 0x4b552f
push edi
call fcn.0046d730
push edi
mov dword [esp + 0x44], eax
call fcn.0046d730
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x88], edx
push 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x88]
push 0x10
push eax
mov dword [esp + 0x94], ecx
call fcn.0046d700
add esp, 0x18
test eax, eax
jne 0x4b5892
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xa8]
push ecx
push edx
push edi
call fcn.004b3af0
add esp, 0xc
test eax, eax
jne 0x4b5892
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xb0]
push edx
jmp 0x4b5595
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xa8]
push eax
push ecx
push edi
call fcn.004b3af0
add esp, 0xc
test eax, eax
jne 0x4b5892
lea edx, [esp + 0xc0]
push edx
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.004b38e0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x84]
push ecx
push edx
push edi
call fcn.004b39d0
add esp, 0x18
test eax, eax
jne 0x4b5892
lea eax, [esp + 0x60]
push eax
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004b38e0
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x4b55c4
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi]
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x20]
lea eax, [ebp + ebp]
lea edx, [ecx + ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ebp, eax
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 + 0x44], ebp
mov ebp, esi
and esi, 0xff
mov dword [esp + 0x50], esi
mov esi, edx
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
mov edi, dword [esp + 0x38]
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x54]
shr edx, 8
and edx, 0xff
push edx
movzx edx, byte [esp + 0x58]
push edx
mov eax, edi
shr eax, 8
and eax, 0xff
push eax
and edi, 0xff
push edi
push eax
mov eax, dword [esp + 0xa0]
push edi
push 0
push 0
mov edx, eax
shr edx, 8
movzx eax, al
and edx, 0xff
push edx
push eax
mov eax, dword [esp + 0xa4]
shr ecx, 8
and ecx, 0xff
push ecx
push eax
push ecx
push eax
mov eax, dword [esp + 0xcc]
push 0
mov ecx, eax
shr ebp, 8
shr esi, 8
push 0
and ebp, 0xff
shr ecx, 8
and esi, 0xff
movzx edx, al
mov eax, dword [esp + 0xc8]
and ecx, 0xff
push ecx
push edx
push ebp
push eax
push ebp
push eax
mov eax, dword [esp + 0xe8]
push 0
push 0
push 0
push 0x58
push esi
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.00478c90
mov edi, eax
add esp, 0xec
cmp edi, 0x3e8
jae 0x4b5751
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 0x4b5778
mov edx, dword [esp + 0x38]
push esi
push edx
lea eax, [esp + edi + 0xe0]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add edi, esi
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x5e1058]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
lea ebp, [edi + esi]
add eax, ebp
add eax, dword [esp + 0x18]
add esp, 4
cmp eax, 0x400
jb 0x4b57ba
mov ecx, dword [esp + 0x30]
push str.user__domain__host_name_too_big
push ecx
call fcn.00474aa0
add esp, 8
mov eax, 0x1b
jmp 0x4b5892
cmp dword [esp + 0x28], 0
je 0x4b57d5
lea ecx, [esp + edi + 0xd8]
mov edi, dword [esp + 0x24]
shr esi, 1
call fcn.004b5190
jmp 0x4b57eb
mov edx, dword [esp + 0x24]
push esi
push edx
lea eax, [esp + edi + 0xe0]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x4b580a
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
shr esi, 1
lea ecx, [esp + ebp + 0xd8]
call fcn.004b5190
jmp 0x4b5824
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + ebp + 0xe0]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add ebp, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
je 0x4b584a
mov esi, dword [esp + 0x14]
shr esi, 1
lea ecx, [esp + ebp + 0xd8]
lea edi, [esp + 0x4d8]
call fcn.004b5190
jmp 0x4b5867
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x4dc]
push edx
lea eax, [esp + ebp + 0xe0]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add ebp, dword [esp + 0x14]
push ecx
push edx
push ebp
lea ecx, [esp + 0xe4]
push ecx
push 0
call fcn.00485c10
push ebx
mov esi, eax
call fcn.004b2aa0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x8dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004610a0
add esp, 0x8d0
ret