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

Disassembly:
sub esp, 0x44
mov ecx, dword [esp + 0x48]
push ebx
push ebp
push edi
mov edi, eax
mov eax, dword [esp + 0x58]
mov ebx, dword [eax + 0xc]
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x1c], ecx
jne 0x10014686
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0x44
ret
push esi
push 0x1007adc2
push 0x1007adc2
push 0x1007adc0
push 0x1007adc2
push 0x1007adc0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.100191f0
mov edx, dword [esp + 0x78]
mov al, byte [edx]
add esp, 0x20
test al, al
je 0x100148ce
jmp 0x100146d0
push 0x1007adb4
push 0x1007adb4
push 0x1007adb0
push 0x1007adac
push 0x1007adc2
push 0x1007adc2
push 0x1007ada8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.10019320
add esp, 0x30
test eax, eax
je 0x10014724
cmp eax, 2
jne 0x100148d8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push str.cnonce
push eax
call fcn.100799b6
add esp, 0xc
test eax, eax
jne 0x1001478a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100148d8
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x18]
push eax
push ecx
push edx
call fcn.100799b6
add esp, 0xc
test eax, eax
je 0x10014896
mov eax, dword [edi]
xor ecx, ecx
mov cx, word [eax + 2]
push 0
push 0xd9
push ecx
push eax
push 7
call fcn.10012370
add esp, 0x14
pop esi
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push 0x1007add8
push ecx
call fcn.100799b6
add esp, 0xc
test eax, eax
jne 0x100147e0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100148d8
mov esi, dword [ebx + 8]
lea edx, [esp + 0x24]
push 8
push edx
call fcn.10013360
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.100799b6
add esp, 0x14
test eax, eax
jne 0x10014765
jmp 0x10014896
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push 0x1007ad78
push ecx
call fcn.100799b6
add esp, 0xc
test eax, eax
jne 0x10014817
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100148d8
mov edx, dword [esp + 0x1c]
push 4
push str.auth
jmp 0x10014754
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push str.rspauth
push ecx
call fcn.100799b6
add esp, 0xc
test eax, eax
jne 0x1001486f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100148d8
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x5c]
push eax
push 0
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.10013460
mov eax, dword [esp + 0x2c]
push 0x20
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.100799b6
add esp, 0x1c
jmp 0x1001475d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push str.nextnonce
push eax
call fcn.100799b6
add esp, 0xc
test eax, eax
jne 0x10014896
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100148d8
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
cmp byte [ecx], 0
jne 0x100146d0
test ebp, ebp
je 0x100148ce
mov edx, dword [ebx + 4]
push edx
call fcn.1005abf0
mov eax, dword [edi]
push ebp
mov edi, 0x20
call fcn.10014210
add esp, 8
test eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
je 0x100148f8
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0x44
ret
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push edx
xor ecx, ecx
mov cx, word [eax + 2]
push 0
push 0xd8
push ecx
push eax
push 7
call fcn.100122e0
add esp, 0x18
pop esi
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x44
ret