Function at 0x413060
Capabilities:
Access peb ldr_data
Allocate thread local storage
Check mutex on windows
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a66c1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x600
lea eax, [edi + 0x30]
mov dword [edi], vtable.FastCopy.0
push 0
push eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0xe1d58000
mov dword [edi + 0x1c], 0x1a8e79f
mov dword [edi + 0x20], 0xc3f4000
mov dword [edi + 0x24], 0x1a8e869
call fcn.0048b570
add esp, 0xc
mov byte [edi + 0x630], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x7c0]
mov dword [edi + 0x7b8], 0
mov ecx, esi
mov dword [edi + 0x7bc], 0
mov dword [ebp - 0x14], esi
push 0x2710
mov dword [esi], vtable.THashTblT_unsigned_int_.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 1
mov dword [esi + 8], 0x2710
call fcn.0041b900
mov dword [esi], vtable.PathArray.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea esi, [edi + 0x7e0]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0x2710
mov dword [esi], vtable.THashTblT_unsigned_int_.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 1
mov dword [esi + 8], 0x2710
call fcn.0041b900
mov dword [esi], vtable.PathArray.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea esi, [edi + 0x800]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0x2710
mov dword [esi], vtable.THashTblT_unsigned_int_.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 1
mov dword [esi + 8], 0x2710
call fcn.0041b900
mov dword [esi], vtable.PathArray.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea esi, [edi + 0x820]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esi
mov ecx, esi
push 0x2710
mov dword [esi], vtable.THashTblT_unsigned_int_.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 1
mov dword [esi + 8], 0x2710
call fcn.0041b900
mov dword [esi], vtable.PathArray.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea ecx, [edi + 0x8e4]
mov byte [ebp - 4], 4
push 0
push 0
mov dword [ecx], 0
mov dword [ecx + 4], 0xffffffff
call fcn.00411ee0
mov dword [edi + 0xb70], 0
mov dword [edi + 0xb74], 0
mov dword [edi + 0xb78], 0
mov dword [edi + 0xb7c], 0
mov dword [edi + 0xb80], 0
mov dword [edi + 0xb84], 0
mov dword [edi + 0xb88], 0
mov dword [edi + 0xb8c], 0
mov dword [edi + 0xb90], 0
lea esi, [edi + 0xb98]
mov byte [ebp - 4], 8
push 0
push 0
mov ecx, esi
mov byte [edi + 0xb94], 0
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea esi, [edi + 0xbb4]
mov byte [ebp - 4], 9
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea esi, [edi + 0xbd0]
mov byte [ebp - 4], 0xa
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
push 0
push 0
lea ecx, [edi + 0xbec]
mov byte [ebp - 4], 0xb
call fcn.0045ec10
push 0
push 0
lea ecx, [edi + 0xc00]
mov byte [ebp - 4], 0xc
call fcn.0045ec10
push 0
push 0
lea ecx, [edi + 0xc14]
mov byte [ebp - 4], 0xd
call fcn.0045ec10
push 0
push 0
lea ecx, [edi + 0xc28]
mov byte [ebp - 4], 0xe
call fcn.0045ec10
push 0
push 0
lea ecx, [edi + 0xc3c]
mov byte [ebp - 4], 0xf
call fcn.0045ec10
lea esi, [edi + 0xc50]
mov byte [ebp - 4], 0x10
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea esi, [edi + 0xc6c]
mov byte [ebp - 4], 0x11
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea esi, [edi + 0xc88]
mov byte [ebp - 4], 0x12
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
push 0
push 0
lea ecx, [edi + 0xca4]
mov byte [ebp - 4], 0x13
call fcn.0045ec10
push 0
lea ecx, [edi + 0xcb8]
mov byte [ebp - 4], 0x14
push 0
call fcn.0045ec10
push 0
push 0
lea ecx, [edi + 0xccc]
mov byte [ebp - 4], 0x15
call fcn.0045ec10
push 0
push 0
lea ecx, [edi + 0xce0]
mov byte [ebp - 4], 0x16
call fcn.0045ec10
mov dword [edi + 0xcf4], 0
lea eax, [edi + 0xcf4]
mov dword [eax], eax
lea ecx, [edi + 0xd28]
mov dword [eax + 4], eax
mov dword [eax + 8], 0
lea eax, [edi + 0xd00]
mov dword [eax], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], 0
lea eax, [edi + 0xd0c]
mov dword [eax], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], 0
lea eax, [edi + 0xd18]
mov dword [eax], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], 0
lea eax, [ecx + 0xc]
mov dword [edi + 0xd24], 0x4c14cc
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x10], eax
lea eax, [ecx + 0x18]
mov dword [ecx + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [edi + 0xd4c], 0
mov dword [edi + 0xd50], 0
mov dword [edi + 0xd54], 0x4c14cc
lea ecx, [edi + 0xd58]
lea eax, [ecx + 0xc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x10], eax
lea eax, [ecx + 0x18]
mov dword [ecx + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [edi + 0xd7c], 0
mov dword [edi + 0xd80], 0
mov dword [edi + 0xd84], 0x4c14cc
lea ecx, [edi + 0xd88]
lea eax, [ecx + 0xc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x10], eax
lea eax, [ecx + 0x18]
mov dword [ecx + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [edi + 0xdac], 0
mov dword [edi + 0xdb0], 0
lea esi, [edi + 0xde8]
mov byte [ebp - 4], 0x1a
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [edi + 0xe08], 0x4c14d4
lea ecx, [edi + 0xe0c]
lea eax, [ecx + 0xc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x10], eax
lea eax, [ecx + 0x18]
mov dword [ecx + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [edi + 0xe30], 0
mov dword [edi + 0xe34], 0
push 0
push 0
lea ecx, [edi + 0xe38]
mov byte [ebp - 4], 0x1c
call fcn.0045ec10
mov dword [edi + 0xe50], 0x4c1504
lea ecx, [edi + 0xe54]
lea eax, [ecx + 0xc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x10], eax
lea eax, [ecx + 0x18]
mov dword [ecx + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [edi + 0xe78], 0
mov dword [edi + 0xe7c], 0
lea ebx, [edi + 0xf18]
mov dword [edi + 0xf0c], 0
mov dword [edi + 0xf10], 0
xor eax, eax
mov dword [edi + 0xf14], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
lea ecx, [edi + 0xf40]
mov byte [ebp - 4], 0x1f
call fcn.0045e830
lea ecx, [edi + 0xf64]
mov byte [ebp - 4], 0x20
call fcn.0045e830
lea ecx, [edi + 0xf88]
mov byte [ebp - 4], 0x21
call fcn.0045e830
mov esi, dword [sym.imp.KERNEL30.dll_InitializeCriticalSection]
lea eax, [edi + 0xfac]
push eax
call esi
lea eax, [edi + 0xfc4]
push eax
call esi
lea eax, [edi + 0xfdc]
push eax
call esi
lea esi, [edi + 0x1034]
mov byte [ebp - 4], 0x25
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00465020
push 0
push 0
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0x26
call fcn.0045ec10
push 0x40
lea eax, [esi + 0x30]
push 0
push eax
call fcn.0048b570
add esp, 0xc
lea esi, [edi + 0x10a4]
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x14], esi
push 0
mov ecx, esi
call fcn.00465020
push 0
push 0
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0x28
call fcn.0045ec10
push 0x40
lea eax, [esi + 0x30]
push 0
push eax
call fcn.0048b570
add esp, 0xc
lea esi, [edi + 0x1114]
mov byte [ebp - 4], 0x29
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov byte [ebp - 4], 0x2a
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.0045e830
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
lea esi, [edi + 0x1160]
mov byte [ebp - 4], 0x2c
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov byte [ebp - 4], 0x2d
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.0045e830
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
lea esi, [edi + 0x11ac]
mov byte [ebp - 4], 0x2f
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov byte [ebp - 4], 0x30
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.0045e830
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 0x32
lea esi, [edi + 0x11f8]
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov byte [ebp - 4], 0x33
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.0045e830
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
lea esi, [edi + 0x1244]
mov byte [ebp - 4], 0x35
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov byte [ebp - 4], 0x36
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.0045e830
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
lea esi, [edi + 0x1290]
mov byte [ebp - 4], 0x38
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0045ec10
mov byte [ebp - 4], 0x39
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.0045e830
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
lea eax, [edi + 0x12ec]
mov dword [ebp - 0x14], eax
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 1
mov dword [eax + 8], 0
mov dword [eax], vtable.TLinkHashTbl.0
push 0x78
mov byte [ebp - 4], 0x3c
lea eax, [edi + 0xe94]
push 0
push eax
mov dword [edi + 0xe90], 0
mov dword [edi + 0xe8c], 0
mov dword [edi + 0xe88], 0
mov dword [edi + 0xe84], 0
call fcn.0048b570
add esp, 0xc
mov dword [edi + 8], 0
mov ecx, str.SeBackupPrivilege
mov dword [edi + 0xc], 0
mov dword [edi + 0x898], 1
call fcn.00460950
test eax, eax
jne 0x413a8e
mov dword [edi + 0x898], eax
mov ecx, str.SeRestorePrivilege
call fcn.00460950
test eax, eax
jne 0x413aa2
mov dword [edi + 0x898], eax
mov ecx, str.SeManageVolumePrivilege
mov dword [edi + 0x89c], 1
call fcn.00460950
test eax, eax
jne 0x413ac0
mov dword [edi + 0x89c], eax
mov ecx, str.SeSecurityPrivilege
mov dword [edi + 0x8a0], 1
call fcn.00460950
test eax, eax
jne 0x413ade
mov dword [edi + 0x8a0], eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x413aee
mov dword [edi + 0x8a0], eax
mov ecx, str.SeCreateSymbolicLinkPrivilege
mov dword [edi + 0x8a4], 0
call fcn.00460950
push str.FastCopyInfoMutex
push 0
push 0
call dword [sym.imp.KERNEL30.dll_CreateMutexA]
push str.FastCopyInfoMMap
push 0x2000
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebx], eax
call dword [sym.imp.KERNEL30.dll_CreateFileMappingA]
push 0x2000
push 0
push 0
push 2
push eax
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL30.dll_MapViewOfFile]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x413b93
cmp dword [eax + 4], 1
je 0x413b93
push 0
push dword [ebx]
call dword [sym.imp.KERNEL30.dll_WaitForSingleObject]
test eax, eax
jne 0x413b93
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + 4], 1
jge 0x413b8b
mov dword [ecx + 4], 1
xor ecx, ecx
mov eax, dword [ebx + 0x10]
mov dword [eax], 0x2000
mov eax, dword [ebx + 0x10]
mov word [eax + 8], cx
mov eax, dword [ebx + 0x10]
mov word [eax + 0xa], cx
mov eax, dword [ebx + 0x10]
mov word [eax + 0xc], cx
push dword [ebx]
call dword [sym.imp.KERNEL30.dll_ReleaseMutex]
lea eax, [edi + 0x28]
mov dword [ebx + 0x14], eax
push 0x10208
mov dword [eax], ebx
call fcn.00487989
push 0x10208
mov dword [edi + 0x840], eax
call fcn.00487989
push 0x10208
mov dword [edi + 0x844], eax
call fcn.00487989
xor ecx, ecx
mov dword [edi + 0x848], eax
push pe_nt_image_headers32
push ecx
mov word [eax], cx
mov eax, dword [edi + 0x844]
mov word [eax], cx
mov eax, dword [edi + 0x840]
mov word [eax], cx
lea eax, [edi + 0x8f0]
push eax
mov dword [edi + 0x850], ecx
mov dword [edi + 0x858], ecx
mov dword [edi + 0x854], ecx
mov dword [edi + 0x85c], ecx
call fcn.0048b570
push pe_nt_image_headers32
lea esi, [edi + 0xa28]
push 0
push esi
call fcn.0048b570
mov dword [edi + 0xb60], esi
add esp, 0x24
mov dword [edi + 0x878], 0x4d0
mov dword [edi + 0xff4], 0
mov dword [edi + 0xff8], 0
mov dword [edi + 0x1000], 0
mov dword [edi + 0xffc], 0
mov dword [edi + 0x1004], 0
mov dword [edi + 0x84c], 0
mov eax, dword [0x4e042c]
cmp eax, 7
jae 0x413c8a
cmp eax, 6
jne 0x413c86
cmp dword [0x4e0430], 1
jae 0x413c8a
xor eax, eax
jmp 0x413c8f
mov eax, 1
mov dword [edi + 0x8a8], eax
mov eax, dword [0x4e042c]
cmp eax, 7
jae 0x413cb1
cmp eax, 6
jne 0x413cad
cmp dword [0x4e0430], 1
jae 0x413cb1
xor eax, eax
jmp 0x413cb6
mov eax, 2
mov esi, dword [sym.imp.KERNEL30.dll_TlsAlloc]
mov dword [edi + 0x8ac], eax
mov dword [edi + 0x8b0], 4
call esi
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
call fcn.00466100
push ecx
push 0x400000
push 0x10000
lea ecx, [edi + 0xcb8]
mov dword [edi + 0xbfc], 1
mov dword [edi + 0xc10], 1
mov dword [edi + 0xc24], 1
mov dword [edi + 0xc38], 1
mov dword [edi + 0xc4c], 1
mov dword [edi + 0xdf8], 1
mov dword [edi + 0xc60], 1
mov dword [edi + 0xc7c], 1
mov dword [edi + 0xc98], 1
mov dword [edi + 0xcb4], 1
mov dword [edi + 0xcc8], 1
mov dword [edi + 0xcdc], 1
mov dword [edi + 0xcf0], 1
mov dword [edi + 0x1124], 1
mov dword [edi + 0x1170], 1
mov dword [edi + 0x11bc], 1
mov dword [edi + 0x1208], 1
mov dword [edi + 0x1254], 1
mov dword [edi + 0x12a0], 1
call fcn.0045ec90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret