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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
mov edx, dword [0x54c03c]
mov eax, dword [ebp + 8]
mov esi, ecx
xor edx, ebp
test eax, eax
mov dword [esp + 0x118], edx
mov dword [esp + 0x60], eax
je 0x414b16
push eax
call fcn.004eabc0
add esp, 4
jmp 0x414b18
xor eax, eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push 0xffffffffffffffff
push 0x4fe8a4
push eax
call fcn.00431560
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
je 0x414b6f
mov eax, dword [esp + 0x64]
inc edi
cmp eax, edi
jae 0x414b65
lea ebx, [esp + 0x68]
mov ecx, ebx
push str.n___length_
push 0xf2
push str..._.._base_strings_string_piece.h
call fcn.00413e80
mov ecx, ebx
call fcn.00413fc0
mov eax, dword [esp + 0x64]
add dword [esp + 0x60], edi
sub eax, edi
mov dword [esp + 0x64], eax
lea edi, [esi + 8]
push 0x5b
push edi
call fcn.004150c0
add esp, 8
cmp byte [0x54d6b4], 0
je 0x414b9f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, edi
push eax
call fcn.00415360
push 0x3a
push eax
call fcn.004150c0
add esp, 8
cmp byte [0x54d6b5], 0
je 0x414bc0
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, edi
push eax
call fcn.004154c0
push 0x3a
push eax
call fcn.004150c0
add esp, 8
cmp byte [0x54c004], 0
je 0x414d49
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x30
lea eax, [esp + 0x50]
push 0
push 2
push eax
call fcn.004d5877
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push eax
call dword [esp + 0x5c]
add esp, 0xc
movzx eax, word [esp + 0x6a]
mov ecx, edi
push eax
call fcn.00415620
mov ebx, eax
lea eax, [esp + 0x40]
push 0
push 2
push eax
call fcn.004d5877
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push eax
call dword [esp + 0x4c]
add esp, 0xc
movzx eax, word [esp + 0x6e]
mov ecx, ebx
push eax
call fcn.00415620
push 0x2f
push eax
call fcn.004150c0
add esp, 8
mov ebx, eax
lea eax, [esp + 0x30]
push 0
push 2
push eax
call fcn.004d5877
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call dword [esp + 0x3c]
add esp, 0xc
movzx eax, word [esp + 0x70]
mov ecx, ebx
push eax
call fcn.00415620
mov ebx, eax
lea eax, [esp + 0x20]
push 0
push 2
push eax
call fcn.004d5877
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
call dword [esp + 0x2c]
add esp, 0xc
movzx eax, word [esp + 0x72]
mov ecx, ebx
push eax
call fcn.00415620
mov ebx, eax
lea eax, [esp + 0x10]
push 0
push 2
push eax
call fcn.004d5877
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call dword [esp + 0x1c]
add esp, 0xc
movzx eax, word [esp + 0x74]
mov ecx, ebx
push eax
call fcn.00415620
push 0x2e
push eax
call fcn.004150c0
add esp, 8
mov ebx, eax
mov eax, esp
push 0
push 3
push eax
call fcn.004d5877
add esp, 0xc
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
call dword [esp + 0xc]
add esp, 0xc
movzx eax, word [esp + 0x76]
mov ecx, ebx
push eax
call fcn.00415620
push 0x3a
push eax
call fcn.004150c0
add esp, 8
cmp byte [0x54d6b6], 0
je 0x414d6d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
push 0
push eax
call fcn.00415780
push 0x3a
push eax
call fcn.004150c0
add esp, 8
mov eax, dword [esi]
mov ebx, dword [ebp + 0xc]
test eax, eax
js 0x414d93
mov ecx, 0x4fe1e0
cmp eax, 3
ja 0x414d87
mov ecx, dword [eax*4 + 0x4fe96c]
push ecx
push edi
call fcn.004015c0
add esp, 8
jmp 0x414dad
push str.VERBOSE
push edi
call fcn.004015c0
add esp, 8
xor edx, edx
mov ecx, eax
sub edx, dword [esi]
push edx
call fcn.00415360
push 0x4fe88b
push edi
call fcn.004015c0
add esp, 8
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.00430da0
add esp, 8
push 0x4fd446
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
push ebx
call fcn.00415360
push 0x4fe8b4
push eax
call fcn.004015c0
add esp, 8
lea eax, [esp + 0x68]
lea ecx, [esi + 0xc]
push eax
call fcn.00416ae0
mov eax, dword [esp + 0x78]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x7c]
cmp eax, 0x10
jb 0x414e3a
mov ecx, dword [esp + 0x68]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x414e30
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x414e52
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.004d4589
add esp, 8
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.004d45c8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004e40e0
int3