Function at 0x493df0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xafc
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push eax
mov dword [ebp - 0xaf0], eax
mov dword [ebp - 0xaf4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
je 0x494163
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push ebx
call edi
test eax, eax
jne 0x494165
cmp dword [0x5c27fc], eax
jne 0x494163
mov esi, dword [0x5c27f8]
test esi, esi
jne 0x493fbd
xorps xmm0, xmm0
mov dword [0x5c27f4], esi
movups xmmword [0x5c27d4], xmm0
movups xmmword [0x5c27e4], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push esi
push 0x57bf04
mov dword [0x5c27d4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x5c27d8], eax
test eax, eax
je 0x494108
push str.ImagehlpApiVersionEx
push eax
call edi
push 0x57bf34
push dword [0x5c27d8]
mov dword [0x5c27dc], eax
call edi
push 0x57bf44
push dword [0x5c27d8]
mov dword [0x5c27e0], eax
call edi
push 0x57bf54
push dword [0x5c27d8]
mov dword [0x5c27e4], eax
call edi
push str.SymLoadModule64
push dword [0x5c27d8]
mov dword [0x5c27e8], eax
call edi
push str.SymGetModuleInfo64
push dword [0x5c27d8]
mov dword [0x5c27ec], eax
call edi
push str.SymFromName
push dword [0x5c27d8]
mov dword [0x5c27f0], eax
call edi
xorps xmm0, xmm0
mov dword [0x5c27f4], eax
mov ecx, 0xc
movlpd qword [ebp - 0xafc], xmm0
mov word [ebp - 0xafc], cx
mov ecx, dword [0x5c27dc]
test ecx, ecx
je 0x494103
cmp dword [0x5c27e0], esi
je 0x494103
cmp dword [0x5c27ec], esi
je 0x494103
cmp dword [0x5c27f0], esi
je 0x494103
test eax, eax
je 0x494103
lea eax, [ebp - 0xafc]
push eax
call ecx
cmp word [ebp - 0xafc], 0xc
jb 0x494103
push esi
push esi
push dword [0x5c27d4]
call dword [0x5c27e0]
test eax, eax
je 0x494103
mov eax, dword [0x5c27e8]
test eax, eax
je 0x493fae
cmp dword [0x5c27e4], esi
je 0x493fae
call eax
and eax, 0xfffffffc
or eax, 0x2704
push eax
call dword [0x5c27e4]
mov dword [0x5c27f8], 0x5c27d4
mov esi, 0x5c27d4
mov ecx, dword [esi + 0x18]
mov eax, ebx
push 0
cdq
mov edi, edx
mov ebx, eax
push edi
push ebx
push 0
push dword [ebp - 0xaf0]
push 0
push dword [esi]
call ecx
or eax, edx
jne 0x493feb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x494163
push 0x68c
lea eax, [ebp - 0x890]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x894], 0x690
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x894]
push ecx
push edi
push ebx
push dword [esi]
call eax
test eax, eax
je 0x494163
lea ecx, [ebp - 0x204]
mov edx, 0x200
lea edi, [ebp - 0x870]
mov eax, ecx
sub edi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffdfe]
test eax, eax
je 0x494059
mov al, byte [edi + ecx]
test al, al
je 0x494059
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x494040
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
je 0x494163
push 0x57bf94
push 0x200
lea eax, [ebp - 0x204]
push eax
call fcn.00493860
test eax, eax
js 0x494163
push dword [ebp - 0xaf4]
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00493860
test eax, eax
js 0x494163
push 0x258
lea eax, [ebp - 0xaec]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xaec], 0x58
lea ecx, [ebp - 0xaec]
mov dword [ebp - 0xa9c], 0x200
mov eax, dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x204]
push ecx
push dword [esi]
call eax
test eax, eax
je 0x494163
mov eax, dword [ebp - 0xab4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x5c27d8]
mov dword [0x5c27fc], 1
test eax, eax
je 0x49411d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x5c27dc], 0
mov dword [0x5c27e0], 0
mov dword [0x5c27e4], 0
mov dword [0x5c27e8], 0
mov dword [0x5c27ec], 0
mov dword [0x5c27f0], 0
mov dword [0x5c27f4], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00563360
mov esp, ebp
pop ebp
ret 8