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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x53d058]
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 0x50a15c
push eax
mov byte [ebp - 0x14d], 0
mov dword [ebp - 0x18], 0x203e2d20
mov byte [ebp - 0x14], 0
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0049b2e0
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0049b930
lea ecx, [ebp - 0x14d]
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0049c890
lea eax, [ebp - 0xdc]
mov byte [ebp - 0x14e], 0
push 0x50a15c
push eax
mov dword [ebp - 0x140], 0x202d3c20
mov byte [ebp - 0x13c], 0
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x370]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
add esp, 0x44
push esi
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.0049b2e0
lea ecx, [ebp - 0x140]
push ecx
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0049b930
lea ecx, [ebp - 0x14e]
push ecx
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0049c890
mov esi, dword [0x544890]
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 0x4a9601
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 0x515fb3
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x110]
push eax
push str._s_s
push 0x515fb3
push 0
push esi
mov dword [ebp - 0x210], ecx
call fcn.004b4f70
add esp, 0x18
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 0
push eax
call fcn.004ae6d0
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 0x4a96a8
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.004a2fe0
mov esi, eax
lea eax, [ebp - 0x394]
push 0x5093d8
push eax
call fcn.004a3100
push esi
push eax
lea eax, [ebp - 0x4fc]
push eax
call fcn.0049b3d0
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.0049bb80
add esp, 0xc
push eax
push 0
call fcn.004b50a0
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 [0x5446c0], edx
mov byte [0x544932], al
mov eax, edx
shr eax, 3
and al, 1
mov dword [0x544934], ecx
mov byte [0x54493b], al
mov eax, edx
shr eax, 2
and al, 1
mov byte [0x544933], al
mov eax, edx
shr eax, 6
and al, 1
mov byte [0x544938], al
mov eax, edx
shr eax, 7
and al, 1
mov byte [0x544939], al
mov eax, edx
shr eax, 8
and al, 1
mov byte [0x54493a], al
cmp ecx, 0x30
jne 0x4a9819
lea eax, [ebp - 0x25c]
push eax
call fcn.004ae6d0
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 0x4a97fd
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.004c8210
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x1d0]
push 0x50a15c
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.004a2f60
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0049b2e0
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0049ba50
add esp, 0x44
push edi
push 0
push eax
push 0
call fcn.004b4e40
add esp, 0x10
test byte [ebp - 0x144], 1
je 0x4aa1c4
lea ecx, [ebp - 0x54]
call fcn.004032e0
xor esi, esi
jmp 0x4aaaaf
test edi, edi
je 0x4a984e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9822
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, 0x53e174
call fcn.004034d0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x138], eax
jmp 0x4a9930
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x53ece0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004b78e0
add esp, 0xc
mov dword [ebp - 0x138], 0x400
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
jne 0x4a9924
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.00404810
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.004034d0
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f4]
call fcn.0040bca0
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x138], 0x7c00
push eax
mov ecx, 0x53e174
call fcn.0040bc10
lea ecx, [ebp - 0x2f4]
call fcn.00403400
lea ecx, [ebp - 0x1fc]
call fcn.00403400
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00403400
sub esp, 0x18
mov ecx, esp
push 0x53e174
call fcn.0040bca0
call fcn.004bcb60
add esp, 0x18
call fcn.004bad00
call fcn.004b8580
mov eax, dword [ebp + 8]
test al, 0x50
je 0x4a9d14
cmp dword [0x544960], 0
je 0x4a9d14
push 0x5079f0
push 0xc
call fcn.00498d1c
add esp, 8
mov dword [ebp - 0x140], eax
test eax, eax
je 0x4a9be3
mov ecx, dword [0x544960]
mov dword [eax + 4], ecx
mov ecx, dword [0x544964]
push 0x5079f0
push 0x80
mov dword [eax], vtable.EventsCbkDumper.0
mov dword [eax + 8], ecx
mov dword [0x544968], eax
call fcn.00498d1c
mov edi, eax
add esp, 8
mov dword [ebp - 0x140], edi
mov byte [ebp - 4], 6
test edi, edi
je 0x4a9aa8
mov esi, dword [0x544968]
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.00498569
push 2
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
lea eax, [edi + 0x14]
push eax
call fcn.0048617b
lea eax, [edi + 0x44]
push eax
call fcn.00486cf3
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.00498569
add esp, 0x14
lea esi, [edi + 0x6c]
test eax, eax
je 0x4a9a57
mov dword [eax], esi
mov dword [eax + 4], 0x4a8cb0
jmp 0x4a9a59
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 0x4593f0
push 0
push 0
call fcn.004d0958
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x4aaadc
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 8
jne 0x4aaad7
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
jmp 0x4a9aaa
xor edi, edi
mov byte [ebp - 4], 0
mov dword [0x54496c], edi
test edi, edi
jne 0x4a9d11
lea eax, [ebp - 0x25c]
push eax
call fcn.004ae6d0
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 0x4a9bb4
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.004c8210
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 0x509434
push eax
call fcn.004a2ee0
mov edi, eax
lea eax, [ebp - 0x1d0]
push 0x50a15c
push eax
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0049b2e0
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0049ba50
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004b4e40
add esp, 0x1c
test byte [ebp - 0x138], 4
je 0x4a9bc8
lea ecx, [ebp - 0x168]
call fcn.004032e0
mov ecx, dword [0x544968]
test ecx, ecx
je 0x4aa1c4
mov eax, dword [ecx]
push 1
call dword [eax]
xor esi, esi
jmp 0x4aaaaf
lea eax, [ebp - 0x25c]
mov dword [0x544968], 0
push eax
call fcn.004ae6d0
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 0x4a9cf2
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.004c8210
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 0x509434
push eax
call fcn.004a2ee0
mov edi, eax
lea eax, [ebp - 0x1d0]
push 0x50a15c
push eax
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0049b2e0
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0049ba50
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004b4e40
add esp, 0x1c
test byte [ebp - 0x138], 2
je 0x4aa1c4
lea ecx, [ebp - 0x168]
call fcn.004032e0
xor esi, esi
jmp 0x4aaaaf
mov eax, dword [ebp + 8]
test al, 1
jne 0x4a9d23
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 [0x5446bc], eax
test eax, eax
je 0x4a9db2
push 0x509f28
push eax
call esi
mov ecx, dword [0x5447d8]
test eax, eax
push 0x509f4c
push dword [0x5446bc]
cmovne ecx, eax
mov dword [0x5447d8], ecx
call esi
mov ecx, dword [0x5446c4]
test eax, eax
push 0x509f94
push dword [0x5446bc]
cmovne ecx, eax
mov dword [0x5446c4], ecx
call esi
mov ecx, dword [0x544908]
test eax, eax
push 0x509f70
push dword [0x5446bc]
cmovne ecx, eax
mov dword [0x544908], ecx
call esi
mov ecx, dword [0x5448bc]
test eax, eax
cmovne ecx, eax
mov dword [0x5448bc], ecx
push str.ntdll.dll
call edi
mov dword [0x5446ac], eax
test eax, eax
jne 0x4a9ee5
lea eax, [ebp - 0x25c]
push eax
call fcn.004ae6d0
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 0x4a9ec6
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.004c8210
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 0x50a15c
push eax
mov dword [ebp - 0x14c], 0x2d202928
mov word [ebp - 0x148], 0x20
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0049b2e0
lea ecx, [ebp - 0x14c]
push ecx
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0049ba50
add esp, 0x44
push edi
push 0
push eax
push 0
call fcn.004b4e40
add esp, 0x10
test byte [ebp - 0x138], 8
je 0x4aa1c4
lea ecx, [ebp - 0x168]
call fcn.004032e0
xor esi, esi
jmp 0x4aaaaf
push str.NtCreateSection
push eax
call esi
mov dword [0x5446a8], eax
test eax, eax
jne 0x4aa019
lea eax, [ebp - 0x25c]
push eax
call fcn.004ae6d0
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 0x4a9ffa
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.004c8210
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 0x50a15c
push eax
mov dword [ebp - 0x14c], 0x2d202928
mov word [ebp - 0x148], 0x20
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x1e4]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0049b2e0
lea ecx, [ebp - 0x14c]
push ecx
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0049ba50
add esp, 0x44
push edi
push 0
push eax
push 0
call fcn.004b4e40
add esp, 0x10
test byte [ebp - 0x138], 0x10
je 0x4aa1c4
lea ecx, [ebp - 0x168]
call fcn.004032e0
xor esi, esi
jmp 0x4aaaaf
call fcn.004c92b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004c9810
push 0x4af1f0
push 0x5446c4
call fcn.004c8a80
test eax, eax
jne 0x4aa089
push 0x4af020
push 0x5447d8
call fcn.004c8a80
test eax, eax
jne 0x4aa089
push 0x4aec10
push 0x5448bc
call fcn.004c8a80
test eax, eax
jne 0x4aa089
push 0x4aee30
push 0x544908
call fcn.004c8a80
test eax, eax
jne 0x4aa089
push 0x4b2910
push 0x53d090
call fcn.004c8a80
test eax, eax
je 0x4aa09f
call fcn.004c9180
push 1
call fcn.004b4370
add esp, 4
xor esi, esi
jmp 0x4aaaaf
cmp byte [0x544939], 0
je 0x4aa1cb
lea eax, [ebp - 0x570]
push eax
call fcn.004ae6d0
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 0x4aa187
lea eax, [ebp - 0x22c]
push str.activating_NtCreateSection_Hook
push eax
call fcn.004a1610
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 0x4aa121
mov ecx, dword [ecx]
mov dword [ebp - 0x140], ecx
lea eax, [ebp - 0x14c]
push 0x509434
push eax
call fcn.004a2ee0
mov edi, eax
lea eax, [ebp - 0x3cc]
push 0x50a15c
push eax
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x42c]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.0049b2e0
push edi
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.0049ba50
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004b4e40
add esp, 0x40
mov eax, dword [ebp - 0x138]
mov dword [ebp - 4], 0
test al, 0x20
je 0x4aa1ac
and eax, 0xffffffdf
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x138], eax
call fcn.004032e0
push 0x4af500
push 0x5446a8
call fcn.004c8a80
test eax, eax
je 0x4aa1cb
call fcn.004c9180
xor esi, esi
jmp 0x4aaaaf
call fcn.004c9360
push 0x53e0e4
lea ecx, [ebp - 0x31c]
call fcn.0040bca0
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.004034d0
or dword [ebp - 0x138], 0x300000
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x31c]
call fcn.00404860
mov edx, dword [ebp - 0x16c]
mov esi, eax
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4aa283
mov ecx, dword [ebp - 0x180]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa279
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaaea
push edx
push ecx
call fcn.0049855b
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.0040bca0
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x11
call fcn.00403400
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 [0x5446b0], eax
test eax, eax
jne 0x4aa41f
lea eax, [ebp - 0x598]
push eax
call fcn.004ae6d0
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 0x4aa3fa
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.004c8210
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 0x509434
push eax
call fcn.004a2ee0
mov edi, eax
lea eax, [ebp - 0x370]
push 0x50a15c
push eax
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x418]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.0049b2e0
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0049ba50
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004b4e40
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 0x4aa41f
and eax, 0xffffffbf
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x138], eax
call fcn.004032e0
push 0x53e0e4
lea ecx, [ebp - 0x334]
call fcn.0040bca0
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.004034d0
or dword [ebp - 0x138], 0x1800000
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x334]
call fcn.00404860
mov edx, dword [ebp - 0x184]
mov edi, eax
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x4aa4d2
mov ecx, dword [ebp - 0x198]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa4c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaaef
push edx
push ecx
call fcn.0049855b
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.0040bca0
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x16
call fcn.00403400
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
push 8
cmovae eax, dword [ebp - 0xb4]
push 0
push eax
call esi
mov dword [0x5446b4], eax
test eax, eax
jne 0x4aa669
lea eax, [ebp - 0x5c0]
push eax
call fcn.004ae6d0
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 0x4aa642
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.004c8210
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 0x509434
push eax
call fcn.004a2ee0
mov edi, eax
lea eax, [ebp - 0x1e4]
push 0x50a15c
push eax
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x404]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x470]
push eax
call fcn.0049b2e0
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.0049ba50
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004b4e40
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 0x4aa669
and eax, 0xffffff7f
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x138], eax
call fcn.004032e0
push 0x53e0e4
lea ecx, [ebp - 0x354]
call fcn.0040bca0
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.004034d0
or dword [ebp - 0x138], 0xc000000
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x354]
call fcn.00404860
mov edx, dword [ebp - 0x154]
mov edi, eax
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x4aa71c
mov ecx, dword [ebp - 0x168]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa712
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaaf4
push edx
push ecx
call fcn.0049855b
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.0040bca0
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x1b
call fcn.00403400
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
push 8
cmovae eax, dword [ebp - 0xcc]
push 0
push eax
call esi
mov dword [0x5446b8], eax
test eax, eax
jne 0x4aa89e
lea eax, [ebp - 0x49c]
push eax
call fcn.004ae6d0
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 0x4aa880
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.004c8210
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 0x509434
push eax
call fcn.004a2ee0
mov edi, eax
lea eax, [ebp - 0x1d0]
push 0x50a15c
push eax
call fcn.004a2f60
mov esi, eax
lea eax, [ebp - 0x3e0]
push str._DLLPROTECT__::
push eax
call fcn.004a3070
push esi
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0049b2e0
add esp, 0x40
push edi
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.0049ba50
push dword [ebp - 0x140]
push 0
push eax
push 0
call fcn.004b4e40
add esp, 0x1c
test dword [ebp - 0x138], 0x100
je 0x4aa897
lea ecx, [ebp - 0x2cc]
call fcn.004032e0
xor esi, esi
jmp 0x4aaa8e
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [0x5446ac]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x1c], 0x53ece0
push eax
call fcn.004b78e0
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.004b2590
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x49c]
push eax
call fcn.004ae6d0
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 0x4aa99a
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push 0x5093a8
cmovae eax, dword [ebp - 0x84]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004a2f20
mov edi, eax
lea eax, [ebp - 0x394]
push str.DllProtectStart
push eax
call fcn.004a2fe0
mov esi, eax
lea eax, [ebp - 0x3f0]
push 0x5093d8
push eax
call fcn.004a3100
push esi
push eax
lea eax, [ebp - 0x600]
push eax
call fcn.0049b3d0
push edi
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.0049bb80
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push str.signature_check_moking_mocking_for__s_returned__d
push eax
push 0
call fcn.004b50a0
add esp, 0x44
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004b7810
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.004b2590
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.004ae6d0
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 0x4aaa76
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 0x5093a8
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004a2f20
mov edi, eax
lea eax, [ebp - 0x2d4]
push str.DllProtectStart
push eax
call fcn.004a2fe0
mov esi, eax
lea eax, [ebp - 0x2b4]
push 0x5093d8
push eax
call fcn.004a3100
push esi
push eax
lea eax, [ebp - 0x540]
push eax
call fcn.0049b3d0
push edi
push eax
lea eax, [ebp - 0x698]
push eax
call fcn.0049bb80
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push str.signature_check_moking_mocking_for__s_returned__d
push eax
push 0
call fcn.004b50a0
add esp, 0x44
lea ecx, [ebp - 0x6c]
mov esi, 1
call fcn.00403400
lea ecx, [ebp - 0x84]
call fcn.00403400
lea ecx, [ebp - 0xcc]
call fcn.00403400
lea ecx, [ebp - 0xb4]
call fcn.00403400
lea ecx, [ebp - 0x9c]
call fcn.00403400
lea ecx, [ebp - 0x214]
call fcn.004a8670
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.0049852a
mov esp, ebp
pop ebp
ret
call fcn.004d07c0
push 6
mov dword [ebp - 0x24], 0
call fcn.00484c0c
call fcn.004d076f
call fcn.004d076f
call fcn.004d076f
int3