Function at 0x10003640
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10017004]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernelbase.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test ecx, ecx
jne 0x10003687
push str.kernelbase.dll
call ebx
mov ecx, eax
test ecx, ecx
je 0x1000377d
push str.HeapCreate
push ecx
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000377d
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x34], edx
mov word [esp + 0x38], cx
call esi
mov edx, dword [esp + 0x20]
mov edi, eax
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
push 0
mov dword [esp + 0x21], 0x10001000
mov dword [0x100182b8], 0
call esi
mov esi, eax
mov dword [0x100182b8], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esi + 4], edx
lea ecx, [edi + 8]
mov dword [esp + 0x25], ecx
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x28]
mov word [esi + 0xc], ax
lea eax, [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 6
push edi
mov dword [esp + 0x34], 0
call esi
mov eax, dword [esp + 0x10]
mov ecx, 2
mov dword [edi], eax
movzx eax, word [esp + 0x14]
mov word [edi + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10003797
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10003887
push str.HeapDestroy
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10003887
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
call esi
mov edx, dword [esp + 0x20]
mov edi, eax
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
push 0
mov dword [esp + 0x29], 0x10001020
mov dword [0x100182c4], 0
call esi
mov esi, eax
mov dword [esp + 0x24], 0
mov dword [0x100182c4], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esi + 4], edx
lea ecx, [edi + 8]
mov dword [esp + 0x11], ecx
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x14]
mov word [esi + 0xc], ax
lea eax, [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 6
push edi
call esi
mov eax, dword [esp + 0x18]
mov ecx, 2
mov dword [edi], eax
movzx eax, word [esp + 0x1c]
mov word [edi + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x100038a1
push str.kernelbase.dll
call ebx
test eax, eax
je 0x100039af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HeapValidate
push eax
call esi
mov dword [esp + 0x24], eax
test eax, eax
je 0x100039b5
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001100
mov eax, dword [esp + 0x24]
push 0x40
push 0x3000
push 0x1000
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movzx ecx, word [eax + 0xc]
mov word [esi + 0xc], cx
push 0
mov dword [0x100182e0], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x20], 0
mov dword [0x100182e0], edx
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
movzx ecx, word [esi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [edx + 0xc], cx
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 0xe]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0xe], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0x12], ax
lea eax, [esp + 0x20]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x24]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x100039cf
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10003ac3
push str.HeapCompact
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10003ac3
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x100011d0
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
push 0
mov dword [0x100182c0], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182c0], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov esi, dword [esp + 0x20]
mov word [edx + 4], cx
lea ecx, [esi + 6]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [edx + 6], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xa], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernel32.dll
call edi
test eax, eax
jne 0x10003add
push str.kernel32.dll
call ebx
test eax, eax
je 0x10003bd7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HeapWalk
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10003bdd
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001210
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
push 0
mov dword [0x100182f4], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182f4], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov esi, dword [esp + 0x20]
mov word [edx + 4], cx
lea ecx, [esi + 6]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [edx + 6], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xa], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10003bf7
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10003ce7
push str.HeapLock
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10003ce7
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call esi
mov edx, dword [esp + 0x20]
mov edi, eax
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
push 0
mov dword [esp + 0x21], 0x10001250
mov dword [0x100182e4], 0
call esi
mov esi, eax
mov dword [0x100182e4], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esp + 0x20], 0
lea ecx, [edi + 8]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x1c]
mov word [esi + 0xc], ax
lea eax, [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 6
push edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, 2
mov dword [edi], eax
movzx eax, word [esp + 0x14]
mov word [edi + 4], ax
mov eax, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push eax
push ecx
push 6
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10003d01
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10003df7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HeapUnlock
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10003dfd
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call esi
mov edx, dword [esp + 0x20]
mov edi, eax
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
push 0
mov dword [esp + 0x21], 0x10001290
mov dword [0x100182fc], 0
call esi
mov esi, eax
mov dword [0x100182fc], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esp + 0x20], 0
lea ecx, [edi + 8]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x1c]
mov word [esi + 0xc], ax
lea eax, [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 6
push edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, 2
mov dword [edi], eax
movzx eax, word [esp + 0x14]
mov word [edi + 4], ax
mov eax, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push eax
push ecx
push 6
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10003e17
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10003f0b
push 0x10015cb8
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10003f0b
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x100012d0
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
push 0
mov dword [0x10018300], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x10018300], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov esi, dword [esp + 0x20]
mov word [edx + 4], cx
lea ecx, [esi + 6]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [edx + 6], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xa], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10003f25
push str.kernelbase.dll
call ebx
test eax, eax
je 0x1000402d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LocalAlloc
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004033
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x100012e0
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182d0], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182d0], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x1000404d
push str.kernelbase.dll
call ebx
test eax, eax
je 0x1000414f
push str.LocalFree
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000414f
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001300
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182ac], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182ac], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10004169
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10004271
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LocalReAlloc
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004277
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001400
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182cc], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182cc], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10004291
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10004393
push str.LocalLock
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004393
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001510
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182d8], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182d8], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernelbase.dll
call edi
test eax, eax
jne 0x100043ad
push str.kernelbase.dll
call ebx
test eax, eax
je 0x100044b5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LocalUnlock
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x100044bb
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001610
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182e8], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182e8], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernel32.dll
call edi
test eax, eax
jne 0x100044d5
push str.kernel32.dll
call ebx
test eax, eax
je 0x100045d7
push str.LocalHandle
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x100045d7
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001710
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182c8], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182c8], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernel32.dll
call edi
test eax, eax
jne 0x100045f1
push str.kernel32.dll
call ebx
test eax, eax
je 0x100046f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LocalSize
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x100046ff
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001810
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x10018304], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x10018304], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernel32.dll
call edi
test eax, eax
jne 0x10004719
push str.kernel32.dll
call ebx
test eax, eax
je 0x1000481b
push str.LocalFlags
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000481b
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001910
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182b0], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182b0], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernelbase.dll
call edi
test eax, eax
jne 0x10004835
push str.kernelbase.dll
call ebx
test eax, eax
je 0x1000493d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GlobalAlloc
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004943
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001a10
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182bc], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182bc], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernelbase.dll
call edi
test eax, eax
jne 0x1000495d
push str.kernelbase.dll
call ebx
test eax, eax
je 0x10004a5f
push str.GlobalFree
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004a5f
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001a30
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182f0], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182f0], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernel32.dll
call edi
test eax, eax
jne 0x10004a79
push str.kernel32.dll
call ebx
test eax, eax
je 0x10004b81
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GlobalReAlloc
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004b87
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001b30
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182dc], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182dc], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernel32.dll
call edi
test eax, eax
jne 0x10004ba1
push str.kernel32.dll
call ebx
test eax, eax
je 0x10004ca3
push str.GlobalLock
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004ca3
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001c40
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x10018308], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x10018308], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernel32.dll
call edi
test eax, eax
jne 0x10004cbd
push str.kernel32.dll
call ebx
test eax, eax
je 0x10004dc5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GlobalUnlock
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004dcb
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001d40
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182f8], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182f8], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernel32.dll
call edi
test eax, eax
jne 0x10004de5
push str.kernel32.dll
call ebx
test eax, eax
je 0x10004ee7
push str.GlobalHandle
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10004ee7
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001e40
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182ec], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182ec], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.kernel32.dll
call edi
test eax, eax
jne 0x10004f01
push str.kernel32.dll
call ebx
test eax, eax
je 0x10005009
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GlobalSize
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000500f
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10001f40
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182b4], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182b4], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.kernel32.dll
call edi
test eax, eax
jne 0x10005029
push str.kernel32.dll
call ebx
test eax, eax
je 0x1000512b
push str.GlobalFlags
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000512b
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10002040
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [eax]
mov dword [esi], ecx
movzx ecx, word [eax + 4]
mov word [esi + 4], cx
movzx ecx, byte [eax + 6]
mov byte [esi + 6], cl
push 0
mov dword [0x100182d4], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x100182d4], edx
mov ecx, dword [esi]
mov dword [edx], ecx
movzx ecx, word [esi + 4]
mov word [edx + 4], cx
movzx ecx, byte [esi + 6]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 7]
mov dword [esp + 0x19], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 7], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xb], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push ecx
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
push str.ntdll.dll
call edi
test eax, eax
jne 0x10005145
push str.ntdll.dll
call ebx
test eax, eax
je 0x10005247
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlAllocateHeap
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000524d
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esp + 0x11], 0x10002160
mov eax, dword [esp + 0x20]
push 0x40
push 0x3000
push 0x1000
movq xmm0, qword [eax]
movq qword [esi], xmm0
movzx ecx, word [eax + 8]
mov word [esi + 8], cx
push 0
mov dword [0x10018318], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [esp + 0x24], 0
mov dword [0x10018318], edx
movq xmm0, qword [esi]
movq qword [edx], xmm0
movzx ecx, word [esi + 8]
mov esi, dword [esp + 0x20]
mov word [edx + 8], cx
lea ecx, [esi + 0xa]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [edx + 0xa], eax
movzx eax, word [esp + 0x1c]
mov word [edx + 0xe], ax
lea eax, [esp + 0x24]
push eax
push 0x40
push 6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov edx, dword [esp + 0x20]
mov ecx, 2
mov eax, dword [esp + 0x10]
mov dword [edx], eax
movzx eax, word [esp + 0x14]
mov word [edx + 4], ax
mov eax, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x24]
push eax
push ecx
push 6
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ntdll.dll
call edi
test eax, eax
jne 0x10005267
push str.ntdll.dll
call ebx
test eax, eax
je 0x10005357
push str.RtlReAllocateHeap
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x10005357
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call esi
mov edx, dword [esp + 0x20]
mov edi, eax
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
push 0
mov dword [esp + 0x21], 0x100021c0
mov dword [0x1001830c], 0
call esi
mov esi, eax
mov dword [0x1001830c], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esp + 0x20], 0
lea ecx, [edi + 8]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x1c]
mov word [esi + 0xc], ax
lea eax, [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 6
push edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, 2
mov dword [edi], eax
movzx eax, word [esp + 0x14]
mov word [edi + 4], ax
mov eax, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push eax
push ecx
push 6
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.ntdll.dll
call edi
test eax, eax
jne 0x10005371
push str.ntdll.dll
call ebx
test eax, eax
je 0x10005467
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlSizeHeap
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000546d
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call esi
mov edx, dword [esp + 0x20]
mov edi, eax
push 0x40
push 0x3000
push 0x1000
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
push 0
mov dword [esp + 0x21], 0x10002290
mov dword [0x10018310], 0
call esi
mov esi, eax
mov dword [0x10018310], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esp + 0x20], 0
lea ecx, [edi + 8]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x1c]
mov word [esi + 0xc], ax
lea eax, [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 6
push edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, 2
mov dword [edi], eax
movzx eax, word [esp + 0x14]
mov word [edi + 4], ax
mov eax, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push eax
push ecx
push 6
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ntdll.dll
call edi
test eax, eax
jne 0x10005487
push str.ntdll.dll
call ebx
test eax, eax
je 0x1000556f
push str.RtlFreeHeap
push eax
call esi
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x1000556f
mov cx, word [0x10017888]
mov edx, dword [0x10017884]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push 0x1000
push 0
mov dword [esp + 0x20], edx
mov word [esp + 0x24], cx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], cx
call ebx
mov ecx, dword [esi]
mov edi, eax
mov edx, dword [esi + 4]
push 0x40
push 0x3000
mov dword [edi], ecx
push 0x1000
mov dword [edi + 4], edx
push 0
mov dword [esp + 0x21], 0x10002240
mov dword [0x10018314], 0
call ebx
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10018314], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esp + 0x20], 0
lea ecx, [edi + 8]
mov dword [esp + 0x19], ecx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
movzx eax, word [esp + 0x1c]
mov word [esi + 0xc], ax
lea eax, [esp + 0x20]
push eax
push 0x40
push 6
push edi
call ebx
mov eax, dword [esp + 0x10]
mov ecx, 2
mov dword [edi], eax
movzx eax, word [esp + 0x14]
mov word [edi + 4], ax
mov eax, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push eax
push ecx
push 6
push edi
call ebx
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000564e
mov esp, ebp
pop ebp
ret