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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d08a1
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4f59b8]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x4f59b8]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
call fcn.004673a0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [ebx + 4]
mov esi, dword [eax]
cmp esi, dword [ebx + 4]
je 0x4687aa
cmp dword [esi + 0x40], 8
lea edi, [esi + 0x28]
jb 0x468577
mov eax, dword [edi + 4]
jmp 0x46857a
lea eax, [edi + 4]
push str.waudit.exe
push eax
call fcn.004a04d7
add esp, 8
test eax, eax
je 0x468799
cmp dword [edi + 0x18], 8
jb 0x46859b
mov eax, dword [edi + 4]
jmp 0x46859e
lea eax, [edi + 4]
push 0x4d8108
push eax
call fcn.004a04d7
add esp, 8
test eax, eax
je 0x468799
lea ecx, [esp + 0x94]
call fcn.00466680
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x13c], 0
call fcn.00422080
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x144], 1
call fcn.00402ea0
cmp dword [esp + 0x70], 8
mov byte [esp + 0x138], 0
jb 0x46860d
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0049f16d
add esp, 4
push 0xffffffffffffffff
push 0
lea edx, [esi + 0xc]
push edx
lea ecx, [esp + 0xc0]
call fcn.00402ea0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0xec]
call fcn.00402ea0
mov eax, dword [esi + 8]
lea ecx, [esi + 0x44]
push ecx
lea ecx, [esp + 0x104]
mov dword [esp + 0x100], eax
call fcn.00466250
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 0x48]
push edx
call ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
fld qword [esp + 0x2c]
lea edx, [esp + 0x38]
fstp qword [esp + 0x114]
push edx
call ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
fld qword [esp + 0x24]
mov edx, dword [esi + 8]
fstp qword [esp + 0x11c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], edx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
call fcn.00402ea0
mov edi, dword [esp + 0x10]
cmp edi, ebx
mov byte [esp + 0x138], 2
je 0x468733
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00465280
mov ebx, dword [edi + 4]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4686fe
cmp edi, dword [esp + 0x10]
je 0x468703
call fcn.0049f4bd
cmp dword [esp + 0x18], ebx
je 0x468731
test edi, edi
jne 0x468712
call fcn.0049f4bd
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 4]
jne 0x468720
call fcn.0049f4bd
mov eax, dword [esp + 0x18]
fld qword [eax + 0xb0]
fstp qword [esp + 0x114]
xor ebx, ebx
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push edx
call fcn.004681e0
mov ecx, eax
call fcn.00466a00
cmp dword [esp + 0x90], 8
jb 0x468767
mov eax, dword [esp + 0x7c]
push eax
call fcn.0049f16d
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
mov dword [esp + 0x138], 0xffffffff
call fcn.004236b0
mov ebx, dword [esp + 0x20]
cmp esi, dword [ebx + 4]
jne 0x4687a3
call fcn.0049f4bd
mov esi, dword [esi]
jmp 0x468560
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0049fcf1
mov esp, ebp
pop ebp
ret