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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x42af4d
push esi
push ebx
sub esp, 0x24c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x15c], edi
mov esi, dword [ebp + 0x10]
mov dword [esp], 0x42af4d
call sub.cygwin1.dll_strlen
mov dword [ebp - 0x160], eax
test ebx, ebx
mov edi, eax
je 0x414c40
test esi, esi
je 0x414c50
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, 2
je 0x414812
cmp eax, 3
je 0x414c30
mov eax, dword [ebp + 0x14]
lea ebx, [edi + 0x20]
mov dword [eax], 0
mov esi, dword [0x438b14]
test esi, esi
jne 0x414c84
xor eax, eax
mov ecx, 0x42af4d
mov edx, 0x42af4d
mov dword [esp + 0x68], eax
xor eax, eax
xor esi, esi
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, 0x20
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, ebx
sar eax, 8
mov dword [esp + 0x40], eax
movzx eax, bl
xor ebx, ebx
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x70], ecx
mov ecx, edi
sar ecx, 8
mov dword [esp + 0x6c], edx
mov edx, edi
and edx, 0xff
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, 0x42af50
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov ecx, 2
mov dword [esp + 0x2c], edx
mov edx, 2
mov dword [esp + 0x28], esi
lea esi, [ebp - 0x118]
mov dword [esp + 8], eax
mov eax, 0x100
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.cygwin1.dll_snprintf
lea eax, [edi + edi]
mov edx, 0x55555556
lea ebx, [eax + 0x22]
lea ecx, [eax + 0x20]
mov eax, ebx
imul edx
mov eax, ebx
sar eax, 0x1f
sub edx, eax
lea eax, [edx*4 + 0x1f]
and eax, 0xfffffff0
call fcn.00422c50
mov dword [esp], esi
lea ebx, [esp + 0xeb]
and ebx, 0xfffffff0
mov dword [esp + 8], ebx
xor esi, esi
mov dword [esp + 4], ecx
call fcn.00422280
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.NTLM
call fcn.00420190
mov edx, eax
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov ecx, dword [0x438b14]
test ecx, ecx
jne 0x414c95
mov dword [esp], ebx
mov edx, 0x5c
mov dword [esp + 4], edx
call sub.cygwin1.dll_strchr
mov dword [ebp - 0x168], eax
test eax, eax
je 0x414c5a
mov dword [ebp - 0x15c], ebx
mov edi, dword [ebp - 0x168]
inc dword [ebp - 0x168]
sub edi, ebx
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
lea eax, [ebp - 0x138]
add edx, 4
mov dword [esp], eax
mov eax, esi
lea esi, [edi + 0x40]
call fcn.004144c0
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x160]
add edx, esi
mov dword [ebp - 0x164], edx
mov ebx, edx
add ebx, eax
xor eax, eax
lea ecx, [ebx + 0x18]
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0xd0], eax
xor eax, eax
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0xc8], eax
xor eax, eax
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0xc0], eax
xor eax, eax
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0xb8], eax
xor eax, eax
mov dword [esp + 0xb4], eax
mov eax, edx
sar eax, 8
mov dword [esp + 0xb0], eax
movzx eax, dl
mov edx, dword [ebp - 0x160]
mov dword [esp + 0xac], eax
movzx eax, byte [ebp - 0x160]
sar edx, 8
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x16c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x9c], eax
xor eax, eax
sar edx, 8
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x94], eax
mov eax, esi
sar eax, 8
mov dword [esp + 0x90], eax
mov eax, esi
and eax, 0xff
mov dword [esp + 0x8c], eax
movzx eax, byte [ebp - 0x16c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x80], edx
mov edx, edi
sar edx, 8
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov eax, 0x40
mov dword [esp + 0x6c], eax
mov eax, edi
and eax, 0xff
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, ecx
sar eax, 8
mov dword [esp + 0x68], edx
mov dword [esp + 0x60], edx
xor edx, edx
and ecx, 0xff
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, 0x18
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, 0x18
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, ebx
sar eax, 8
mov dword [esp + 0x30], eax
mov eax, 0x18
and ebx, 0xff
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, 0x18
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov ecx, str.NTLMSSP_c
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov dword [esp + 0x28], edx
mov edx, 0x100
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x118]
mov dword [esp + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.cygwin1.dll_snprintf
mov byte [ebp - 0xd9], 0
mov edx, dword [ebp - 0x16c]
mov byte [ebp - 0xda], 0
lea eax, [edx + edi + 0x40]
xor edx, edx
cmp eax, 0xff
ja 0x414808
mov dword [esp + 8], edi
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.cygwin1.dll_memcpy
mov edx, dword [ebp - 0x16c]
lea eax, [ebp - 0x118]
add eax, esi
mov dword [esp], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x168]
mov dword [esp + 4], edx
call sub.cygwin1.dll_memcpy
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xe7
jg 0x414bb0
mov eax, dword [ebp - 0x138]
mov dword [ebp + ecx - 0x118], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp + ecx - 0x114], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp + ecx - 0x110], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp + ecx - 0x10c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp + ecx - 0x108], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp + ecx - 0x104], eax
add ecx, 0x18
cmp ecx, 0xe7
jg 0x414bb0
mov eax, dword [ebp - 0x158]
mov dword [ebp + ecx - 0x118], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp + ecx - 0x114], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp + ecx - 0x110], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp + ecx - 0x10c], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp + ecx - 0x108], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp + ecx - 0x104], eax
add ecx, 0x18
lea esi, [esi]
mov byte [ebp - 0xe0], cl
mov eax, ecx
lea ebx, [ecx + 2]
sar eax, 8
mov edx, 0x55555556
mov byte [ebp - 0xdf], al
mov eax, ebx
imul edx
mov eax, ebx
sar eax, 0x1f
sub edx, eax
lea eax, [edx*4 + 0x1f]
and eax, 0xfffffff0
call fcn.00422c50
mov dword [esp + 4], ecx
lea ebx, [esp + 0xeb]
lea edx, [ebp - 0x118]
mov dword [esp], edx
and ebx, 0xfffffff0
mov dword [esp + 8], ebx
call fcn.00422280
mov dword [esp + 4], ebx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp], str.NTLM
call fcn.00420190
mov edx, dword [ebp + 8]
mov dword [edx], 3
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x414806
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
jmp 0x414806
test esi, esi
mov ebx, 0x42af4d
jne 0x4146b1
lea esi, [esi]
mov esi, 0x42af4d
jmp 0x4146b1
mov dword [esp], ebx
mov eax, 0x2f
mov dword [esp + 4], eax
call sub.cygwin1.dll_strchr
mov dword [ebp - 0x168], eax
test eax, eax
jne 0x414848
mov dword [ebp - 0x168], ebx
jmp 0x41485c
mov dword [esp], str.Creating_a_type_1_NTLM_message._n
call fcn.004174e0
jmp 0x4146e2
mov dword [esp], str.Creating_a_type_3_NTLM_message._n
call fcn.004174e0
jmp 0x414829