Function at 0x4b4d10
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xec]
mov dword [ebp - 0x144], 0
push 0x514bc4
push eax
mov byte [ebp - 0x14d], 0
mov dword [ebp - 0x18], 0x203e2d20
mov byte [ebp - 0x14], 0
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004a6e80
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.004a74d0
lea ecx, [ebp - 0x14d]
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004a8430
lea eax, [ebp - 0xdc]
mov byte [ebp - 0x14e], 0
push 0x514bc4
push eax
mov dword [ebp - 0x140], 0x202d3c20
mov byte [ebp - 0x13c], 0
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x370]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
add esp, 0x44
push esi
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.004a6e80
lea ecx, [ebp - 0x140]
push ecx
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004a74d0
lea ecx, [ebp - 0x14e]
push ecx
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004a8430
mov esi, dword [0x5569f0]
lea eax, [ebp - 0x134]
mov dword [ebp - 0x20c], eax
add esp, 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x208], esi
movlpd qword [ebp - 0x214], xmm0
mov eax, dword [esi]
mov dword [ebp - 0x204], 0
cmp dword [eax], 0
je 0x4b4ea1
lea eax, [ebp - 0x20]
movlpd qword [ebp - 0x20], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x5206ef
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x110]
push eax
push str._s_s
push 0x5206ef
push 0
push esi
mov dword [ebp - 0x210], ecx
call fcn.004bf2b0
add esp, 0x18
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 0
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b4f48
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x3c], 0x290028
push str.DllProtectStart
push eax
mov dword [ebp - 0x38], 0x2d0020
mov dword [ebp - 0x34], 0x20
call fcn.004ae910
mov esi, eax
lea eax, [ebp - 0x394]
push 0x513e38
push eax
call fcn.004aea30
push esi
push eax
lea eax, [ebp - 0x4fc]
push eax
call fcn.004a6f70
add esp, 0x1c
lea ecx, [ebp - 0x3c]
push edi
push dword [ebp + 8]
push str.options:__d__proc_name:__s
push ecx
push eax
lea eax, [ebp - 0x548]
push eax
call fcn.004a7720
add esp, 0xc
push eax
push 0
call fcn.004bf3e0
add esp, 0x14
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x138], str.bddllp_77C5D6EB_2669_4344_BA08_BAD4BF895666
and ecx, 0x30
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x138], eax
mov eax, edx
shr eax, 1
and al, 1
mov dword [0x556820], edx
mov byte [0x556a92], al
mov eax, edx
shr eax, 3
and al, 1
mov dword [0x556a94], ecx
mov byte [0x556a9b], al
mov eax, edx
shr eax, 2
and al, 1
mov byte [0x556a93], al
mov eax, edx
shr eax, 6
and al, 1
mov byte [0x556a98], al
mov eax, edx
shr eax, 7
and al, 1
mov byte [0x556a99], al
mov eax, edx
shr eax, 8
and al, 1
mov byte [0x556a9a], al
cmp ecx, 0x30
jne 0x4b50b9
lea eax, [ebp - 0x25c]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b509d
sub esp, 0x10
mov dword [ebp - 0x28], 0
mov eax, esp
lea ecx, [ebp - 0x28]
push 0x49
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x54]
push str.cannot_activate_dllprotect_in_report_mode_and_block_mode_at_the_same_time
push eax
call fcn.004d21c0
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x1d0]
push 0x514bc4
lea edi, [ebp - 0x54]
mov byte [ebp - 4], 1
cmovae edi, dword [ebp - 0x54]
push eax
mov dword [ebp - 0x144], 0x201
mov dword [ebp - 0x18], 0x2d202928
mov word [ebp - 0x14], 0x20
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004a6e80
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004a75f0
add esp, 0x44
push edi
push 0
push eax
push 0
call fcn.004bf180
add esp, 0x10
test byte [ebp - 0x144], 1
je 0x4b5a64
lea ecx, [ebp - 0x54]
call fcn.00406280
xor esi, esi
jmp 0x4b634f
test edi, edi
je 0x4b50ee
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b50c2
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, 0x54d264
call fcn.00415d70
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x138], eax
jmp 0x4b51d0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x54dd00
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004c1b10
add esp, 0xc
mov dword [ebp - 0x138], 0x400
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
jne 0x4b51c4
cmp dword [ebp - 0x40], 8
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x44]
cmovae ecx, dword [ebp - 0x54]
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.00416a60
add esp, 8
mov dword [ebp - 0x1fc], 0
sub esi, eax
mov dword [ebp - 0x1ec], 0
xor ecx, ecx
sar esi, 1
mov word [ebp - 0x1fc], cx
lea ecx, [ebp - 0x1fc]
push esi
push eax
mov dword [ebp - 0x1e8], 7
call fcn.00415d70
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f4]
call fcn.0040f220
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x138], 0x7c00
push eax
mov ecx, 0x54d264
call fcn.0040f190
lea ecx, [ebp - 0x2f4]
call fcn.00405a10
lea ecx, [ebp - 0x1fc]
call fcn.00405a10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00405a10
sub esp, 0x18
mov ecx, esp
push 0x54d264
call fcn.0040f220
call fcn.004c6b10
add esp, 0x18
call fcn.004c4e30
call fcn.004c27b0
mov eax, dword [ebp + 8]
test al, 0x50
je 0x4b55b4
cmp dword [0x556ac0], 0
je 0x4b55b4
push 0x512598
push 0xc
call fcn.004a48b0
add esp, 8
mov dword [ebp - 0x140], eax
test eax, eax
je 0x4b5483
mov ecx, dword [0x556ac0]
mov dword [eax + 4], ecx
mov ecx, dword [0x556ac4]
push 0x512598
push 0x80
mov dword [eax], vtable.EventsCbkDumper.0
mov dword [eax + 8], ecx
mov dword [0x556ac8], eax
call fcn.004a48b0
mov edi, eax
add esp, 8
mov dword [ebp - 0x140], edi
mov byte [ebp - 4], 6
test edi, edi
je 0x4b5348
mov esi, dword [0x556ac8]
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.004a4626
push 2
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
lea eax, [edi + 0x14]
push eax
call fcn.00490901
lea eax, [edi + 0x44]
push eax
call fcn.00491d59
lea eax, [edi + 0x6c]
xorps xmm0, xmm0
mov dword [eax], edi
lea ecx, [eax + 8]
mov dword [eax + 4], esi
mov byte [ecx], 0
mov dword [ebp - 0x144], eax
movq qword [eax + 0xc], xmm0
mov byte [ebp - 4], 8
mov al, 1
xchg byte [ecx], al
push 8
call fcn.004a4626
add esp, 0x14
lea esi, [edi + 0x6c]
test eax, eax
je 0x4b52f7
mov dword [eax], esi
mov dword [eax + 4], 0x4b4560
jmp 0x4b52f9
xor eax, eax
or dword [ebp - 0x138], 0x10000
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
push ecx
push 0
push eax
push 0x459030
push 0
push 0
call fcn.004defef
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x4b637c
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 8
jne 0x4b6377
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
jmp 0x4b534a
xor edi, edi
mov byte [ebp - 4], 0
mov dword [0x556acc], edi
test edi, edi
jne 0x4b55b1
lea eax, [ebp - 0x25c]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], edi
je 0x4b5454
sub esp, 0x10
mov dword [ebp - 0x30], edi
mov eax, esp
lea ecx, [ebp - 0x30]
push 0x1c
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
lea eax, [ebp - 0x168]
push str.failed_to_alloc_events_queue
push eax
call fcn.004d21c0
mov eax, dword [ebp - 0x138]
or eax, 0x20000
or eax, 4
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x154], 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x168]
cmovae eax, dword [ebp - 0x168]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x14c]
push 0x513e94
push eax
call fcn.004ae810
mov edi, eax
lea eax, [ebp - 0x1d0]
push 0x514bc4
push eax
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004a6e80
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004a75f0
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004bf180
add esp, 0x1c
test byte [ebp - 0x138], 4
je 0x4b5468
lea ecx, [ebp - 0x168]
call fcn.00406280
mov ecx, dword [0x556ac8]
test ecx, ecx
je 0x4b5a64
mov eax, dword [ecx]
push 1
call dword [eax]
xor esi, esi
jmp 0x4b634f
lea eax, [ebp - 0x25c]
mov dword [0x556ac8], 0
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b5592
sub esp, 0x10
mov dword [ebp - 0x28], 0
mov eax, esp
lea ecx, [ebp - 0x28]
push 0x1f
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x168]
push str.failed_to_alloc_events_consumer
push eax
call fcn.004d21c0
mov eax, dword [ebp - 0x138]
or eax, 0x8000
or eax, 2
mov byte [ebp - 4], 5
cmp dword [ebp - 0x154], 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x168]
cmovae eax, dword [ebp - 0x168]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x14c]
push 0x513e94
push eax
call fcn.004ae810
mov edi, eax
lea eax, [ebp - 0x1d0]
push 0x514bc4
push eax
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004a6e80
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004a75f0
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004bf180
add esp, 0x1c
test byte [ebp - 0x138], 2
je 0x4b5a64
lea ecx, [ebp - 0x168]
call fcn.00406280
xor esi, esi
jmp 0x4b634f
mov eax, dword [ebp + 8]
test al, 1
jne 0x4b55c3
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetSearchPathMode]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernelbase.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55681c], eax
test eax, eax
je 0x4b5652
push 0x514990
push eax
call esi
mov ecx, dword [0x556938]
test eax, eax
push 0x5149b4
push dword [0x55681c]
cmovne ecx, eax
mov dword [0x556938], ecx
call esi
mov ecx, dword [0x556824]
test eax, eax
push 0x5149fc
push dword [0x55681c]
cmovne ecx, eax
mov dword [0x556824], ecx
call esi
mov ecx, dword [0x556a68]
test eax, eax
push 0x5149d8
push dword [0x55681c]
cmovne ecx, eax
mov dword [0x556a68], ecx
call esi
mov ecx, dword [0x556a1c]
test eax, eax
cmovne ecx, eax
mov dword [0x556a1c], ecx
push 0x5247a0
call edi
mov dword [0x55680c], eax
test eax, eax
jne 0x4b5785
lea eax, [ebp - 0x25c]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b5766
sub esp, 0x10
mov dword [ebp - 0x30], 0
mov eax, esp
lea ecx, [ebp - 0x30]
push 0x22
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x168]
push str.cannot_get_ntdll.dll_module_handle
push eax
call fcn.004d21c0
mov eax, dword [ebp - 0x138]
or eax, 0x40000
or eax, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x154], 0x10
lea edi, [ebp - 0x168]
mov dword [ebp - 0x138], eax
cmovae edi, dword [ebp - 0x168]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x1d0]
push 0x514bc4
push eax
mov dword [ebp - 0x14c], 0x2d202928
mov word [ebp - 0x148], 0x20
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004a6e80
lea ecx, [ebp - 0x14c]
push ecx
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004a75f0
add esp, 0x44
push edi
push 0
push eax
push 0
call fcn.004bf180
add esp, 0x10
test byte [ebp - 0x138], 8
je 0x4b5a64
lea ecx, [ebp - 0x168]
call fcn.00406280
xor esi, esi
jmp 0x4b634f
push str.NtCreateSection
push eax
call esi
mov dword [0x556808], eax
test eax, eax
jne 0x4b58b9
lea eax, [ebp - 0x25c]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b589a
sub esp, 0x10
mov dword [ebp - 0x30], 0
mov eax, esp
lea ecx, [ebp - 0x30]
push 0x27
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x168]
push str.cannot_get_NtCreateSection_proc_address
push eax
call fcn.004d21c0
mov eax, dword [ebp - 0x138]
or eax, 0x80000
or eax, 0x10
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x154], 0x10
lea edi, [ebp - 0x168]
mov dword [ebp - 0x138], eax
cmovae edi, dword [ebp - 0x168]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x1d0]
push 0x514bc4
push eax
mov dword [ebp - 0x14c], 0x2d202928
mov word [ebp - 0x148], 0x20
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004a6e80
lea ecx, [ebp - 0x14c]
push ecx
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004a75f0
add esp, 0x44
push edi
push 0
push eax
push 0
call fcn.004bf180
add esp, 0x10
test byte [ebp - 0x138], 0x10
je 0x4b5a64
lea ecx, [ebp - 0x168]
call fcn.00406280
xor esi, esi
jmp 0x4b634f
call fcn.004d3260
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004d37c0
push 0x4ba390
push 0x556824
call fcn.004d2a30
test eax, eax
jne 0x4b5929
push 0x4ba1c0
push 0x556938
call fcn.004d2a30
test eax, eax
jne 0x4b5929
push 0x4b9db0
push 0x556a1c
call fcn.004d2a30
test eax, eax
jne 0x4b5929
push 0x4b9fd0
push 0x556a68
call fcn.004d2a30
test eax, eax
jne 0x4b5929
push 0x4bcc70
push 0x54c180
call fcn.004d2a30
test eax, eax
je 0x4b593f
call fcn.004d3130
push 1
call fcn.004be730
add esp, 4
xor esi, esi
jmp 0x4b634f
cmp byte [0x556a99], 0
je 0x4b5a6b
lea eax, [ebp - 0x570]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x2f4], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x2e4], xmm0
cmp dword [eax], 0
je 0x4b5a27
lea eax, [ebp - 0x22c]
push str.activating_NtCreateSection_Hook
push eax
call fcn.004acf40
add esp, 8
mov dword [ebp - 0x140], eax
mov ecx, eax
mov eax, dword [ebp - 0x138]
or eax, 0x20
mov byte [ebp - 4], 0xd
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], eax
jb 0x4b59c1
mov ecx, dword [ecx]
mov dword [ebp - 0x140], ecx
lea eax, [ebp - 0x14c]
push 0x513e94
push eax
call fcn.004ae810
mov edi, eax
lea eax, [ebp - 0x3cc]
push 0x514bc4
push eax
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x42c]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.004a6e80
push edi
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.004a75f0
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004bf180
add esp, 0x40
mov eax, dword [ebp - 0x138]
mov dword [ebp - 4], 0
test al, 0x20
je 0x4b5a4c
and eax, 0xffffffdf
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x138], eax
call fcn.00406280
push 0x4ba650
push 0x556808
call fcn.004d2a30
test eax, eax
je 0x4b5a6b
call fcn.004d3130
xor esi, esi
jmp 0x4b634f
call fcn.004d3310
push 0x54d1d4
lea ecx, [ebp - 0x31c]
call fcn.0040f220
push 0xd
xor eax, eax
mov dword [ebp - 0x180], 0
push str.cryptbase.dll
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
call fcn.00415d70
or dword [ebp - 0x138], 0x300000
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x31c]
call fcn.00405720
mov edx, dword [ebp - 0x16c]
mov esi, eax
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4b5b23
mov ecx, dword [ebp - 0x180]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b638a
push edx
push ecx
call fcn.004a44fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x170], 0
push esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
call fcn.0040f220
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x11
call fcn.00405a10
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmovae eax, dword [ebp - 0x9c]
push 8
push 0
push eax
call esi
mov dword [0x556810], eax
test eax, eax
jne 0x4b5cbf
lea eax, [ebp - 0x598]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x3ac], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x39c], xmm0
cmp dword [eax], 0
je 0x4b5c9a
sub esp, 0x10
mov dword [ebp - 0xd4], 0
mov eax, esp
lea ecx, [ebp - 0xd4]
push 0x19
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x28c]
push str.cannot_load_cryptbase.dll
push eax
call fcn.004d21c0
mov eax, dword [ebp - 0x138]
or eax, 0x400000
or eax, 0x40
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x278], 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x28c]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x2dc]
push 0x513e94
push eax
call fcn.004ae810
mov edi, eax
lea eax, [ebp - 0x370]
push 0x514bc4
push eax
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x418]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.004a6e80
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.004a75f0
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004bf180
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x1c
mov eax, dword [ebp - 0x138]
mov dword [ebp - 4], 0x11
test al, 0x40
je 0x4b5cbf
and eax, 0xffffffbf
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x138], eax
call fcn.00406280
push 0x54d1d4
lea ecx, [ebp - 0x334]
call fcn.0040f220
push 0xb
xor eax, eax
mov dword [ebp - 0x198], 0
push str.profapi.dll
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 7
mov word [ebp - 0x198], ax
call fcn.00415d70
or dword [ebp - 0x138], 0x1800000
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x334]
call fcn.00405720
mov edx, dword [ebp - 0x184]
mov edi, eax
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x4b5d72
mov ecx, dword [ebp - 0x198]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5d68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b638f
push edx
push ecx
call fcn.004a44fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x188], 0
push edi
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x184], 7
mov word [ebp - 0x198], ax
call fcn.0040f220
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x16
call fcn.00405a10
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
push 8
cmovae eax, dword [ebp - 0xb4]
push 0
push eax
call esi
mov dword [0x556814], eax
test eax, eax
jne 0x4b5f09
lea eax, [ebp - 0x5c0]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x23c], xmm0
cmp dword [eax], 0
je 0x4b5ee2
sub esp, 0x10
mov dword [ebp - 0xe4], 0
mov eax, esp
lea ecx, [ebp - 0xe4]
push 0x17
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x274]
push str.cannot_load_profapi.dll
push eax
call fcn.004d21c0
mov eax, dword [ebp - 0x138]
or eax, 0x2000000
or eax, 0x80
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x260], 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x274]
cmovae eax, dword [ebp - 0x274]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x30]
push 0x513e94
push eax
call fcn.004ae810
mov edi, eax
lea eax, [ebp - 0x1e4]
push 0x514bc4
push eax
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x404]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x470]
push eax
call fcn.004a6e80
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.004a75f0
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004bf180
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x1c
mov eax, dword [ebp - 0x138]
mov dword [ebp - 4], 0x16
test al, al
jns 0x4b5f09
and eax, 0xffffff7f
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x138], eax
call fcn.00406280
push 0x54d1d4
lea ecx, [ebp - 0x354]
call fcn.0040f220
push 0xc
xor eax, eax
mov dword [ebp - 0x168], 0
push str.wintrust.dll
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
call fcn.00415d70
or dword [ebp - 0x138], 0xc000000
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x354]
call fcn.00405720
mov edx, dword [ebp - 0x154]
mov edi, eax
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x4b5fbc
mov ecx, dword [ebp - 0x168]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5fb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6394
push edx
push ecx
call fcn.004a44fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x158], 0
push edi
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
call fcn.0040f220
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x1b
call fcn.00405a10
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
push 8
cmovae eax, dword [ebp - 0xcc]
push 0
push eax
call esi
mov dword [0x556818], eax
test eax, eax
jne 0x4b613e
lea eax, [ebp - 0x49c]
push eax
call fcn.004b9ca0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b6120
sub esp, 0x10
mov dword [ebp - 0x38], 0
mov eax, esp
lea ecx, [ebp - 0x38]
push 0x18
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x2cc]
push str.cannot_load_wintrust.dll
push eax
call fcn.004d21c0
mov eax, dword [ebp - 0x138]
or eax, 0x10000000
or eax, 0x100
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x2b8], 0x10
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x2cc]
cmovae eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x20]
push 0x513e94
push eax
call fcn.004ae810
mov edi, eax
lea eax, [ebp - 0x1d0]
push 0x514bc4
push eax
call fcn.004ae890
mov esi, eax
lea eax, [ebp - 0x3e0]
push str._DLLPROTECT__::
push eax
call fcn.004ae9a0
push esi
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004a6e80
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004a75f0
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004bf180
add esp, 0x1c
test dword [ebp - 0x138], 0x100
je 0x4b6137
lea ecx, [ebp - 0x2cc]
call fcn.00406280
xor esi, esi
jmp 0x4b632e
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [0x55680c]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x1c], 0x54dd00
push eax
call fcn.004c1b10
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push 0
cmovae eax, dword [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004bc920
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x49c]
push eax
call fcn.004b9ca0
add esp, 0x18
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b623a
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push 0x513e08
cmovae eax, dword [ebp - 0x84]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae850
mov edi, eax
lea eax, [ebp - 0x394]
push str.DllProtectStart
push eax
call fcn.004ae910
mov esi, eax
lea eax, [ebp - 0x3f0]
push 0x513e38
push eax
call fcn.004aea30
push esi
push eax
lea eax, [ebp - 0x600]
push eax
call fcn.004a6f70
push edi
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.004a7720
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push str.signature_check_moking_mocking_for__s_returned__d
push eax
push 0
call fcn.004bf3e0
add esp, 0x44
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004c1a40
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 0
cmovae eax, dword [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x1e
call fcn.004bc920
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.004b9ca0
add esp, 0x14
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x1a0], xmm0
cmp dword [eax], 0
je 0x4b6316
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 0x513e08
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004ae850
mov edi, eax
lea eax, [ebp - 0x2d4]
push str.DllProtectStart
push eax
call fcn.004ae910
mov esi, eax
lea eax, [ebp - 0x2b4]
push 0x513e38
push eax
call fcn.004aea30
push esi
push eax
lea eax, [ebp - 0x540]
push eax
call fcn.004a6f70
push edi
push eax
lea eax, [ebp - 0x698]
push eax
call fcn.004a7720
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push str.signature_check_moking_mocking_for__s_returned__d
push eax
push 0
call fcn.004bf3e0
add esp, 0x44
lea ecx, [ebp - 0x6c]
mov esi, 1
call fcn.00405a10
lea ecx, [ebp - 0x84]
call fcn.00405a10
lea ecx, [ebp - 0xcc]
call fcn.00405a10
lea ecx, [ebp - 0xb4]
call fcn.00405a10
lea ecx, [ebp - 0x9c]
call fcn.00405a10
lea ecx, [ebp - 0x214]
call fcn.004b3f20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
call fcn.004dee57
push 6
mov dword [ebp - 0x24], 0
call fcn.0048f7d4
call fcn.004da7c4
call fcn.004da7c4
call fcn.004da7c4
int3