joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10094e1c
cmp byte [esi + 0x3d], 0
je 0x10094e1c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10094e14
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
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 0x10094de5
sub eax, 1
je 0x10094de9
sub eax, 2
jne 0x10094e14
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10094e07
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 0x10094e14
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10095150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x4c], 0
je 0x10095214
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10095183
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
cmp dword [esi + 0x38], 0
lea edi, [esi + 0x3d]
je 0x100951cd
cmp byte [edi], 0
je 0x100951cd
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100951a3
xor al, al
jmp 0x100951cf
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
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 0x100951eb
sub eax, 1
je 0x100951ee
sub eax, 2
jne 0x1009519f
mov byte [edi], al
mov al, 1
push dword [esi + 0x4c]
xor ebx, ebx
test al, al
cmovne ebx, esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
add esp, 4
test eax, eax
cmovne ebx, ecx
jmp 0x10095219
mov byte [edi], 0
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x1009520c
push dword [esi + 0x4c]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x1009519f
cmp byte [edi], 0
sete al
jmp 0x100951cf
xor ebx, ebx
lea edi, [esi + 0x3d]
mov ecx, esi
mov byte [esi + 0x48], 0
mov byte [edi], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov dword [esi + 0x4c], 0
mov eax, ebx
mov ecx, dword [0x11296650]
mov edx, dword [0x11296654]
pop edi
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
mov dword [esi + 0x38], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100955a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100955bc
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x100955e4
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx]
add ecx, eax
cmp eax, ecx
jae 0x100955e4
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100956c3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1009560d
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 0x10095637
push dword [esi + 0x4c]
movsx eax, bl
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
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 3]
push eax
lea eax, [ebp - 4]
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 0x1009568c
sub eax, 1
je 0x1009568c
sub eax, 2
jne 0x100956c3
push dword [esi + 0x4c]
push dword [ebp - 4]
call fcn.10091740
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
sub edi, eax
je 0x100956aa
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 0x100956c3
lea ecx, [ebp - 4]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 8], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100961c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
test eax, eax
jg 0x100961e4
jl 0x100961d9
test ecx, ecx
jne 0x100961e4
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x100961fe
push eax
push ecx
push dword [ebp + 8]
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 ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push esi
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1009624a
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [eax]
test eax, eax
je 0x10096250
mov edi, dword [ebp + 8]
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 + 8], 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
jmp 0x10096250
lea eax, [ebx + 0x2c]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x100962c6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1009627c
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 - 4]
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 0x100962b4
nop dword [eax]
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 0x100962c6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10096290
test edi, edi
je 0x100962c6
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 0x100962e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10096305
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 ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1009632b
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10096330
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x10096390
jg 0x10096345
test esi, esi
je 0x10096390
test ecx, ecx
jl 0x1009638b
jg 0x1009634f
test eax, eax
je 0x1009638b
cmp edi, ecx
jg 0x10096361
jl 0x10096359
cmp esi, eax
jae 0x10096361
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10096393
mov ecx, dword [ebp + 8]
jmp 0x1009639d
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x100963b7
jg 0x1009639d
test esi, esi
je 0x100963b7
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100963b7
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 [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100963d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1128fec4
call fcn.100093d0
mov ecx, 0x1128fec4
call fcn.10009400
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10096481
sub eax, 1
jne 0x10096498
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [0x11296610], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x10093bc0
push 0
push 0
call esi
push 0
push 0
push edi
push 0x10094810
push 0
push 0
call esi
push 0
push 0
push edi
push 0x10094510
push 0
push 0
call esi
push 0
push 0
push edi
push 0x10094690
push 0
push 0
call esi
push 0
push 0
push edi
push 0x10093340
push 0
push 0
call esi
push 0
push 0
push edi
push 0x10094aa0
push 0
push 0
call esi
pop edi
pop esi
mov eax, 1
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
jne 0x10096498
call fcn.10055d80
call fcn.100554e0
mov ecx, eax
call fcn.1009a5e0
mov eax, 1
pop ebp
ret 0xc
Function at 0x1009d060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x1009d071
mov eax, dword [eax]
push ebx
push 0
push 0x80
push 3
push 0
push 0
push Ordinal_2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1009d0b7
push 0x110c77c0
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.100495a0
add esp, 8
mov ecx, eax
push 0x10096df0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [0x1128fecc]
mov eax, esi
mov edi, dword [ebp - 8]
mov ecx, eax
sub ecx, dword [0x1128fec8]
mov dword [ebp - 4], eax
mov eax, 0x38e38e39
imul ecx
mov dword [ebp + 8], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xc], eax
cmp edi, eax
jae 0x1009d11c
mov ecx, dword [0x1128fec8]
lea eax, [edi + edi*8]
push 0x1128fec8
push dword [ebp - 4]
lea esi, [ecx + eax*4]
push esi
mov dword [ebp + 8], esi
call fcn.10009360
jmp 0x1009d16d
jbe 0x1009d176
mov ecx, dword [0x1128fed0]
mov eax, 0x38e38e39
sub ecx, dword [0x1128fec8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x1009d159
lea eax, [ebp + 0xb]
mov ecx, 0x1128fec8
push eax
push edi
call fcn.10096aa0
mov esi, dword [0x1128fecc]
mov dword [ebp + 8], esi
jmp 0x1009d176
sub edi, dword [ebp - 0xc]
push 0x1128fec8
push edi
push esi
call fcn.10096d00
mov esi, eax
mov dword [ebp + 8], esi
mov dword [0x1128fecc], esi
add esp, 0xc
mov edi, dword [0x1128fec8]
cmp edi, esi
je 0x1009d1f9
lea esi, [edi + 0xc]
push 0
lea eax, [ebp - 0x10]
push eax
push 0xc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1009d1ee
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 4]
cmp eax, ecx
ja 0x1009d1c7
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1009d1be
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov byte [ecx + eax], 0
jmp 0x1009d1d3
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.10057eb0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1009d1dd
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
add edi, 0x24
add esi, 0x24
cmp edi, dword [ebp + 8]
jne 0x1009d183
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a2ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x112981fc]
test eax, eax
je 0x100a2eec
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100a2f42
mov eax, dword [eax]
test eax, eax
jne 0x100a2ee0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100a2f3f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x100a2f15
mov ecx, dword [0x112981fc]
mov dword [eax], ecx
mov dword [0x112981fc], eax
pop edi
pop esi
test eax, eax
jne 0x100a2f42
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x100a38d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x112981f0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100a3918
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100a393d
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100a395e
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100a395e
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100a3958
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100a395e
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
mov al, bl
and cl, 0xfd
add al, al
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100a3a40
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100a3b2b
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100a3b24
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1c], 0x10
jb 0x100a3b0b
call ebx
cmp dword [ebp - 0x10], eax
jne 0x100a3b0b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x100a3b0b
mov edx, dword [esi]
test edx, edx
jne 0x100a3ad4
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x11296898]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100a3b24
jmp 0x100a3aff
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100a3aff
shl eax, 3
push eax
push edx
push 0
push dword [0x11296898]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100a3b24
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100a3a93
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100a3b6f
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x100a3b6f
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100a3b69
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.100a3de0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x100a3b37
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100a3f30
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x100a3f80
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100a3f6f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100a3f68
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x100a3f45
pop ebx
push dword [edi]
push 0
push dword [0x11296898]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x100a4810
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
lea eax, [ebp - 0x11c]
mov edi, ecx
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, dword [0x110cf3cc]
lea esi, [edi + 0xc2c]
xorps xmm0, xmm0
mov dword [ebp - 8], 0xc
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
movq xmm0, qword [0x110cf3c4]
mov dword [ebp - 4], 0xf
movq qword [ebp - 0x18], xmm0
mov byte [ebp - 0xc], 0
cmp esi, eax
je 0x100a4885
mov ecx, esi
call fcn.1000b370
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 8]
movq qword [esi + 0x10], xmm0
cmp dword [esi + 0x14], 0x10
jb 0x100a488d
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, edi
call fcn.100b06d0
mov ecx, edi
call fcn.100a50b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100bd320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x100bd344
push dword [edi + 0x74]
call eax
add esp, 4
mov esi, dword [edi + 0x54]
test esi, esi
je 0x100bd3a9
nop dword [eax + eax]
mov ebx, dword [esi + 4]
xor edx, edx
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x100bd3a2
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x100bd376
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x100bd365
jmp 0x100bd3a2
test edx, edx
jne 0x100bd37f
mov dword [ebx + 0x54], ecx
jmp 0x100bd382
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100bd38f
push esi
call eax
add esp, 4
push esi
call fcn.100bd880
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [edi + 0x54]
test esi, esi
jne 0x100bd350
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x6c]
mov dword [ebp - 8], eax
test eax, eax
je 0x100bd434
test ebx, ebx
je 0x100bd434
mov ebx, dword [eax]
test ebx, ebx
je 0x100bd424
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100bd3d9
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100bd3ec
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100bd3fd
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x100bd3c3
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0x30]
mov dword [edi + 0x58], 0
test eax, eax
je 0x100bd448
push edi
call eax
add esp, 4
push ebx
push edi
call fcn.100bd290
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100bd462
push edi
call eax
add esp, 4
mov esi, dword [edi + 0x68]
mov eax, dword [edi + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x100bd498
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x100bd485
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x100bd498
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [edi + 0x80]
mov dword [edi + 0x68], 0
test eax, eax
je 0x100bd4bd
push eax
mov eax, dword [ebx + 8]
push ebx
call eax
add esp, 8
mov dword [edi + 0x80], 0
mov eax, dword [ebx + 8]
push edi
push ebx
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret