Function at 0x430336
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
push ebx
push esi
lea eax, [ebp - 0x94]
push edi
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4303e2
xor edi, edi
cmp dword [0x441ff4], edi
je 0x4306c0
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x430392
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x4306c0
cmp eax, 1
jle 0x4306c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4411f8], edi
mov ebx, eax
jge 0x4303b4
mov eax, dword [0x441fa0]
mov dword [0x4411f8], eax
call fcn.0041c4b1
test eax, eax
je 0x4306b2
push 1
push dword [0x4411f8]
push 0xe2
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsockNTLMAuth.cpp
call fcn.0041c4e1
push str.SSPINTLM:Get_version_failed_n
jmp 0x4306a5
cmp dword [ebp - 0x84], 2
jne 0x430403
lea eax, [ebp - 0x198]
push str.security.dll
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop ebx
jmp 0x430425
push 1
pop ebx
cmp dword [ebp - 0x84], ebx
jne 0x43063b
lea eax, [ebp - 0x198]
push str.secur32.dll
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov dword [0x445608], eax
cmp eax, edi
jne 0x4304ba
cmp dword [0x441ff4], edi
je 0x4306c0
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, ebx
je 0x43046a
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x4306c0
cmp eax, ebx
jle 0x4306c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4411f8], edi
mov ebx, eax
jge 0x43048c
mov eax, dword [0x441fa0]
mov dword [0x4411f8], eax
call fcn.0041c4b1
test eax, eax
je 0x4306b2
push 1
push dword [0x4411f8]
push 0xfb
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsockNTLMAuth.cpp
call fcn.0041c4e1
push str.SSPINTLM:Load_security_lib_failed_n
jmp 0x4306a5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FreeCredentialsHandle
push eax
call esi
push str.QuerySecurityPackageInfoA
mov dword [0x4455e0], eax
push dword [0x445608]
call esi
push str.AcquireCredentialsHandleA
mov dword [0x4455e8], eax
push dword [0x445608]
call esi
push str.FreeContextBuffer
mov dword [0x4455e4], eax
push dword [0x445608]
call esi
push str.InitializeSecurityContextA
mov dword [0x4455ec], eax
push dword [0x445608]
call esi
push str.CompleteAuthToken
mov dword [0x4455f0], eax
push dword [0x445608]
call esi
push str.EnumerateSecurityPackagesA
mov dword [0x4455f4], eax
push dword [0x445608]
call esi
push str.DeleteSecurityContext
mov dword [0x4455f8], eax
push dword [0x445608]
call esi
cmp dword [0x4455e0], edi
mov dword [0x4455fc], eax
je 0x4305a1
cmp dword [0x4455e8], edi
je 0x4305a1
cmp dword [0x4455e4], edi
je 0x4305a1
cmp dword [0x4455ec], edi
je 0x4305a1
cmp dword [0x4455f0], edi
je 0x4305a1
cmp dword [0x4455f8], edi
je 0x4305a1
push 0x80
push edi
push 0x44560c
mov dword [0x445604], edi
mov dword [0x445600], edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, ebx
jmp 0x4306c2
cmp dword [0x441ff4], edi
je 0x430624
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, ebx
je 0x4305c2
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x430624
cmp eax, ebx
jle 0x430624
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4411f8], edi
mov ebx, eax
jge 0x4305e4
mov eax, dword [0x441fa0]
mov dword [0x4411f8], eax
call fcn.0041c4b1
test eax, eax
je 0x430616
push 1
push dword [0x4411f8]
push 0x130
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsockNTLMAuth.cpp
call fcn.0041c4e1
push str.SSPINTLM:Get_procaddress_in_lib_failed_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [0x445608]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x445608], edi
jmp 0x4306c0
xor edi, edi
cmp dword [0x441ff4], edi
je 0x4306c0
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, ebx
je 0x43065e
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x4306c0
cmp eax, ebx
jle 0x4306c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4411f8], edi
mov ebx, eax
jge 0x430680
mov eax, dword [0x441fa0]
mov dword [0x4411f8], eax
call fcn.0041c4b1
test eax, eax
je 0x4306b2
push 1
push dword [0x4411f8]
push 0xf0
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsockNTLMAuth.cpp
call fcn.0041c4e1
push 0x44123c
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret