joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007a850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edef5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1012eb00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.100b5360
push 8
call fcn.100e524f
add esp, 4
mov ebx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], ebx
push 0x11
movq qword [ebx], xmm0
call fcn.100584a0
push 0x10
mov esi, eax
call fcn.100584a0
push ebx
push 0x10048f40
push esi
mov edi, eax
call fcn.100b54a0
lea ecx, [ebx + 4]
push ecx
push 0x10049300
push edi
call fcn.100b54a0
push 0x10133a94
push 0x100780b0
push 0x58a330
mov dword [0x10133a7c], ebx
call fcn.100b54a0
test eax, eax
je 0x1007a919
push 0x10
push str.Error
push str.Failed_to_create_hook_for_CHud::DrawRadar
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x10133ae7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret
push 0x10133a98
push 0x100778c0
push 0x561b10
call fcn.100b54a0
push 0x10133a8c
push 0x10077970
push 0x679f0
call fcn.1007aa80
push eax
call fcn.100b54a0
push 0x10133a90
push 0x10078140
push 0xc57dd
call fcn.1007aa80
push eax
call fcn.100b54a0
push 0
call fcn.100b58c0
mov edx, dword [0x1013abc0]
lea ecx, [ebp - 0x50]
call fcn.10058f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x18], 0
mov edx, eax
push dword [ebp - 0x18]
call fcn.1008c340
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.100578f0
lea ecx, [ebp - 0x38]
mov bl, al
call fcn.10057240
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1007a9e4
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a9da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007a9da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e50ed
add esp, 8
test bl, bl
je 0x1007aa02
mov edx, 0x1013abb0
mov dword [ebp - 4], 2
mov ecx, edx
call fcn.1005a850
mov dword [ebp - 4], 0xffffffff
push 4
mov byte [0x10133b42], 1
call fcn.100e524f
mov dword [ebp - 0x18], eax
mov dword [eax], 0x100792e0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 4
push ecx
push 0
push eax
push 0x10094a70
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1007aa65
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 5
call fcn.10053420
cmp dword [ebp - 0x1c], 0
je 0x1007a8f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, 0x1007a9fb
ret
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1007a9fb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edef5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1012eb00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.100b5360
push 8
call fcn.100e524f
add esp, 4
mov ebx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], ebx
push 0x11
movq qword [ebx], xmm0
call fcn.100584a0
push 0x10
mov esi, eax
call fcn.100584a0
push ebx
push 0x10048f40
push esi
mov edi, eax
call fcn.100b54a0
lea ecx, [ebx + 4]
push ecx
push 0x10049300
push edi
call fcn.100b54a0
push 0x10133a94
push 0x100780b0
push 0x58a330
mov dword [0x10133a7c], ebx
call fcn.100b54a0
test eax, eax
je 0x1007a919
push 0x10
push str.Error
push str.Failed_to_create_hook_for_CHud::DrawRadar
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x10133ae7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret
push 0x10133a98
push 0x100778c0
push 0x561b10
call fcn.100b54a0
push 0x10133a8c
push 0x10077970
push 0x679f0
call fcn.1007aa80
push eax
call fcn.100b54a0
push 0x10133a90
push 0x10078140
push 0xc57dd
call fcn.1007aa80
push eax
call fcn.100b54a0
push 0
call fcn.100b58c0
mov edx, dword [0x1013abc0]
lea ecx, [ebp - 0x50]
call fcn.10058f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x18], 0
mov edx, eax
push dword [ebp - 0x18]
call fcn.1008c340
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.100578f0
lea ecx, [ebp - 0x38]
mov bl, al
call fcn.10057240
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1007a9e4
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a9da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007a9da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e50ed
add esp, 8
test bl, bl
je 0x1007aa02
mov edx, 0x1013abb0
mov dword [ebp - 4], 2
mov ecx, edx
call fcn.1005a850
mov dword [ebp - 4], 0xffffffff
push 4
mov byte [0x10133b42], 1
call fcn.100e524f
mov dword [ebp - 0x18], eax
mov dword [eax], 0x100792e0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 4
push ecx
push 0
push eax
push 0x10094a70
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1007aa65
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 5
call fcn.10053420
cmp dword [ebp - 0x1c], 0
je 0x1007a8f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, 0x1007a9fb
ret
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1007b890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1007b8bc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1007b8e4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1007b8ea
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x1007b952
jg 0x1007b901
test esi, esi
je 0x1007b952
test ecx, ecx
jl 0x1007b94d
jg 0x1007b90b
test eax, eax
je 0x1007b94d
cmp edi, ecx
jg 0x1007b91f
jl 0x1007b915
cmp esi, eax
jae 0x1007b91f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1007b955
mov ecx, dword [ebp + 8]
jmp 0x1007b95f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1007b979
jg 0x1007b95f
test esi, esi
je 0x1007b979
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1007b979
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007b990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x1007b9bc
jl 0x1007b9b0
test ecx, ecx
jne 0x1007b9bc
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1007b9d5
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1007ba23
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x1007ba29
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x1007ba29
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x1007ba96
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1007ba52
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x1007ba84
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1007ba96
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1007ba60
test edi, edi
je 0x1007ba96
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007bde0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1012eb00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1007be10
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1007be4c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1007be4c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1007bf23
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1007be74
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1007be80
movsx eax, bl
jmp 0x1007beb8
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1007bee2
sub eax, 1
je 0x1007bee2
sub eax, 2
jne 0x1007bf23
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1007bf00
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1007bf23
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e4fca
mov esp, ebp
pop ebp
ret 4
Function at 0x1007cac0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x1012eb00]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 1
lock xadd dword [0x1013ace0], eax
inc eax
mov ebx, 0x1013ace4
cmp eax, 1
jne 0x1007cb09
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
cmp byte [ebp + 8], 0
je 0x1007cb94
xor esi, esi
lock xadd dword [ebx], esi
test esi, esi
je 0x1007cb94
mov ecx, dword [0x1012ee80]
mov eax, dword [0x1012ee84]
cmp ecx, 0x257edfd1
jne 0x1007cb37
cmp eax, 0xb2ab117a
je 0x1007cb46
cmp ecx, 0x257edfd0
jne 0x1007cb4a
cmp eax, 0xb2ab117a
jne 0x1007cb4a
mov al, 1
jmp 0x1007cb5a
mov eax, dword [0x1012ee78]
mov ecx, 0x1012ee78
push esi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x1012ee78
mov dword [esp + 0xc], str.F:Programs_boost_1_85_0_boost_1_85_0_boost_asiodetailimplwinsock_init.ipp
mov dword [esp + 0x10], str.void___cdecl_boost::asio::detail::winsock_init_base::throw_on_error_struct_boost::asio::detail::winsock_init_base::data__
mov dword [esp + 0x14], 0x48
mov dword [esp + 0x18], 0x1a
test al, 1
jne 0x1007cbad
mov ecx, dword [esp + 0x1bc]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
mov edx, str.winsock
push eax
lea ecx, [esp + 0x20]
call fcn.10053810
int3

Function at 0x1007eca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1012eb00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1007ed5c
cmp byte [esi + 0x3d], 0
je 0x1007ed5c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1007ed4a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1007ed11
sub eax, 1
je 0x1007ed15
sub eax, 2
jne 0x1007ed4a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1007ed33
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1007ed4a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100e4fca
mov esp, ebp
pop ebp
ret
Function at 0x1007f9e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee3cc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1012eb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1007fa94
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
push 9
mov byte [edi + 0x60], al
call fcn.1007f210
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.10080f70
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1007fad4
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10082de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
sub esi, 0x1013b5d0
mov dword [ebp - 0x14], eax
sar esi, 2
test esi, esi
je 0x10082fbb
push ebx
mov ebx, dword [eax + 4]
sub ebx, dword [eax]
sar ebx, 2
cmp esi, 0x26f
jb 0x10082e18
mov eax, 0xb
jmp 0x10082e41
cmp esi, 0x44
jb 0x10082e24
mov eax, 7
jmp 0x10082e41
cmp esi, 0x27
jb 0x10082e30
mov eax, 5
jmp 0x10082e41
cmp esi, 7
jb 0x10082e3c
mov eax, 3
jmp 0x10082e41
lea eax, [esi - 1]
shr eax, 1
mov edx, esi
sub edx, eax
shr edx, 1
add eax, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
cmp esi, ebx
ja 0x10082e5b
lea eax, [ebx + 1]
mov dword [ebp - 0x10], eax
jmp 0x10082e5e
mov dword [ebp - 0x10], esi
push edi
mov eax, 0x8b8b8b8b
mov ecx, esi
mov edi, 0x1013b5d0
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
xor edi, edi
test eax, eax
je 0x10082f22
nop word [eax + eax]
lea eax, [edi + edx]
xor edx, edx
div esi
lea eax, [edx*4 + 0x1013b5d0]
xor edx, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, edi
div esi
lea eax, [edi - 1]
mov dword [ebp - 0xc], edx
xor edx, edx
div esi
mov ecx, dword [edx*4 + 0x1013b5d0]
mov edx, dword [ebp - 0xc]
xor ecx, dword [edx*4 + 0x1013b5d0]
xor ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x19660d
mov dword [ebp - 0x18], ecx
test edi, edi
jne 0x10082ed2
mov eax, ebx
jmp 0x10082ee5
cmp edi, ebx
ja 0x10082ee3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edi*4 - 4]
add eax, edx
jmp 0x10082ee5
mov eax, edx
mov edx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov dword [edx], eax
xor edx, edx
mov eax, dword [ebp - 8]
add eax, edi
inc edi
div esi
add dword [edx*4 + 0x1013b5d0], ecx
lea eax, [edx*4 + 0x1013b5d0]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx*4 + 0x1013b5d0], ecx
mov edx, dword [ebp - 4]
cmp edi, eax
jb 0x10082e80
add eax, esi
mov dword [ebp - 0x14], eax
cmp edi, eax
jae 0x10082fb9
mov eax, dword [ebp - 8]
lea ecx, [edi - 1]
inc edx
mov dword [ebp - 4], ecx
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], eax
lea eax, [edx + ecx]
xor edx, edx
div esi
lea ebx, [edx*4 + 0x1013b5d0]
xor edx, edx
lea eax, [ecx + 1]
mov edi, dword [ebx]
mov dword [ebp - 0x18], eax
div esi
mov eax, ecx
mov dword [ebp - 8], edx
xor edx, edx
div esi
mov ecx, dword [edx*4 + 0x1013b5d0]
mov edx, dword [ebp - 8]
add ecx, edi
add ecx, dword [edx*4 + 0x1013b5d0]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul eax, eax, 0x5d588b65
xor edi, eax
mov ecx, eax
mov eax, dword [ebp - 4]
sub ecx, edx
add eax, dword [ebp - 0x1c]
xor edx, edx
div esi
lea eax, [edx*4 + 0x1013b5d0]
mov dword [ebx], edi
xor dword [eax], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax*4 + 0x1013b5d0], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
lea eax, [ecx + 1]
cmp eax, dword [ebp - 0x14]
jb 0x10082f40
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100b6060
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 [0x1012eb00]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100b61dc
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100b61c9
cmp dword [ebp - 0x28], 0x10
jb 0x100b61ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100e5c53
cmp dword [ebp - 0x1c], eax
jne 0x100b61ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100e5c53
cmp dword [ebp - 0x20], eax
je 0x100b61ad
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100b6134
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 [0x1013363c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100e5c53
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100b6132
jmp 0x100b61c9
jmp 0x100b618d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100b618d
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 [0x1013363c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100e5c53
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100b6177
jmp 0x100b61c9
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 sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100b60b3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100e5c53
push edx
mov ecx, ebp
push eax
lea edx, [0x100b6208]
call fcn.100e5bff
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4fca
add esp, 0x30
cmp ebp, esp
call fcn.100e5c53
mov esp, ebp
pop ebp
ret