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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c52fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1464
call fcn.004b0000
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x1460], eax
push ebx
push esi
push edi
mov eax, dword [0x4d98f0]
xor eax, esp
push eax
lea eax, [esp + 0x1478]
mov dword fs:[0], eax
cmp byte [0x51b848], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
jne 0x4a6f49
cmp dword [0x527244], 2
jne 0x4a6d9d
mov esi, dword [0x508868]
xor eax, eax
cmp esi, eax
je 0x4a6e06
mov edi, dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea ebx, [ebx]
movzx ecx, word [esi + 0x20]
mov edx, dword [esi + 0x4c]
movsx eax, byte [ecx + edx - 1]
push eax
call fcn.004557e0
test al, al
jne 0x4a6d47
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.004822b0
test al, al
jne 0x4a6d22
movzx eax, word [esi + 8]
movzx ecx, word [esi + 0xa]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
call edi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
call ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x4a6d47
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4a6ce0
cmp dword [esp + 0x18], esi
je 0x4a6d9d
cmp dword [esp + 0x1c], esi
je 0x4a6d9d
mov esi, dword [0x507344]
lea edi, [esp + 0x18]
call fcn.004a6ba0
xor ebx, ebx
cmp dword [0x5087fc], ebx
jbe 0x4a6d9d
mov edx, dword [0x507344]
push ebx
push edx
call fcn.00438200
mov esi, eax
lea edi, [esp + 0x18]
call fcn.004a6ba0
push esi
call fcn.004b01c1
inc ebx
add esp, 4
cmp ebx, dword [0x5087fc]
jb 0x4a6d73
cmp dword [0x527244], 1
jne 0x4a6e06
lea ecx, [esp + 0x44]
call fcn.004340f0
mov dword [esp + 0x1480], 0
mov eax, dword [0x507344]
push 2
push eax
push 0
lea ecx, [esp + 0x50]
call fcn.00434530
test al, al
je 0x4a6df2
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0xc5c]
push ecx
lea edx, [eax + 0xc38]
push edx
add eax, 0xc14
push eax
lea ecx, [esp + 0x50]
call fcn.004349a0
mov dword [esp + 0x1480], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.00434500
cmp byte [0x528c62], 0x41
mov byte [esp + 0x17], 0
jne 0x4a6f49
cmp byte [0x527342], 0
je 0x4a6e6c
call fcn.004932f0
mov ecx, dword [0x52a494]
mov esi, eax
call fcn.00470000
mov ecx, dword [0x52a494]
push 0x4c67ac
call fcn.004703e0
mov ecx, dword [0x52a498]
call fcn.00470000
call fcn.0047ebd0
call fcn.004932f0
cmp esi, eax
setne byte [esp + 0x17]
cmp byte [0x528c62], 0x41
jne 0x4a6f49
cmp byte [0x527404], 0
je 0x4a6f2a
mov ecx, dword [0x507344]
push 0x400
lea eax, [esp + 0xc70]
push eax
push ecx
call fcn.00455da0
xor eax, eax
mov bl, 0x40
cmp byte [0x527404], bl
lea edx, [esp + 0xc6c]
sete al
dec eax
and eax, 0x527404
push eax
push edx
call fcn.00470ca0
test al, al
jne 0x4a6ebc
mov byte [0x52725a], al
xor edi, edi
cmp dword [0x5087fc], edi
jbe 0x4a6f21
mov eax, dword [0x507344]
push edi
push eax
call fcn.00438200
push 0x400
lea ecx, [esp + 0x1070]
mov esi, eax
push ecx
push esi
call fcn.00455da0
xor eax, eax
cmp byte [0x527404], bl
lea edx, [esp + 0x106c]
sete al
dec eax
and eax, 0x527404
push eax
push edx
call fcn.00470ca0
test al, al
jne 0x4a6f0f
mov byte [0x52725a], al
push esi
call fcn.004b01c1
inc edi
add esp, 4
cmp edi, dword [0x5087fc]
jb 0x4a6ec6
cmp byte [0x528c62], 0x41
jne 0x4a6f49
cmp byte [0x52725a], 0
je 0x4a6f49
cmp byte [esp + 0x17], 0
jne 0x4a6f49
call fcn.004ad360
test eax, eax
je 0x4a6f49
push eax
call fcn.004a68d0
call fcn.004a66e0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1460]
xor ecx, esp
call fcn.004affec
mov esp, ebp
pop ebp
ret 8