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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6218
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x518f10]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax], ebx
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x24], 1
call fcn.0042499a
mov esi, dword [ebp + 8]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x1c], ebx
push 0x3b
push ecx
lea eax, [esi + 0xe4]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
lea edi, [esp + 0x28]
call fcn.00424617
lea eax, [esp + 0x1c]
push eax
call fcn.0046a6d0
add esp, 0xc
mov byte [esp + 0xa8], 1
cmp dword [esp + 0x1c], 0xffffffff
je 0x430d60
lea eax, [esp + 0x14]
call fcn.00424772
push eax
lea ecx, [esp + 0x18]
call fcn.00424d3a
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x430d42
mov byte [esp + 0xa8], bl
lea ecx, [eax - 0x10]
call fcn.0042201a
jmp 0x430ce0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x70]
call fcn.004249fe
mov byte [esp + 0xa8], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
jmp 0x430d3b
mov byte [esp + 0xa8], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [esp + 0x84]
push eax
call fcn.0042499a
mov byte [esp + 0xa8], 2
mov dword [esp + 0x1c], ebx
push 0x3b
push ecx
lea eax, [esi + 0xe8]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
lea edi, [esp + 0x28]
call fcn.00424617
lea eax, [esp + 0x1c]
push eax
call fcn.0046a6d0
add esp, 0xc
mov byte [esp + 0xa8], 3
cmp dword [esp + 0x1c], 0xffffffff
je 0x430e11
lea eax, [esp + 0x14]
call fcn.00424772
push eax
lea ecx, [esp + 0x18]
call fcn.00424d3a
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x430def
mov byte [esp + 0xa8], 2
lea ecx, [eax - 0x10]
call fcn.0042201a
jmp 0x430d8c
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x88]
call fcn.004249fe
mov byte [esp + 0xa8], 2
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
jmp 0x430de8
mov byte [esp + 0xa8], 2
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
lea eax, [esp + 0x54]
push eax
call fcn.0042499a
mov byte [esp + 0xa8], 4
cmp dword [esi + 0xf0], 1
jne 0x430ede
mov dword [esp + 0x1c], ebx
push 0x3b
push ecx
lea eax, [esi + 0xf4]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
lea edi, [esp + 0x28]
call fcn.00424617
lea eax, [esp + 0x1c]
push eax
call fcn.0046a6d0
add esp, 0xc
mov byte [esp + 0xa8], 5
cmp dword [esp + 0x1c], 0xffffffff
je 0x430eca
lea eax, [esp + 0x14]
call fcn.00424772
push eax
lea ecx, [esp + 0x18]
call fcn.00424d3a
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x430eab
mov byte [esp + 0xa8], 4
lea ecx, [eax - 0x10]
call fcn.0042201a
jmp 0x430e48
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
call fcn.004249fe
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
jmp 0x430ea4
mov byte [esp + 0xa8], 4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [esp + 0x94]
sub ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
mov edx, dword [esp + 0x7c]
sub edx, dword [esp + 0x78]
sar ecx, 2
push ecx
mov edi, esp
mov dword [esp + 0x1c], esp
push dword [esi + 0xf0]
sar eax, 2
push eax
push ecx
sar edx, 2
push edx
push str.DoAuthenticate:__d_allowed_groups___d_denied_groups___d_allowed_domains_mode_d_
push edi
call fcn.00466ad0
add esp, 0x18
call fcn.00430308
pop ecx
lea eax, [esp + 0x34]
push 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
call fcn.004a2eb2
pop ecx
cmp eax, ebx
je 0x430f4d
lea ecx, [esp + 0x34]
mov dword [eax], ecx
jmp 0x430f4f
xor eax, eax
mov dword [esp + 0x34], eax
mov byte [esp + 0xa8], 6
call fcn.0043f1e3
mov dword [esp + 0x4c], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x4c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [eax], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + 8], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
sar eax, 2
test eax, eax
jbe 0x4310ac
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x6c]
push ecx
push eax
mov dword [esp + 0x40], ebx
call fcn.0042bc61
lea eax, [esp + 0x38]
push eax
call fcn.0042cce1
push ecx
mov edi, eax
and edi, 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
cmp dword [esp + 0x28], ebx
je 0x431002
push str.DoAuthenticate_AllowedDomains_:_connected_to_a_white_listed_domain._Allowing._bOk_d
push ecx
call fcn.00466ad0
add esp, 0xc
call fcn.00430308
mov esi, dword [ebp + 0xc]
pop ecx
mov dword [esi], 1
jmp 0x4310b3
push str._DoAuthenticate_AllowedDomain_:_denied__domain_not_in_AllowedDomains___bOk_d
push ecx
call fcn.00466ad0
add esp, 0xc
call fcn.00430308
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov byte [esp + 0xac], 4
pop ecx
cmp dword [esp + 0x24], ebx
je 0x43104f
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x2c], ebx
je 0x43103f
push dword [esp + 0x2c]
call fcn.004b2405
pop ecx
cmp dword [esp + 0x30], ebx
je 0x43104f
push dword [esp + 0x30]
call fcn.004b2405
pop ecx
lea eax, [esp + 0x34]
push eax
call fcn.0042dadb
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xac], 2
call fcn.004249d2
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0xac], bl
call fcn.004249d2
or dword [esp + 0xa8], 0xffffffff
lea eax, [esp + 0x6c]
push eax
call fcn.004249d2
xor eax, eax
inc eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x90]
sar eax, 2
test eax, eax
jbe 0x431159
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x9c]
push ecx
push eax
call fcn.0042bc61
xor eax, eax
cmp dword [0x51efec], 1
lea edx, [esp + 0x2c]
sete al
lea ecx, [esp + 0x34]
lea ebx, [esp + 0x3c]
push eax
call fcn.0042cfc6
xor ebx, ebx
and edi, eax
push ecx
mov dword [esp + 0x1c], esp
cmp dword [esp + 0x18], ebx
jne 0x43112b
mov eax, esp
push str._DoAuthenticate_DeniedGroups_:_not_connected_to_domain._Authentication_failed.
push eax
call fcn.00466ad0
pop ecx
pop ecx
call fcn.00430308
mov dword [esi], ebx
jmp 0x43101a
cmp dword [esp + 0x20], ebx
je 0x43113a
mov eax, esp
push str._DoAuthenticate_DeniedGroups_:_denied__user_in_DeniedGroups_
jmp 0x431117
mov ecx, esp
push eax
push str.DoAuthenticate_DeniedGroups_:_not_black_listed_group._Allowing__but_proceeding_with_more_checks_._bOk_d
push ecx
call fcn.00466ad0
add esp, 0xc
call fcn.00430308
pop ecx
mov dword [esi], 1
xor ebx, ebx
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x78]
sar eax, 2
test eax, eax
jbe 0x43128e
sub esp, 0x18
mov eax, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.0042bc61
xor eax, eax
cmp dword [0x51efec], 1
lea edx, [esp + 0x2c]
sete al
lea ecx, [esp + 0x34]
lea ebx, [esp + 0x3c]
push eax
call fcn.0042cfc6
xor ebx, ebx
and edi, eax
push ecx
mov dword [esp + 0x1c], esp
cmp dword [esp + 0x18], ebx
jne 0x4311bc
mov eax, esp
push str._DoAuthenticate_AllowedGroups_:_not_connected_to_domain._Authentication_failed.
jmp 0x431117
cmp dword [esp + 0x20], ebx
jne 0x4311ce
mov eax, esp
push str._DoAuthenticate_AllowedGroups_:_denied__user_not_in_AllowedGroups_
jmp 0x431117
cmp eax, ebx
jne 0x43126f
mov eax, esp
push str._DoAuthenticate_AllowedGroups_:_failed__general_error_in_AllowedGroups_check_._Denying_by_safety.
push eax
call fcn.00466ad0
pop ecx
pop ecx
call fcn.00430308
mov byte [esp + 0xac], 4
pop ecx
mov dword [esi], ebx
cmp dword [esp + 0x24], ebx
je 0x431221
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x2c], ebx
je 0x431211
push dword [esp + 0x2c]
call fcn.004b2405
pop ecx
cmp dword [esp + 0x30], ebx
je 0x431221
push dword [esp + 0x30]
call fcn.004b2405
pop ecx
xor edi, edi
inc edi
xor ebx, ebx
lea eax, [esp + 0x34]
push eax
call fcn.0042dadb
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xac], 2
call fcn.004249d2
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0xac], bl
call fcn.004249d2
or dword [esp + 0xa8], 0xffffffff
lea eax, [esp + 0x6c]
push eax
call fcn.004249d2
mov eax, edi
jmp 0x431094
mov ecx, esp
push eax
push str.DoAuthenticate_AllowedGroups_:_white_listed_group._Allowing__but_proceeding_with_more_checks_._bOk_d
push ecx
call fcn.00466ad0
add esp, 0xc
call fcn.00430308
pop ecx
mov dword [esi], 1
xor ebx, ebx
mov byte [esp + 0xa8], 4
cmp dword [esp + 0x24], ebx
je 0x431226
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x2c], ebx
je 0x4312b2
push dword [esp + 0x2c]
call fcn.004b2405
pop ecx
cmp dword [esp + 0x30], ebx
je 0x431226
push dword [esp + 0x30]
call fcn.004b2405
pop ecx
jmp 0x431226