Function at 0x43a100
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 8
push 1
call fcn.00404e60
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [0x482374]
add esp, 8
mov dword [ebp - 8], esi
test eax, eax
jne 0x43a13f
push str.kernel32.dll
call fcn.0043b980
add esp, 4
mov dword [0x482374], eax
test eax, eax
je 0x43a147
push str.AddDllDirectory
push eax
call ebx
push 0x54
push 3
mov dword [0x482370], eax
call fcn.00404e60
add esp, 8
mov dword [esi], eax
lea eax, [ebp - 0xc]
mov dword [esi + 4], 0
xor edi, edi
push eax
push str.SOFTWAREMITKerberos
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43a30e
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 4]
push eax
push edi
push str.InstallDir
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43a27d
cmp dword [ebp - 4], 1
jne 0x43a27d
mov eax, dword [ebp - 0x10]
add eax, 0x14
push 1
push eax
call fcn.00404e60
add esp, 8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 4]
push eax
push edi
push str.InstallDir
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43a272
cmp dword [ebp - 4], 1
jne 0x43a272
mov edi, dword [ebp - 0x14]
lea ecx, [edi - 1]
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x43a1f0
cmp dword [0x482370], 0
mov eax, dword [str._bin]
mov dword [ecx], eax
mov al, byte [0x471a5c]
mov byte [ecx + 4], al
je 0x43a234
push edi
push 0
push 0
call fcn.00405310
add esp, 0xc
mov esi, eax
push esi
call dword [0x482370]
push esi
call fcn.00404e40
mov esi, dword [ebp - 8]
add esp, 4
lea ecx, [edi - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x43a237
mov eax, dword [str.gssapi32.dll]
mov dword [ecx], eax
mov eax, dword [0x471a64]
mov dword [ecx + 4], eax
mov eax, dword [0x471a68]
push 0xd00
mov dword [ecx + 8], eax
mov ax, word [0x471a6c]
push 0
push edi
mov word [ecx + 0xc], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
push dword [ebp - 0x14]
call fcn.00404e40
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x43a30e
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 8]
imul esi, eax, 0x54
inc eax
push str.gss_delete_sec_context
push edi
mov dword [ecx + 4], eax
add esi, dword [ecx]
mov dword [esi], 0
mov dword [esi + 4], str.Using_GSSAPI_from_GSSAPI32.DLL
mov dword [esi + 0x50], edi
call ebx
push str.gss_display_status
push edi
mov dword [esi + 0x30], eax
call ebx
push str.gss_get_mic
push edi
mov dword [esi + 0x34], eax
call ebx
push str.gss_import_name
push edi
mov dword [esi + 0x38], eax
call ebx
push str.gss_init_sec_context
push edi
mov dword [esi + 0x3c], eax
call ebx
push str.gss_release_buffer
push edi
mov dword [esi + 0x40], eax
call ebx
push str.gss_release_cred
push edi
mov dword [esi + 0x44], eax
call ebx
push str.gss_release_name
push edi
mov dword [esi + 0x48], eax
call ebx
push esi
mov dword [esi + 0x4c], eax
call fcn.00429a40
add esp, 4
push str.secur32.dll
call fcn.0043b980
mov edi, dword [ebp - 8]
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x43a3b5
mov ecx, dword [edi + 4]
imul esi, ecx, 0x54
inc ecx
mov dword [edi + 4], ecx
push str.AcquireCredentialsHandleA
push eax
add esi, dword [edi]
mov dword [esi], 1
mov dword [esi + 4], str.Using_SSPI_from_SECUR32.DLL
mov dword [esi + 0x50], eax
call ebx
push str.InitializeSecurityContextA
push dword [ebp - 4]
mov dword [0x482354], eax
call ebx
push str.FreeContextBuffer
push dword [ebp - 4]
mov dword [0x482358], eax
call ebx
push str.FreeCredentialsHandle
push dword [ebp - 4]
mov dword [0x48235c], eax
call ebx
push str.DeleteSecurityContext
push dword [ebp - 4]
mov dword [0x482360], eax
call ebx
push str.QueryContextAttributesA
push dword [ebp - 4]
mov dword [0x482364], eax
call ebx
push str.MakeSignature
push dword [ebp - 4]
mov dword [0x482368], eax
call ebx
push esi
mov dword [0x48236c], eax
call fcn.0043a5b0
add esp, 4
push 0x2a
push dword [ebp + 8]
call fcn.00402d20
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
cmp byte [edx], 0
je 0x43a4ff
cmp dword [0x482370], 0
je 0x43a449
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a3e0
sub ecx, esi
test ecx, ecx
jle 0x43a449
nop dword [eax]
mov al, byte [edx + ecx - 1]
cmp al, 0x3a
je 0x43a407
cmp al, 0x5c
je 0x43a403
dec ecx
test ecx, ecx
jg 0x43a3f0
jmp 0x43a449
test ecx, ecx
je 0x43a449
cmp byte [ecx + edx - 1], 0x5c
je 0x43a413
dec ecx
test ecx, ecx
jle 0x43a449
push edx
push ecx
push str._.s
call fcn.00404860
mov edi, eax
push edi
push 0
push 0
call fcn.00405310
add esp, 0x18
mov esi, eax
push esi
call dword [0x482370]
push esi
call fcn.00404e40
push edi
call fcn.00404e40
mov edx, dword [ebp - 0x14]
add esp, 8
push 0xd00
push 0
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 4], eax
test eax, eax
je 0x43a508
mov edi, dword [ebp - 8]
push dword [ebp - 0x14]
push str.Using_GSSAPI_from_user_specified_library__s
mov ecx, dword [edi + 4]
imul esi, ecx, 0x54
inc ecx
mov dword [edi + 4], ecx
add esi, dword [edi]
mov dword [esi], 2
call fcn.00404860
add esp, 8
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x50], eax
push str.gss_delete_sec_context
push eax
call ebx
push str.gss_display_status
push dword [ebp - 4]
mov dword [esi + 0x30], eax
call ebx
push str.gss_get_mic
push dword [ebp - 4]
mov dword [esi + 0x34], eax
call ebx
push str.gss_import_name
push dword [ebp - 4]
mov dword [esi + 0x38], eax
call ebx
push str.gss_init_sec_context
push dword [ebp - 4]
mov dword [esi + 0x3c], eax
call ebx
push str.gss_release_buffer
push dword [ebp - 4]
mov dword [esi + 0x40], eax
call ebx
push str.gss_release_cred
push dword [ebp - 4]
mov dword [esi + 0x44], eax
call ebx
push str.gss_release_name
push dword [ebp - 4]
mov dword [esi + 0x48], eax
call ebx
push esi
mov dword [esi + 0x4c], eax
call fcn.00429a40
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret