Function at 0x413470
Capabilities:
Contain obfuscated stackstrings
Create directory
Parse pe header
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565312
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x608514]
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, ecx
mov dword [ebp - 0x2a4], edi
lea eax, [edi + 0x474]
push eax
mov dword [ebp - 0x2b4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.MSVCP140.dll__Thrd_id]
lea ecx, [edi + 0x10]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x2c4], ecx
mov ecx, dword [ecx]
mov esi, ecx
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x4134f4
nop word [eax + eax]
cmp dword [edx + 0x10], eax
jae 0x4134ea
mov edx, dword [edx + 8]
jmp 0x4134ee
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x4134e0
cmp esi, ecx
je 0x4134fd
cmp eax, dword [esi + 0x10]
jae 0x413535
lea eax, [ebp - 0x28c]
push ecx
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a8]
push eax
push ecx
lea ecx, [edi + 0x10]
call fcn.0041f140
push eax
add eax, 0x10
lea ecx, [edi + 0x10]
push eax
push esi
lea eax, [ebp - 0x29c]
push eax
call fcn.0041f1d0
mov esi, dword [ebp - 0x29c]
add esi, 0x14
mov eax, 1
lock xadd dword [esi], eax
lea eax, [edi + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x2c
mov esi, eax
lea eax, [ebp - 0x198]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x198]
push 0x2c
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
lea edx, [ebp - 0x298]
mov dword [ebp - 0x2b0], 0
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x298], 0
call fcn.00410fa0
mov eax, dword [0x60e1fc]
mov dword [ebp - 0x290], eax
lea esi, [edi + 0x74]
mov dword [ebp - 0x2cc], 0
mov ecx, esi
mov dword [ebp - 0x2c8], 0
xor eax, eax
mov byte [ebp - 0x291], 0
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2dc], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4135f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2dc]
call fcn.004047a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2dc]
cmp dword [ebp - 0x2c8], 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmovae eax, dword [ebp - 0x2dc]
push 0
push eax
call esi
test eax, eax
jne 0x41369a
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov byte [ebp - 4], 1
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x2dc]
call fcn.004605e0
test al, al
je 0x41368b
cmp dword [ebp - 0xd4], 8
lea eax, [ebp - 0xe8]
push 0
cmovae eax, dword [ebp - 0xe8]
push eax
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.004046e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2dc]
call fcn.004046e0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00419260
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x2a4]
mov ecx, dword [esi + 0x58]
call fcn.00411200
lea eax, [esi + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 8]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x20], edi
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x4138bc
nop dword [eax + eax]
push dword [esi + 0x4c]
add eax, 0x10
lea ecx, [ebp - 0x288]
push eax
push dword [esi + 0x58]
mov dword [ebp - 0x2c0], eax
call fcn.00411860
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
jne 0x41383a
mov edi, eax
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x14], 0
lea ecx, [edi + 0x10]
mov dword [ebp - 0x28c], eax
mov edx, eax
sub ecx, edx
mov dword [ebp - 0x2a8], ecx
add ecx, eax
push eax
mov dword [ebp - 0x29c], ecx
call fcn.00407540
test eax, eax
js 0x4137be
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x28c]
call fcn.00407540
test eax, eax
js 0x4137b8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28c]
inc ecx
add eax, 0x18
mov dword [ebp - 0x14], ecx
cmp ecx, 0xa
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x2a8]
jb 0x413770
mov esi, edi
mov edi, dword [edi]
jmp 0x4137c1
mov edi, dword [edi + 8]
cmp byte [edi + 0xd], 0
je 0x413750
mov edi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x41383a
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x28c], eax
sub ecx, eax
mov dword [ebp - 0x2a8], ecx
nop dword [eax]
add ecx, eax
push eax
mov dword [ebp - 0x29c], ecx
call fcn.00407540
test eax, eax
js 0x41383a
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x28c]
call fcn.00407540
test eax, eax
js 0x413872
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28c]
inc ecx
add eax, 0x18
mov dword [ebp - 0x14], ecx
cmp ecx, 0xa
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x2a8]
jb 0x4137f0
jmp 0x413872
lea eax, [ebp - 0x288]
push ecx
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2b8]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041ed10
push eax
add eax, 0x10
lea ecx, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x2bc]
push eax
call fcn.0041edd0
mov esi, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x2c0]
mov eax, dword [ecx + 0x2c]
add dword [esi + 0x104], eax
mov eax, dword [ecx + 0x28]
add dword [esi + 0x100], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x288]
push fcn.004042e0
push 0xa
push 0x18
push eax
call fcn.0054c9a3
lea ecx, [ebp - 0x24]
call fcn.00416ea0
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2a4]
cmp eax, edi
jne 0x413710
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x16c]
call fcn.004494c0
mov esi, dword [ebp - 0x2ac]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413910
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x9c]
call fcn.004047a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
push 4
push str.ma_
call fcn.004107e0
push 0x11
xor eax, eax
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x400], 0
lea ecx, [ebp - 0x414]
push str._Y__m__d__H__M__S
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x400], 7
mov word [ebp - 0x414], ax
call fcn.004047a0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x16c]
call fcn.004497f0
mov byte [ebp - 4], 9
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4139b0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.004107e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x554]
call fcn.004046e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x414]
call fcn.004046e0
push 4
push 0x5b770c
lea ecx, [ebp - 0x9c]
call fcn.004107e0
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
push 0
cmovae eax, dword [ebp - 0x9c]
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2ac], eax
cmp eax, 0xffffffff
jne 0x413aa1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.004046e0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.00419300
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapSize]
push edi
push 0
mov dword [ebp - 0x2ac], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x414a60
mov eax, dword [ebp - 0x2ac]
jmp 0x414a55
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2a0]
mov byte [ebp - 0x3c4], 2
and dword [ebp - 0x3c4], 0xfffffeff
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x54]
push 0x5b777c
push str.proc_hook_alloc_size
call fcn.004bdde0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x3cc]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3cc]
call fcn.004bc4e0
mov eax, dword [ebp - 0x170]
mov byte [ebp - 0x3dc], 2
and dword [ebp - 0x3dc], 0xfffffeff
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3e0], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x54]
push 0x5b7790
push str.proc_private_mem
call fcn.004bdde0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x3e4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3e4]
call fcn.004bc4e0
mov eax, dword [ebp - 0x2b0]
mov byte [ebp - 0x2ec], 2
and dword [ebp - 0x2ec], 0xfffffeff
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f0], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x54]
push 0x5b77a3
push str.proc_private_ws
call fcn.004bdde0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2f4]
call fcn.004bc4e0
mov byte [ebp - 0x304], 2
and dword [ebp - 0x304], 0xfffffeff
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x54]
push 0x5b77b2
push str.proc_shared_ws
call fcn.004bdde0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x30c]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30c]
call fcn.004bc4e0
mov eax, dword [ebp - 0x290]
mov byte [ebp - 0x31c], 2
and dword [ebp - 0x31c], 0xfffffeff
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], 0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x54]
push 0x5b77c4
push str.proc_lower_alloc
call fcn.004bdde0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x324]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x324]
call fcn.004bc4e0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 6
movq qword [ebp - 0x2c], xmm0
push 8
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0054bee4
mov esi, eax
add esp, 4
mov dword [ebp - 0x290], esi
mov byte [ebp - 4], 0x1c
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004bfa20
mov dword [esi], eax
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 0x1f
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x4141e6
xorps xmm0, xmm0
add eax, 0x10
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], 7
movq qword [ebp - 0xa4], xmm0
push 8
mov dword [ebp - 0x298], eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
call fcn.0054bee4
mov edi, eax
add esp, 4
mov dword [ebp - 0x290], edi
mov byte [ebp - 4], 0x20
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004bfa20
mov dword [edi], eax
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0xb4], edi
mov byte [ebp - 4], 0x23
mov edi, dword [ebp - 0x298]
mov byte [ebp - 0x334], 2
and dword [ebp - 0x334], 0xfffffeff
mov dword [ebp - 0x330], 0
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], 0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xb4]
push 0x5b77d3
push str.alloc_count
call fcn.004bdde0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x33c]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x33c]
call fcn.004bc4e0
mov eax, dword [edi + 0xf0]
cdq
mov byte [ebp - 0x34c], 1
and dword [ebp - 0x34c], 0xfffffeff
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], edx
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xb4]
push 0x5b77de
push str.alloc_size
call fcn.004bdde0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x354]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x354]
call fcn.004bc4e0
xorps xmm0, xmm0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
movq qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 0x2b
mov byte [ebp - 0x3f4], 6
and dword [ebp - 0x3f4], 0xfffffeff
push 8
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3e8], 0
call fcn.0054bee4
mov edi, eax
add esp, 4
mov dword [ebp - 0x2a0], edi
mov byte [ebp - 4], 0x2c
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004bfa20
mov dword [edi], eax
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x3fc], edi
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x3fc]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004bc750
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x3fc]
call fcn.004bc4e0
mov edi, dword [ebp - 0x298]
mov dword [ebp - 0x28c], 0
cmp dword [edi + 0x10], 0
je 0x414126
cmp dword [edi + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x110], 4
movq qword [ebp - 0x108], xmm0
mov dword [ebp - 0x110], 0x104
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x298], edi
jb 0x414098
mov eax, dword [edi]
mov dword [ebp - 0x298], eax
mov ecx, edi
call fcn.004a2d70
mov ecx, dword [ebp - 0x298]
mov edx, eax
call fcn.004bb390
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x434]
call fcn.004bc2e0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x28c]
call fcn.004bd940
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x434]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x434]
call fcn.004bc4e0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x118]
call fcn.004bc4e0
mov eax, dword [ebp - 0x28c]
add edi, 0x18
inc eax
mov dword [ebp - 0x28c], eax
cmp eax, 0xa
jb 0x414036
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x4dc]
call fcn.004bc2e0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0xb4]
push 0x5b77e9
push str.callstack
call fcn.004bdde0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x4dc]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x4dc]
call fcn.004bc4e0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004bd940
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x44c]
mov edi, eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004bc2e0
mov byte [ebp - 4], 0x35
lea eax, [ebp - 0x44c]
push eax
mov ecx, edi
call fcn.004bc750
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x44c]
call fcn.004bc4e0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xd0]
call fcn.004bc4e0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
lea ecx, [ebp - 0x20]
call fcn.00415ec0
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x413dc2
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x464]
call fcn.004bc2e0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x54]
push 0x5b77fd
push str.mem_alloc_details
call fcn.004bdde0
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x464]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x464]
call fcn.004bc4e0
lea ecx, [ebp - 0x3c]
call fcn.004bd850
mov edi, dword [ebp - 0x2a4]
mov dword [ebp - 0x14], 0
mov edi, dword [edi + 0x58]
mov edi, dword [edi + 8]
mov esi, dword [edi]
cmp esi, edi
je 0x4144d4
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 7
movq qword [ebp - 0x5c], xmm0
push 8
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.0054bee4
add esp, 4
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0x38
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004bfa20
mov ecx, dword [ebp - 0x290]
mov dword [ecx], eax
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 0x3b
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x47c]
call fcn.004bc170
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x6c]
push 0x5b7804
push str.name
call fcn.004bdde0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x47c]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x47c]
call fcn.004bc4e0
lea eax, [esi + 0x21c]
push eax
lea ecx, [ebp - 0x494]
call fcn.004bc170
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x6c]
push 0x5b780c
push str.path
call fcn.004bdde0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x494]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x494]
call fcn.004bc4e0
mov eax, dword [esi + 0x10]
cdq
mov byte [ebp - 0x364], 2
and dword [ebp - 0x364], 0xfffffeff
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], edx
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x6c]
push 0x5b7814
push str.base
call fcn.004bdde0
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x36c]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x36c]
call fcn.004bc4e0
mov eax, dword [esi + 0x14]
mov byte [ebp - 0x37c], 2
and dword [ebp - 0x37c], 0xfffffeff
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x380], 0
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x6c]
push 0x5b781c
push str.size
call fcn.004bdde0
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x384]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x384]
call fcn.004bc4e0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004bd940
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004bc2e0
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x4ac]
mov ecx, dword [ebp - 0x2a0]
push eax
call fcn.004bc750
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x4ac]
call fcn.004bc4e0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x6c]
call fcn.004bc4e0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4144b8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4144b4
cmp esi, dword [eax + 8]
jne 0x4144b4
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4144a4
mov esi, eax
jmp 0x4144cc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4144cc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4144c2
cmp esi, edi
jne 0x414251
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x54]
push 0x5b782f
push str.mod_list_unload
call fcn.004bdde0
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0x4c4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4c4]
call fcn.004bc4e0
lea ecx, [ebp - 0x3c]
call fcn.004bd850
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x14], 0
mov edi, dword [eax + 0x58]
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x4147e2
nop
xorps xmm0, xmm0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], 7
movq qword [ebp - 0x74], xmm0
push 8
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.0054bee4
add esp, 4
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0x47
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004bfa20
mov ecx, dword [ebp - 0x290]
mov dword [ecx], eax
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 0x4a
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x53c]
call fcn.004bc170
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x84]
push 0x5b7804
push str.name
call fcn.004bdde0
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x53c]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x53c]
call fcn.004bc4e0
lea eax, [esi + 0x21c]
push eax
lea ecx, [ebp - 0x4f4]
call fcn.004bc170
mov byte [ebp - 4], 0x4d
lea ecx, [ebp - 0x84]
push 0x5b780c
push str.path
call fcn.004bdde0
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x4f4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x4f4]
call fcn.004bc4e0
mov eax, dword [esi + 0x10]
cdq
mov byte [ebp - 0x394], 2
and dword [ebp - 0x394], 0xfffffeff
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], edx
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x84]
push 0x5b7814
push str.base
call fcn.004bdde0
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x39c]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x39c]
call fcn.004bc4e0
mov eax, dword [esi + 0x14]
mov byte [ebp - 0x3ac], 2
and dword [ebp - 0x3ac], 0xfffffeff
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], 0
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x84]
push 0x5b781c
push str.size
call fcn.004bdde0
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x3b4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x3b4]
call fcn.004bc4e0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004bd940
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x50c]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x84]
push eax
call fcn.004bc2e0
mov byte [ebp - 4], 0x53
lea eax, [ebp - 0x50c]
mov ecx, dword [ebp - 0x2a0]
push eax
call fcn.004bc750
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x50c]
call fcn.004bc4e0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x84]
call fcn.004bc4e0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4147c4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4147c0
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x4147c0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4147b0
mov esi, eax
jmp 0x4147da
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4147da
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4147d0
cmp esi, edi
jne 0x414540
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x524]
call fcn.004bc2e0
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x54]
push 0x5b783f
push str.mod_list_loaded
call fcn.004bdde0
mov byte [ebp - 4], 0x55
lea ecx, [ebp - 0x524]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x524]
call fcn.004bc4e0
push 0x4c
lea eax, [ebp - 0x164]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - method.Json::Writer.virtual_0], vtable.Json::Writer.0
mov byte [ebp - 4], 0x56
mov dword [ebp - method.Json::StyledWriter.virtual_0], vtable.Json::StyledWriter.0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov byte [ebp - 4], 0x57
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
mov byte [ebp - 4], 0x58
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
mov byte [ebp - 4], 0x59
mov dword [ebp - 0x124], 0x4a
mov dword [ebp - 0x120], 3
mov byte [ebp - 0x11c], 0
mov byte [ebp - 4], 0x5a
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x164]
call fcn.004cd460
mov byte [ebp - 4], 0x5b
lea ecx, [ebp - 0xb8]
cmp dword [ebp - 0xec], 0x10
lea eax, [ebp - 0x100]
mov esi, dword [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x100]
push 0
push ecx
push dword [ebp - 0xf0]
mov dword [ebp - 0xb8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
setne byte [ebp - 0x291]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0x5a
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x41499f
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414995
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414995
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x164]
call fcn.00410db0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
call fcn.004bc4e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.004bc4e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.004046e0
mov dword [ebp - 4], 0x5d
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.00419300
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapSize]
push edi
push 0
mov dword [ebp - 0x290], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x414a60
mov eax, dword [ebp - 0x290]
mov ecx, 0x60e1fc
neg eax
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x2a4]
call fcn.00412ea0
mov edi, dword [ebp - 0x2b4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov esi, dword [ebp - 0x2c4]
mov ecx, esi
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00415670
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi]
je 0x414acb
lea ecx, [eax + 0x14]
or eax, 0xffffffff
lock xadd dword [ecx], eax
mov eax, dword [ecx]
test eax, eax
jne 0x414acb
push dword [ebp - 0x14]
lea eax, [ebp - 0x41c]
mov ecx, esi
push eax
call fcn.00418ad0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x291]
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.0054bed3
mov esp, ebp
pop ebp
ret