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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x54]
mov edx, dword [esi + 0xb4]
mov byte [esp + 7], 0
mov dword [esp + 0x40], ecx
cmp eax, dword [edx + 0x34]
je 0x100fa1fb
push str.smb_smb_negotiate
push str.smb_smb_nomux
push str._ERROR___s:_wrong_function_called__s__n
call fcn.10117cb0
add esp, 0xc
mov eax, 0x16
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1013d581
add esp, 0x4c
ret
push ebx
mov ecx, 0x4000
or word [esi + 0x6c], cx
lea ecx, [esp + 0x18]
push ecx
push eax
mov byte [esi + 0x6a], 8
mov edx, dword [esi + 0x98]
lea ebx, [esi + 0x88]
push 0x72
push esi
mov dword [esp + 0x50], edx
call fcn.10105080
add esp, 0x10
test eax, eax
jne 0x100fa6c0
mov eax, dword [esp + 0x18]
push ebp
push edi
lea edx, [esp + 0x30]
push edx
push eax
call fcn.101047f0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.101046c0
mov edx, dword [esp + 0x2c]
push edx
call fcn.101046e0
mov eax, dword [esp + 0x30]
push eax
call fcn.10104730
add esp, 0x14
cmp dword [0x101c0b3c], 0xffffffff
je 0x100fa2b7
mov edi, 0x101c0b40
mov ecx, dword [esp + 0x30]
push 2
push ecx
call fcn.101060a0
mov ebp, dword [edi]
mov eax, ebp
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100fa288
sub eax, edx
mov edx, dword [esp + 0x30]
push 0
push eax
push ebp
push edx
call fcn.10105990
mov eax, dword [esp + 0x40]
push 0
push eax
call fcn.101060a0
add edi, 8
add esp, 0x18
cmp dword [edi - 4], 0xffffffff
jne 0x100fa272
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10104750
mov edx, dword [esp + 0x24]
push edx
call fcn.10105030
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100fa6ad
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.10104800
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x1b]
push edx
push eax
call fcn.10106100
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100fa6ad
cmp byte [esp + 0x13], 0x11
je 0x100fa31b
mov dword [esp + 0x1c], 0x48
jmp 0x100fa6ad
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.10106140
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100fa6ad
mov ax, word [esp + 0x34]
test ax, ax
je 0x100fa36c
movzx ecx, byte [esp + 0x13]
push ecx
movzx edx, ax
push edx
push str.smb_smb_negotiate
push str._ERROR___s:_Bad_dialect___d___d__n
call fcn.10117cb0
add esp, 0x10
mov dword [esp + 0x1c], 0x2d
jmp 0x100fa6ad
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x27]
push eax
push ecx
call fcn.10106100
movzx edx, byte [esp + 0x2f]
mov ecx, dword [esp + 0x1c]
or dword [esi + 4], edx
lea eax, [ebx + 8]
push eax
push ecx
call fcn.10106140
mov edx, dword [esp + 0x24]
lea eax, [ebx + 0xa]
push eax
push edx
mov dword [esp + 0x5c], eax
call fcn.10106140
mov eax, dword [esp + 0x2c]
lea edi, [ebx + 4]
push edi
push eax
mov dword [esp + 0x5c], edi
call fcn.10106190
mov ecx, dword [esp + 0x34]
push 0
push ecx
call fcn.10106190
mov eax, dword [esp + 0x3c]
lea edx, [ebx + 0xc]
push edx
push eax
call fcn.10106190
mov ecx, dword [esp + 0x44]
lea ebp, [ebx + 0x10]
push ebp
push ecx
mov dword [esp + 0x78], ebp
call fcn.10106190
mov eax, dword [esp + 0x4c]
push 0
push 8
lea edx, [esp + 0x90]
push edx
push eax
call fcn.10105d60
mov ecx, dword [esp + 0x5c]
add esp, 0x48
push ebx
push ecx
call fcn.10106140
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x23]
push edx
push eax
call fcn.10106100
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.10106140
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100fa6ad
mov ecx, dword [esi + 4]
test cl, 8
je 0x100fa43f
or word [esi + 0x6c], 4
mov eax, dword [ebp]
test eax, 0x800000
jne 0x100fa462
test al, 0x10
je 0x100fa462
and eax, 0xc000
cmp eax, 0x4000
jne 0x100fa462
or ecx, 0x100
mov dword [esi + 4], ecx
test byte [ebp], 0x40
jne 0x100fa471
mov eax, 0xbfff
and word [esi + 0x6c], ax
mov ecx, dword [ebp]
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x100fa48b
mov edx, 0xf7ff
and word [esi + 0x6c], dx
cmp dword [edi], 0x1000
jae 0x100fa4a0
test byte [ebp], 0x10
jne 0x100fa4a0
or dword [esi + 4], 0x400
mov al, byte [esp + 0x1b]
mov cx, word [esp + 0x2c]
movzx dx, al
cmp dx, cx
ja 0x100fa30e
movzx ebp, cx
mov dword [esp + 0x28], ebp
test al, al
je 0x100fa50d
cmp al, 8
ja 0x100fa50d
test byte [esi + 4], 2
je 0x100fa50d
mov edx, dword [esp + 0x14]
movzx eax, al
push 0
push eax
lea ecx, [esi + 0x7c]
push ecx
push edx
call fcn.10105d60
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100fa6ad
mov al, byte [esp + 0x1b]
movzx dx, al
mov bx, bp
movzx ecx, al
sub bx, dx
mov word [esp + 0x28], bx
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x78], ecx
jmp 0x100fa512
mov bx, word [esp + 0x28]
mov eax, 0x800
test word [esi + 0x6c], ax
je 0x100fa58c
test bx, bx
je 0x100fa530
movzx eax, bx
push eax
call fcn.1013fbbd
add esp, 4
jmp 0x100fa532
xor eax, eax
mov edi, eax
test edi, edi
je 0x100fa55b
mov edx, dword [esp + 0x14]
movzx ecx, bx
push 0
push ecx
push edi
push edx
call fcn.10105d60
add esp, 0x10
test eax, eax
je 0x100fa55d
push edi
call fcn.1013db65
add esp, 4
xor edi, edi
xor ebp, ebp
mov eax, dword [esp + 0x4c]
push ebp
push edi
push eax
push esi
call fcn.101026f0
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x1c], ebx
test edi, edi
je 0x100fa580
push edi
call fcn.1013db65
add esp, 4
test ebx, ebx
jne 0x100fa6ad
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
movzx eax, word [ecx]
mov dword [esi + 0x5c], eax
test eax, eax
jne 0x100fa5a1
mov dword [esi + 0x5c], 1
cmp dword [edi], 0
ja 0x100fa5ac
mov dword [edi], 0x400
mov eax, dword [edi]
cmp eax, 0xfc30
jb 0x100fa5ba
mov eax, 0xfc30
mov dword [edi], eax
mov edx, dword [esi + 0x74]
mov ecx, dword [edx + 0x24]
lea eax, [esp + 0x38]
push eax
push 2
push esi
call ecx
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, esi
add edx, 0xfffffc00
call fcn.100fa100
cmp eax, edx
jae 0x100fa5eb
call fcn.100fa100
jmp 0x100fa5ed
mov eax, edx
mov edx, dword [esi + 0x74]
mov dword [esi + 0xac], eax
mov ecx, dword [edx + 0x24]
lea eax, [esp + 0x38]
push eax
push 1
push esi
call ecx
mov edi, dword [esp + 0x44]
add esp, 0xc
mov eax, esi
lea edx, [edi - 0x400]
call fcn.100fa140
cmp eax, edx
jae 0x100fa624
mov eax, esi
call fcn.100fa140
jmp 0x100fa626
mov eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xb0], eax
mov eax, dword [edx]
cmp eax, edi
jb 0x100fa638
mov eax, edi
cmp dword [esp + 0x6c], 0
mov ebx, dword [esp + 0x40]
mov dword [esi + 0xa8], eax
je 0x100fa694
mov eax, dword [ebx]
mov edi, dword [esp + 0x48]
cmp edi, eax
je 0x100fa670
cmp dword [0x101f4efc], 0
je 0x100fa670
push eax
push edi
push str.smb_smb_negotiate
push str._s:_Reconnecting_with_different_sv_caps__x____x_n
call fcn.10117cb0
add esp, 0x10
mov eax, dword [ebx]
xor eax, edi
test al, 4
je 0x100fa694
push str.smb_smb_negotiate
push str._ERROR___s:_Server_changed_encoding_on_us_during_reconnect:_abort_reconnect_n
call fcn.10117cb0
add esp, 8
mov dword [esp + 0x1c], 0x2d
jmp 0x100fa6ad
test byte [ebx], 4
je 0x100fa6a4
mov ecx, 0x8000
or word [esi + 0x6c], cx
jmp 0x100fa6ad
mov edx, 0x7fff
and word [esi + 0x6c], dx
mov eax, dword [esp + 0x20]
push eax
call fcn.10104660
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebp
mov ecx, dword [esp + 0x50]
pop ebx
pop esi
xor ecx, esp
call fcn.1013d581
add esp, 0x4c
ret