joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b745
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x40fe3e
call fcn.0040e648
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], edi
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_void_]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.Cmmlib.dll_unsigned_char____cdecl_Cmm::base64Decode_class_Cmm::CStringT_wchar_t__const___unsigned_int__]
mov dword [ebp - 0x34], eax
pop ecx
pop ecx
test eax, eax
je 0x40b7cb
mov ecx, dword [ebp - 0x30]
test cl, 1
jne 0x40b7c3
xor esi, esi
mov bl, 1
mov edx, esi
test ecx, ecx
je 0x40b7a2
xor byte [edx + eax], bl
inc bl
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, dword [ebp - 0x34]
cmp edx, ecx
jb 0x40b792
shr ecx, 1
cmp word [eax + ecx*2 - 2], si
je 0x40b7b7
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.Cmmlib.dll_void___cdecl_Cmm::base64FreeDecodeBuffer_unsigned_char___]
jmp 0x40b7ca
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Cmmlib.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_Cmm::CStringT_wchar_t_::assign_wchar_t_const__]
jmp 0x40b7ab
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const__]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
mov eax, edi
call fcn.0040e603
ret

Function at 0x40b7e8
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x40fe98
call fcn.0040e648
mov esi, ecx
mov dword [ebp - 0x42c], esi
xor ebx, ebx
lea eax, [ebp - 0x424]
push 0x412
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x430], esi
push eax
mov dword [ebp - 0x428], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.system32msiexec.exe
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, 0x415154
mov ecx, esi
push edi
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_wchar_t_const__]
lea eax, [ebp - 0x424]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
mov dword [ebp - 0x428], 1
call dword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____thiscall_Cmm::CStringT_wchar_t_::operator_wchar_t_const__]
push edi
mov ecx, esi
call dword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____thiscall_Cmm::CStringT_wchar_t_::operator_wchar_t_const__]
mov eax, esi
call fcn.0040e603
ret
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x407467
pop dword [ebp - 0x20]
mov eax, 0x5e901654
sub eax, 0x5e4fa1ed
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x2e505ad9
add dword [ebp - 0x30], 0x2001ea72
mov dword [ebp - 0x2c], 0x23ef74f
sub dword [ebp - 0x2c], 0xd00bab0a
mov dword [ebp - 0x28], 0xd217b1fb
sub dword [ebp - 0x28], 0x85cb6dcd
mov dword [ebp - 0x24], 0xe56a5a17
sub dword [ebp - 0x24], 0xe56a5a17
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8a708755
add eax, 0x75cff923
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x55cbbc68
sub dword [ebp - 0x30], 0xe1595312
mov dword [ebp - 0x2c], 0x7ef2ce72
add dword [ebp - 0x2c], 0xc2799303
mov dword [ebp - 0x28], 0x2db87b82
sub dword [ebp - 0x28], 0xca490f16
mov dword [ebp - 0x24], 0x7837b0b0
sub dword [ebp - 0x24], 0x7837b0b0
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x903b7e8a
add eax, 0x700501f2
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9ec
push 0
call eax
mov ecx, 0xe38ed524
add ecx, 0x1c7184ef
mov ebx, eax
mov esi, 0xcd7ed0d8
add esi, 0x32c6c128
add esi, dword [ebp - 0x20]
mov edx, 0xa8311a90
sub dword [ebp - 0x18], 0x84f3b1bc
mov edi, dword [esi]
mov dword [ebp - 0x14], 0x54d917dd
add edi, edx
sub dword [ebp - 8], 0x63dcd125
mov dword [ebx], edi
xor dword [ebp - 4], ebx
add ebx, 0x8fc86c49
sub ebx, 0x8fc86c45
add esi, 0xfc083ff5
add esi, 0x3f7c00f
loop 0x407583
add eax, 0x1b712dce
sub eax, 0x1b6fd2af
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x101ee760
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x10431ad9
call fcn.1011b53f
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x101ee7c2
mov dword [ebp - 0x74], 1
jmp 0x101ee7c9
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x101ee7da
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x101ee7f9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x101ee818
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x101ee7f0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.101ee880
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1021c360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x10431ee4
call fcn.1011b53f
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x1021c3c2
mov dword [ebp - 0x74], 1
jmp 0x1021c3c9
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x1021c3da
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x1021c3f9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x1021c418
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x1021c3f0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1021c480
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x102babc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x50], 0
mov ecx, 0x10432a36
call fcn.1011b53f
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x18], 0x10
jb 0x102bac22
mov dword [ebp - 0x74], 1
jmp 0x102bac29
mov dword [ebp - 0x74], 0
movzx ecx, byte [ebp - 0x74]
test ecx, ecx
je 0x102bac3a
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0
jmp 0x102bac59
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x70]
jae 0x102bac78
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp - 8]
imul eax, edx, 0x1000193
mov dword [ebp - 8], eax
jmp 0x102bac50
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.102bace0
add esp, 0xc
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1032c760
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10396464]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call fcn.1011ba8f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1032c8dc
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1011b378
test eax, eax
je 0x1032c8c9
cmp dword [ebp - 0x28], 0x10
jb 0x1032c8ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1011b62a
cmp dword [ebp - 0x1c], eax
jne 0x1032c8ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1011b62a
cmp dword [ebp - 0x20], eax
je 0x1032c8ad
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1032c834
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x1042c784]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1011b62a
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1032c832
jmp 0x1032c8c9
jmp 0x1032c88d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1032c88d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1042c784]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1011b62a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1032c877
jmp 0x1032c8c9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1011c520
test eax, eax
jne 0x1032c7b3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1011b62a
push edx
mov ecx, ebp
push eax
lea edx, [0x1032c908]
call fcn.1011b864
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011b1ac
add esp, 0x30
cmp ebp, esp
call fcn.1011b62a
mov esp, ebp
pop ebp
ret
Function at 0x1032c920
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1032c760
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1032c9eb
mov dword [ebp - 4], 0
jmp 0x1032c97c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1032c9eb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1011b62a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1032c9e9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1011b62a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1032c580
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1011b62a
jmp 0x1032c973
pop esi
add esp, 8
cmp ebp, esp
call fcn.1011b62a
mov esp, ebp
pop ebp
ret

Function at 0x1032ca00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1032caab
mov dword [ebp - 4], 0
jmp 0x1032ca33
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1032ca8e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1011b62a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1032ca8c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1011b62a
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1011b62a
jmp 0x1032ca2a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1042c784]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1011b62a
pop esi
add esp, 8
cmp ebp, esp
call fcn.1011b62a
mov esp, ebp
pop ebp
ret
Function at 0x1032cac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1042cc10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1032cb23
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1011b62a
test eax, eax
jne 0x1032cb4e
mov eax, 0xa
jmp 0x1032cc50
cmp dword [ebp + 0xc], 0
je 0x1032cb9a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1032cb98
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x1032cbd6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1032cbc1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1011bb8e
add esp, 0xc
jmp 0x1032cbd6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1011bb8e
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1011b62a
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.1011b62a
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.1011b62a
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1032cc74]
call fcn.1011b864
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1011b62a
mov esp, ebp
pop ebp
ret
Function at 0x1032d8d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1042cc00]
mov dword [ebp - 4], eax
jmp 0x1032d8f7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1032d910
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1032d90e
mov eax, dword [ebp - 4]
jmp 0x1032d994
jmp 0x1032d8ef
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1011b62a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1032d991
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x1032d953
mov edx, dword [ebp - 4]
mov eax, dword [0x1042cc00]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1042cc00], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1011b62a
mov esp, ebp
pop ebp
ret

Function at 0x1032df50
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x1032dfa0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x1032dfa0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x1032dfa0
xor eax, eax
jmp 0x1032dfe1
mov dword [ebp - 4], 1
jmp 0x1032dfb2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1032dfdc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1032dfda
xor eax, eax
jmp 0x1032dfe1
jmp 0x1032dfa9
mov eax, 1
mov esp, ebp
pop ebp
ret