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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bdb2
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x620514]
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 - 0x294], edi
lea eax, [edi + 0x474]
push eax
mov dword [ebp - 0x29c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.MSVCP140.dll__Thrd_id]
lea ecx, [edi + 0x10]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x2ac], ecx
mov ecx, dword [ecx]
mov esi, ecx
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x413784
nop word [eax + eax]
cmp dword [edx + 0x10], eax
jae 0x41377a
mov edx, dword [edx + 8]
jmp 0x41377e
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x413770
cmp esi, ecx
je 0x41378d
cmp eax, dword [esi + 0x10]
jae 0x4137c5
lea eax, [ebp - 0x274]
push ecx
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x28c]
push eax
push ecx
lea ecx, [edi + 0x10]
call fcn.0041f3b0
push eax
add eax, 0x10
lea ecx, [edi + 0x10]
push eax
push esi
lea eax, [ebp - 0x284]
push eax
call fcn.0041f440
mov esi, dword [ebp - 0x284]
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 - 0x180]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x180]
push 0x2c
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
lea edx, [ebp - 0x280]
mov dword [ebp - 0x298], 0
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x280], 0
call fcn.00411220
mov eax, dword [0x62623c]
mov dword [ebp - 0x27c], eax
lea esi, [edi + 0x74]
mov dword [ebp - 0x2b4], 0
mov ecx, esi
mov dword [ebp - 0x2b0], 0
xor eax, eax
mov byte [ebp - 0x275], 0
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2c4], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413880
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c4]
call fcn.00404900
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c4]
cmp dword [ebp - 0x2b0], 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmovae eax, dword [ebp - 0x2c4]
push 0
push eax
call esi
test eax, eax
jne 0x41392a
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 - 0x2c4]
call fcn.0046eea0
test al, al
je 0x41391b
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.00404840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.00404840
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004194f0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x294]
mov ecx, dword [esi + 0x58]
call fcn.00411480
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 - 0x288], eax
mov dword [ebp - 0x20], edi
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x413b4c
nop dword [eax + eax]
push dword [esi + 0x4c]
add eax, 0x10
lea ecx, [ebp - 0x270]
push eax
push dword [esi + 0x58]
mov dword [ebp - 0x2a8], eax
call fcn.00411ae0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
jne 0x413aca
mov edi, eax
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x270]
mov dword [ebp - 0x14], 0
lea ecx, [edi + 0x10]
mov dword [ebp - 0x274], eax
mov edx, eax
sub ecx, edx
mov dword [ebp - 0x28c], ecx
add ecx, eax
push eax
mov dword [ebp - 0x284], ecx
call fcn.004076c0
test eax, eax
js 0x413a4e
push dword [ebp - 0x284]
mov ecx, dword [ebp - 0x274]
call fcn.004076c0
test eax, eax
js 0x413a48
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x274]
inc ecx
add eax, 0x18
mov dword [ebp - 0x14], ecx
cmp ecx, 0xa
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x28c]
jb 0x413a00
mov esi, edi
mov edi, dword [edi]
jmp 0x413a51
mov edi, dword [edi + 8]
cmp byte [edi + 0xd], 0
je 0x4139e0
mov edi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x413aca
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x274], eax
sub ecx, eax
mov dword [ebp - 0x28c], ecx
nop dword [eax]
add ecx, eax
push eax
mov dword [ebp - 0x284], ecx
call fcn.004076c0
test eax, eax
js 0x413aca
push dword [ebp - 0x284]
mov ecx, dword [ebp - 0x274]
call fcn.004076c0
test eax, eax
js 0x413b02
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x274]
inc ecx
add eax, 0x18
mov dword [ebp - 0x14], ecx
cmp ecx, 0xa
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x28c]
jb 0x413a80
jmp 0x413b02
lea eax, [ebp - 0x270]
push ecx
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2a0]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041ef80
push eax
add eax, 0x10
lea ecx, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x2a4]
push eax
call fcn.0041f040
mov esi, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x2a8]
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 - 0x270]
push fcn.00404440
push 0xa
push 0x18
push eax
call fcn.0055f303
lea ecx, [ebp - 0x24]
call fcn.00417130
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x294]
cmp eax, edi
jne 0x4139a0
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x154]
call fcn.0044eb90
mov esi, dword [ebp - 0x290]
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 0x413ba0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x9c]
call fcn.00404900
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
push 4
push str.ma_
call fcn.00410a60
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.00404900
mov byte [ebp - 4], 8
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x154]
call fcn.0044eec0
mov byte [ebp - 4], 9
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x413c40
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00410a60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x554]
call fcn.00404840
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x414]
call fcn.00404840
push 4
push 0x5d0160
lea ecx, [ebp - 0x9c]
call fcn.00410a60
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 - 0x290], eax
cmp eax, 0xffffffff
jne 0x413d31
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00404840
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.00419590
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 0x414cf0
mov eax, dword [ebp - 0x290]
jmp 0x414ce5
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 - 0x288]
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 0x5d01d0
push str.proc_hook_alloc_size
call fcn.004c81f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x3cc]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3cc]
call fcn.004c68f0
mov eax, dword [ebp - 0x158]
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 0x5d01e4
push str.proc_private_mem
call fcn.004c81f0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x3e4]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3e4]
call fcn.004c68f0
mov eax, dword [ebp - 0x298]
mov byte [ebp - 0x2d4], 2
and dword [ebp - 0x2d4], 0xfffffeff
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x54]
push 0x5d01f7
push str.proc_private_ws
call fcn.004c81f0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2dc]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2dc]
call fcn.004c68f0
mov byte [ebp - 0x2ec], 2
and dword [ebp - 0x2ec], 0xfffffeff
mov eax, dword [ebp - 0x280]
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], 0x18
lea ecx, [ebp - 0x54]
push 0x5d0206
push str.proc_shared_ws
call fcn.004c81f0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2f4]
call fcn.004c68f0
mov eax, dword [ebp - 0x27c]
mov byte [ebp - 0x304], 2
and dword [ebp - 0x304], 0xfffffeff
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], 0x1a
lea ecx, [ebp - 0x54]
push 0x5d0218
push str.proc_lower_alloc
call fcn.004c81f0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x30c]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30c]
call fcn.004c68f0
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.0055e844
mov esi, eax
add esp, 4
mov dword [ebp - 0x27c], esi
mov byte [ebp - 4], 0x1c
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c9e10
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 0x414476
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 - 0x280], eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
call fcn.0055e844
mov edi, eax
add esp, 4
mov dword [ebp - 0x27c], edi
mov byte [ebp - 4], 0x20
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004c9e10
mov dword [edi], eax
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0xb4], edi
mov byte [ebp - 4], 0x23
mov edi, dword [ebp - 0x280]
mov byte [ebp - 0x31c], 2
and dword [ebp - 0x31c], 0xfffffeff
mov dword [ebp - 0x318], 0
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], 0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xb4]
push 0x5d0227
push str.alloc_count
call fcn.004c81f0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x324]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x324]
call fcn.004c68f0
mov eax, dword [edi + 0xf0]
cdq
mov byte [ebp - 0x334], 1
and dword [ebp - 0x334], 0xfffffeff
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], edx
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xb4]
push 0x5d0232
push str.alloc_size
call fcn.004c81f0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x33c]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x33c]
call fcn.004c68f0
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.0055e844
mov edi, eax
add esp, 4
mov dword [ebp - 0x288], edi
mov byte [ebp - 4], 0x2c
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004c9e10
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.004c6b60
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x3fc]
call fcn.004c68f0
mov edi, dword [ebp - 0x280]
mov dword [ebp - 0x274], 0
cmp dword [edi + 0x10], 0
je 0x4143b6
cmp dword [edi + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x354], xmm0
mov dword [ebp - 0x34c], 4
movq qword [ebp - 0x344], xmm0
mov dword [ebp - 0x34c], 0x104
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x280], edi
jb 0x414328
mov eax, dword [edi]
mov dword [ebp - 0x280], eax
mov ecx, edi
call fcn.004a2340
mov ecx, dword [ebp - 0x280]
mov edx, eax
call fcn.004c57a0
mov dword [ebp - 0x354], eax
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x434]
call fcn.004c66f0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x274]
call fcn.004c7d50
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x434]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x434]
call fcn.004c68f0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x354]
call fcn.004c68f0
mov eax, dword [ebp - 0x274]
add edi, 0x18
inc eax
mov dword [ebp - 0x274], eax
cmp eax, 0xa
jb 0x4142c6
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x4dc]
call fcn.004c66f0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0xb4]
push 0x5d023d
push str.callstack
call fcn.004c81f0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x4dc]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x4dc]
call fcn.004c68f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004c7d50
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x44c]
mov edi, eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004c66f0
mov byte [ebp - 4], 0x35
lea eax, [ebp - 0x44c]
push eax
mov ecx, edi
call fcn.004c6b60
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x44c]
call fcn.004c68f0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xd0]
call fcn.004c68f0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb4]
call fcn.004c68f0
lea ecx, [ebp - 0x20]
call fcn.00416150
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x414052
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x464]
call fcn.004c66f0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x54]
push 0x5d0251
push str.mem_alloc_details
call fcn.004c81f0
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x464]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x464]
call fcn.004c68f0
lea ecx, [ebp - 0x3c]
call fcn.004c7c60
mov edi, dword [ebp - 0x294]
mov dword [ebp - 0x14], 0
mov edi, dword [edi + 0x58]
mov edi, dword [edi + 8]
mov esi, dword [edi]
cmp esi, edi
je 0x414764
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.0055e844
add esp, 4
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0x38
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004c9e10
mov ecx, dword [ebp - 0x27c]
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.004c6580
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x6c]
push 0x5d0258
push str.name
call fcn.004c81f0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x47c]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x47c]
call fcn.004c68f0
lea eax, [esi + 0x21c]
push eax
lea ecx, [ebp - 0x494]
call fcn.004c6580
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x6c]
push 0x5d0260
push str.path
call fcn.004c81f0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x494]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x494]
call fcn.004c68f0
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 0x5d0268
push str.base
call fcn.004c81f0
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x36c]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x36c]
call fcn.004c68f0
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 0x5d0270
push str.size
call fcn.004c81f0
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x384]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x384]
call fcn.004c68f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004c7d50
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004c66f0
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x4ac]
mov ecx, dword [ebp - 0x288]
push eax
call fcn.004c6b60
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x4ac]
call fcn.004c68f0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x6c]
call fcn.004c68f0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x414748
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x414744
cmp esi, dword [eax + 8]
jne 0x414744
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x414734
mov esi, eax
jmp 0x41475c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41475c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x414752
cmp esi, edi
jne 0x4144e1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.004c66f0
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x54]
push 0x5d0283
push str.mod_list_unload
call fcn.004c81f0
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0x4c4]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4c4]
call fcn.004c68f0
lea ecx, [ebp - 0x3c]
call fcn.004c7c60
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x14], 0
mov edi, dword [eax + 0x58]
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x414a72
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.0055e844
add esp, 4
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0x47
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004c9e10
mov ecx, dword [ebp - 0x27c]
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.004c6580
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x84]
push 0x5d0258
push str.name
call fcn.004c81f0
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x53c]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x53c]
call fcn.004c68f0
lea eax, [esi + 0x21c]
push eax
lea ecx, [ebp - 0x4f4]
call fcn.004c6580
mov byte [ebp - 4], 0x4d
lea ecx, [ebp - 0x84]
push 0x5d0260
push str.path
call fcn.004c81f0
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x4f4]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x4f4]
call fcn.004c68f0
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 0x5d0268
push str.base
call fcn.004c81f0
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x39c]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x39c]
call fcn.004c68f0
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 0x5d0270
push str.size
call fcn.004c81f0
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x3b4]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x3b4]
call fcn.004c68f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004c7d50
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x50c]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x84]
push eax
call fcn.004c66f0
mov byte [ebp - 4], 0x53
lea eax, [ebp - 0x50c]
mov ecx, dword [ebp - 0x288]
push eax
call fcn.004c6b60
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x50c]
call fcn.004c68f0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x84]
call fcn.004c68f0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x414a54
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x414a50
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x414a50
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x414a40
mov esi, eax
jmp 0x414a6a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x414a6a
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x414a60
cmp esi, edi
jne 0x4147d0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x524]
call fcn.004c66f0
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x54]
push 0x5d0293
push str.mod_list_loaded
call fcn.004c81f0
mov byte [ebp - 4], 0x55
lea ecx, [ebp - 0x524]
push ecx
mov ecx, eax
call fcn.004c6b60
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x524]
call fcn.004c68f0
push 0x4c
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - method.RCJson::Writer.virtual_0], vtable.RCJson::Writer.0
mov byte [ebp - 4], 0x56
mov dword [ebp - method.RCJson::StyledWriter.virtual_0], vtable.RCJson::StyledWriter.0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov byte [ebp - 4], 0x57
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], 0x58
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
mov byte [ebp - 4], 0x59
mov dword [ebp - 0x10c], 0x4a
mov dword [ebp - 0x108], 3
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 0x5a
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x14c]
call fcn.004cca00
mov byte [ebp - 4], 0x5b
lea ecx, [ebp - 0xb8]
cmp dword [ebp - 0xec], 0x10
lea eax, [ebp - 0x100]
mov esi, dword [ebp - 0x290]
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 - 0x275]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0x5a
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x414c2f
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414c25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414c25
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0055e874
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 - 0x14c]
call fcn.00411030
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
call fcn.004c68f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.004c68f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00404840
mov dword [ebp - 4], 0x5d
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.00419590
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 - 0x27c], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x414cf0
mov eax, dword [ebp - 0x27c]
mov ecx, 0x62623c
neg eax
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x294]
call fcn.00413110
mov edi, dword [ebp - 0x29c]
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 - 0x2ac]
mov ecx, esi
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00415900
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi]
je 0x414d5b
lea ecx, [eax + 0x14]
or eax, 0xffffffff
lock xadd dword [ecx], eax
mov eax, dword [ecx]
test eax, eax
jne 0x414d5b
push dword [ebp - 0x14]
lea eax, [ebp - 0x418]
mov ecx, esi
push eax
call fcn.00418d60
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x275]
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.0055e833
mov esp, ebp
pop ebp
ret