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

Disassembly:
sub esp, 0x5c4
mov eax, dword [0x1006a744]
xor eax, esp
mov dword [esp + 0x5c0], eax
mov eax, dword [esp + 0x5cc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5d0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5d4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5d8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5e0]
push ebx
mov dword [esp + 0x40], eax
xor ebx, ebx
mov eax, dword [esp + 0x5e8]
push ebp
mov ebp, dword [esp + 0x5e4]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push esi
mov esi, dword [esp + 0x5d4]
push eax
mov eax, dword [0x1006a780]
push str.WDigest
mov dword [esp + 0x34], esi
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x1004b14e
push str.SSPI:_couldnt_get_auth_info
push esi
call fcn.1000c060
add esp, 8
lea eax, [ebx + 0x5e]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c0]
xor ecx, esp
call fcn.10056613
add esp, 0x5c4
ret
mov eax, dword [esp + 0x44]
push edi
push eax
mov esi, dword [eax + 8]
mov eax, dword [0x1006a780]
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0x40]
call eax
push esi
call dword [0x100691ac]
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
je 0x1004b517
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
test edx, edx
je 0x1004b18e
test ecx, ecx
je 0x1004b1e5
jmp 0x1004b192
test ecx, ecx
jne 0x1004b1e5
lea esi, [ebp + 0x10]
mov eax, dword [esi]
cmp dword [esp + 0x1c], ebx
je 0x1004b1a3
test eax, eax
je 0x1004b1e5
jmp 0x1004b1a7
test eax, eax
jne 0x1004b1e5
test edx, edx
je 0x1004b1bd
test ecx, ecx
je 0x1004b1bd
push ecx
push edx
call fcn.1003cb60
add esp, 8
test eax, eax
jne 0x1004b1e5
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x1004b227
mov eax, dword [esi]
mov dword [esp + 0x18], esi
test eax, eax
je 0x1004b227
push eax
push ecx
mov dword [esp + 0x20], esi
call fcn.1003cb60
add esp, 8
test eax, eax
je 0x1004b227
mov eax, dword [ebp + 8]
test eax, eax
je 0x1004b206
push eax
mov eax, dword [0x1006a780]
mov eax, dword [eax + 0x24]
call eax
push dword [ebp + 8]
call dword [0x100691b0]
add esp, 4
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
call dword [0x100691b0]
push dword [ebp + 0x10]
lea esi, [ebp + 0x10]
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x20], esi
call dword [0x100691b0]
add esp, 8
mov dword [esi], ebx
mov esi, dword [esp + 0x24]
cmp dword [ebp + 8], ebx
je 0x1004b359
mov ecx, esi
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x94]
mov dword [esp + 0x40], 5
mov dword [esp + 0x44], eax
mov dword [esp + 0x98], 2
mov dword [esp + 0x9c], ebx
lea edx, [ecx + 1]
mov dword [esp + 0x94], ebx
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa8], esi
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b280
sub ecx, edx
push ecx
call fcn.1004ac70
mov dword [esp + 0xa4], eax
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0xb0], 3
mov dword [esp + 0xb4], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b2b4
sub ecx, edx
push ecx
call fcn.1004ac70
push dword [esp + 0x2c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], 3
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xd0], 9
mov dword [esp + 0xd4], edi
call fcn.1004ac70
add esp, 8
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x3c]
push 0
push eax
mov eax, dword [0x1006a780]
push 0
push dword [ebp + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x1004b32b
mov ebx, dword [esp + 0xc4]
jmp 0x1004b359
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx
push dword [esp + 0x38]
call fcn.1000c130
mov eax, dword [0x1006a780]
add esp, 0xc
push dword [ebp + 8]
mov eax, dword [eax + 0x24]
call eax
push dword [ebp + 8]
call dword [0x100691b0]
add esp, 4
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0
jne 0x1004b7d5
push dword [ebp + 0xc]
call dword [0x100691b0]
mov ebx, dword [esp + 0x1c]
mov dword [ebp + 0xc], 0
push dword [ebx]
call dword [0x100691b0]
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [ebx], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x1004b4f2
cmp byte [eax], 0
je 0x1004b4f2
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x20]
push eax
call fcn.1000d7f0
add esp, 0xc
test eax, eax
jne 0x1004b50d
cmp dword [esp + 0x80], 0
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
je 0x1004b3e0
cmp dword [esp + 0x84], 0
jne 0x1004b4e8
nop dword [eax]
mov cl, byte [eax]
test cl, cl
je 0x1004b3fb
cmp cl, 0x20
je 0x1004b3f0
cmp cl, 9
jne 0x1004b3fb
inc eax
mov dword [esp + 0x14], eax
mov cl, byte [eax]
test cl, cl
jne 0x1004b3e6
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1d4]
push ecx
lea ecx, [esp + 0xd8]
push ecx
push eax
call fcn.1004af50
add esp, 0x10
test al, al
je 0x1004b4e4
lea eax, [esp + 0xd0]
push str.realm
push eax
call sym.libcurl.dll_curl_strequal
add esp, 8
test eax, eax
je 0x1004b4a2
lea eax, [esp + 0x1d0]
push eax
call fcn.1000c1f0
mov edi, eax
add esp, 4
test edi, edi
je 0x1004b509
push edi
call dword [0x100691c0]
mov esi, eax
add esp, 4
test esi, esi
je 0x1004b4dc
push dword [esp + 0x80]
call dword [0x100691b0]
add esp, 4
mov dword [esp + 0x80], esi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004b480
sub esi, ecx
sar esi, 1
push esi
call fcn.1004ac70
push edi
mov dword [esp + 0x8c], eax
call ebx
add esp, 8
mov eax, dword [esp + 0x14]
mov dl, byte [eax]
test dl, dl
je 0x1004b4c9
mov cl, dl
nop
cmp cl, 0x20
je 0x1004b4bc
mov dl, cl
cmp cl, 9
jne 0x1004b4c9
inc eax
mov dword [esp + 0x14], eax
mov dl, byte [eax]
mov cl, dl
test cl, cl
jne 0x1004b4b0
cmp dl, 0x2c
jne 0x1004b3e0
inc eax
mov dword [esp + 0x14], eax
jmp 0x1004b3e0
push edi
call ebx
add esp, 4
jmp 0x1004b509
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x78]
jmp 0x1004b4f8
xor edi, edi
test eax, eax
je 0x1004b535
push eax
call dword [0x100691b8]
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1004b535
mov edi, dword [esp + 0x10]
push edi
call dword [0x100691b0]
add esp, 4
mov eax, 0x1b
mov ecx, dword [esp + 0x5d0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10056613
add esp, 0x5c4
ret
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1004b570
push eax
call dword [0x100691b8]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x1004b570
push dword [esp + 0x10]
call dword [0x100691b0]
push dword [ebp + 0xc]
call dword [0x100691b0]
add esp, 8
mov dword [ebp + 0xc], 0
jmp 0x1004b517
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [0x1006a780]
push 0
push 0
push edi
mov eax, dword [eax + 0xc]
push 0
push 2
push str.WDigest
push 0
call eax
test eax, eax
je 0x1004b5b5
push edi
call fcn.1000d950
push dword [esp + 0x14]
call dword [0x100691b0]
add esp, 8
mov eax, 0x43
jmp 0x1004b51c
push dword [ebp + 4]
lea eax, [esp + 0x98]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov dword [esp + 0x44], 3
mov dword [esp + 0x9c], 2
mov dword [esp + 0xa0], eax
call fcn.1004ac70
add esp, 4
mov dword [esp + 0x94], eax
mov dword [esp + 0xa4], 3
lea ecx, [esi + 1]
mov dword [esp + 0xa8], esi
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004b610
sub esi, ecx
push esi
call fcn.1004ac70
push dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x68]
mov dword [esp + 0xb8], 3
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], 2
mov dword [esp + 0x70], esi
call fcn.1004ac70
push dword [esp + 0x34]
mov dword [esp + 0x6c], eax
call fcn.1000c1f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1004b6b2
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x1006a780]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.1000d950
push esi
call dword [0x100691b0]
add esp, 8
jmp 0x1004b517
push 8
push 1
call dword [0x100691bc]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x1004b517
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
push 0
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0x1000000
push ebx
push 0
lea eax, [esp + 0x60]
push eax
mov eax, dword [0x1006a780]
mov eax, dword [eax + 0x18]
call eax
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, 0x90313
je 0x1004b7a1
cmp esi, 0x90314
je 0x1004b7a1
test esi, esi
je 0x1004b7b5
cmp esi, 0x90312
je 0x1004b7b5
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x1006a780]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.1000d950
push dword [esp + 0x14]
call dword [0x100691b0]
push dword [ebp + 8]
call dword [0x100691b0]
add esp, 0xc
mov dword [ebp + 8], 0
cmp esi, 0x80090300
je 0x1004b517
push 0x100
lea eax, [esp + 0xd4]
push eax
push esi
call fcn.1003cd70
push eax
push str.schannel:_InitializeSecurityContext_failed:__s
push dword [esp + 0x44]
call fcn.1000c130
add esp, 0x18
mov eax, 0x5e
jmp 0x1004b51c
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [0x1006a780]
mov eax, dword [eax + 0x20]
call eax
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x1006a780]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.1000d950
mov edi, dword [esp + 0x14]
add esp, 4
lea eax, [ebx + 1]
push eax
call dword [0x100691ac]
mov esi, eax
add esp, 4
test esi, esi
je 0x1004b50d
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x58]
mov byte [esi + ebx], 0
push edi
mov dword [eax], esi
mov eax, dword [esp + 0x60]
mov dword [eax], ebx
call dword [0x100691b0]
add esp, 0x10
xor eax, eax
jmp 0x1004b51c