Function at 0x4bfb60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xafc
mov eax, dword [0x5a933c]
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 0x4bfed3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push ebx
call edi
test eax, eax
jne 0x4bfed5
cmp dword [0x5b06e8], eax
jne 0x4bfed3
mov esi, dword [0x5b06e4]
test esi, esi
jne 0x4bfd2d
xorps xmm0, xmm0
mov dword [0x5b06e0], esi
movups xmmword [0x5b06c0], xmm0
movups xmmword [0x5b06d0], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push esi
push str.dbghelp.dll
mov dword [0x5b06c0], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x5b06c4], eax
test eax, eax
je 0x4bfe78
push str.ImagehlpApiVersionEx
push eax
call edi
push str.SymInitialize
push dword [0x5b06c4]
mov dword [0x5b06c8], eax
call edi
push str.SymSetOptions
push dword [0x5b06c4]
mov dword [0x5b06cc], eax
call edi
push str.SymGetOptions
push dword [0x5b06c4]
mov dword [0x5b06d0], eax
call edi
push str.SymLoadModule64
push dword [0x5b06c4]
mov dword [0x5b06d4], eax
call edi
push str.SymGetModuleInfo64
push dword [0x5b06c4]
mov dword [0x5b06d8], eax
call edi
push str.SymFromName
push dword [0x5b06c4]
mov dword [0x5b06dc], eax
call edi
xorps xmm0, xmm0
mov dword [0x5b06e0], eax
mov ecx, 0xc
movlpd qword [ebp - 0xafc], xmm0
mov word [ebp - 0xafc], cx
mov ecx, dword [0x5b06c8]
test ecx, ecx
je 0x4bfe73
cmp dword [0x5b06cc], esi
je 0x4bfe73
cmp dword [0x5b06d8], esi
je 0x4bfe73
cmp dword [0x5b06dc], esi
je 0x4bfe73
test eax, eax
je 0x4bfe73
lea eax, [ebp - 0xafc]
push eax
call ecx
cmp word [ebp - 0xafc], 0xc
jb 0x4bfe73
push esi
push esi
push dword [0x5b06c0]
call dword [0x5b06cc]
test eax, eax
je 0x4bfe73
mov eax, dword [0x5b06d4]
test eax, eax
je 0x4bfd1e
cmp dword [0x5b06d0], esi
je 0x4bfd1e
call eax
and eax, 0xfffffffc
or eax, 0x2704
push eax
call dword [0x5b06d0]
mov dword [0x5b06e4], 0x5b06c0
mov esi, 0x5b06c0
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 0x4bfd5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4bfed3
push 0x68c
lea eax, [ebp - 0x890]
push 0
push eax
call fcn.004e53e0
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 0x4bfed3
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 0x4bfdc9
mov al, byte [edi + ecx]
test al, al
je 0x4bfdc9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4bfdb0
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
je 0x4bfed3
push 0x572070
push 0x200
lea eax, [ebp - 0x204]
push eax
call fcn.004bf5d0
test eax, eax
js 0x4bfed3
push dword [ebp - 0xaf4]
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.004bf5d0
test eax, eax
js 0x4bfed3
push 0x258
lea eax, [ebp - 0xaec]
push 0
push eax
call fcn.004e53e0
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 0x4bfed3
mov eax, dword [ebp - 0xab4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2448
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x5b06c4]
mov dword [0x5b06e8], 1
test eax, eax
je 0x4bfe8d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x5b06c8], 0
mov dword [0x5b06cc], 0
mov dword [0x5b06d0], 0
mov dword [0x5b06d4], 0
mov dword [0x5b06d8], 0
mov dword [0x5b06dc], 0
mov dword [0x5b06e0], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e2448
mov esp, ebp
pop ebp
ret 8