joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10006d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x10006d4d
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x10006d54
mov al, 1
jmp 0x10006e41
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
call fcn.10007440
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
call dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
call fcn.10007440
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.10007450
add esp, 8
movzx eax, al
test eax, eax
je 0x10006d9a
xor al, al
jmp 0x10006e41
mov dword [ebp - 0x2c], 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x24]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006ddd
cmp dword [ebp - 8], 1
je 0x10006de4
cmp dword [ebp - 8], 3
je 0x10006e34
jmp 0x10006e3f
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0xc], edx
je 0x10006e14
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0xc], eax
je 0x10006e14
xor al, al
jmp 0x10006e41
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x10006e28
mov dword [ebp - 0x10], 1
jmp 0x10006e2f
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
jmp 0x10006e41
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x10006e41
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x100080e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x10008100
jl 0x100080f7
cmp dword [ebp + 0xc], 0
ja 0x10008100
xor eax, eax
xor edx, edx
jmp 0x10008248
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x10008123
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
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__]
jmp 0x10008248
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x10008196
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.10006350
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.100073e0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x10008239
mov ecx, dword [ebp - 8]
call fcn.10007130
mov dword [ebp - 0x20], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x10008207
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x10008205
xor eax, eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
sbb edx, eax
mov eax, ecx
jmp 0x10008248
jmp 0x100081b2
cmp dword [ebp - 4], 0
jbe 0x10008239
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x1000827c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
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__]
jmp 0x10008363
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x10008314
jg 0x100082a5
cmp dword [ebp + 0xc], 0
jbe 0x10008314
cmp dword [ebp - 8], 0
jl 0x10008314
jg 0x100082b3
cmp dword [ebp - 0xc], 0
jbe 0x10008314
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jg 0x100082d1
jl 0x100082c5
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jae 0x100082d1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push eax
call fcn.100073e0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
nop
cmp dword [ebp + 0x10], 0
jl 0x10008357
jg 0x10008322
cmp dword [ebp + 0xc], 0
jbe 0x10008357
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x10008357
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10024db0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027ff5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x10], ecx
push 0x108461f8
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10024e46
push 0x102af8b8
push 0x108461f8
lea ecx, [ebp - 0x50]
call fcn.10022ec0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.1001fae0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.100249e0
lea ecx, [ebp - 0x38]
call fcn.10006830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10006830
nop
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.10007400
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10024ed0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027ff5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x10], ecx
push 0x10846360
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10024f66
push 0x102af87c
push 0x10846360
lea ecx, [ebp - 0x50]
call fcn.10022ec0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.1001fae0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.100249e0
lea ecx, [ebp - 0x38]
call fcn.10006830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10006830
nop
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.10007400
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10024f90
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027ff85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x10], ecx
push 0x10845d60
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10025026
push 0x102af87c
push 0x10845d60
lea ecx, [ebp - 0x5c]
call fcn.10022ec0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.1001fae0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.100249e0
lea ecx, [ebp - 0x44]
call fcn.10006830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10006830
nop
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.10007400
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
push 0x102af890
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.1001fc30
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
call fcn.100251b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10006830
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10034670
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10280391
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
mov ecx, 0x10cf44a0
call fcn.1000ee30
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100355a0
movzx eax, al
test eax, eax
je 0x100346ad
jmp 0x100347a5
mov ecx, 0x10cf44a0
call fcn.1000ee30
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100347c0
nop
mov ecx, 0x10cf43e0
call fcn.1021dd80
mov ecx, eax
call fcn.10035920
movzx ecx, byte [eax]
test ecx, ecx
jne 0x100347a5
mov ecx, 0x10cf43e0
call fcn.1021db30
cmp dword [eax + 0x4d30], 0x10
jg 0x100347a5
mov edx, dword [0x10cf8b58]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x10846e88]
cmp edx, dword [ecx + 8]
jle 0x10034765
push 0x10846e88
call fcn.1027dc6d
add esp, 4
cmp dword [0x10846e88], 0xffffffff
jne 0x10034765
mov dword [ebp - 4], 0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
push 0x102b012c
call fcn.10225f20
add esp, 8
add eax, 1
adc edx, 0
mov dword [0x10846e80], eax
mov dword [0x10846e84], edx
mov dword [ebp - 4], 0xffffffff
push 0x10846e88
call fcn.1027dc1c
add esp, 4
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
mov ecx, dword [0x10846e80]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [0x10846e80]
mov dword [edx], 0x11
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 4
mov edx, dword [0x10846e80]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003ad30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102805db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x1c], ecx
movzx eax, byte [0x10c3770c]
test eax, eax
jne 0x1003ad5e
jmp 0x1003aeae
mov ecx, dword [0x10cf8b58]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x10c335a8]
cmp ecx, dword [eax + 8]
jle 0x1003ae02
push 0x10c335a8
call fcn.1027dc6d
add esp, 4
cmp dword [0x10c335a8], 0xffffffff
jne 0x1003ae02
push str.Juiceware___good_cheat_for_the_game.
mov ecx, 0x10c33548
call fcn.10022ec0
mov dword [ebp - 4], 0
push str.Get_good._Get_Juiceware.
mov ecx, 0x10c33560
call fcn.10022ec0
mov byte [ebp - 4], 1
push str.Juiceware___better_than_its_competitors.
mov ecx, 0x10c33578
call fcn.10022ec0
mov byte [ebp - 4], 2
push str.Go_to_another_level_with_Juiceware.
mov ecx, 0x10c33590
call fcn.10022ec0
mov dword [ebp - 4], 0xffffffff
push 0x1028b2c0
call fcn.1027dbdc
add esp, 4
push 0x10c335a8
call fcn.1027dc1c
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10c335ac]
cmp eax, 0x320
jbe 0x1003aeae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10c335ac], eax
mov ecx, 0x10cf43e0
call fcn.1021de10
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000003
jns 0x1003ae4d
dec eax
or eax, 0xfffffffc
inc eax
imul eax, eax, 0x18
add eax, 0x10c33548
push eax
push str.say
lea ecx, [ebp - 0x34]
push ecx
call fcn.1001fd00
add esp, 0xc
mov dword [ebp - 4], 3
mov ecx, 0x10cf43e0
call fcn.1021dc40
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1b0]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x34]
call fcn.10007400
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10006830
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003d460
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10280791
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
movzx eax, byte [0x10c37760]
test eax, eax
jne 0x1003d491
jmp 0x1003d5f1
mov ecx, 0x10cf43e0
call fcn.1021dc40
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
call eax
movzx ecx, al
test ecx, ecx
je 0x1003d4d3
mov ecx, 0x10cf43e0
call fcn.1021dc40
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x68]
call edx
movzx eax, al
test eax, eax
jne 0x1003d4d8
jmp 0x1003d5f1
push 0
push 0
mov ecx, 0x10cf44a0
call fcn.1021ed50
test eax, eax
je 0x1003d506
push 0
push 0
mov ecx, 0x10cf44a0
call fcn.1021ed50
mov ecx, eax
call fcn.1021a750
movzx ecx, al
test ecx, ecx
jne 0x1003d50b
jmp 0x1003d5f1
mov ecx, 0x10cf43e0
call fcn.1021dea0
movzx edx, byte [eax + 0xa9]
test edx, edx
jne 0x1003d525
jmp 0x1003d5f1
xor eax, eax
mov byte [ebp - 0xd], al
mov ecx, dword [0x10cf8b58]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x10c336d0]
cmp ecx, dword [eax + 8]
jle 0x1003d596
push 0x10c336d0
call fcn.1027dc6d
add esp, 4
cmp dword [0x10c336d0], 0xffffffff
jne 0x1003d596
mov dword [ebp - 4], 0
push str.55_8B_EC_81_EC_________53_56_8B_35_________8B_D9_57_8B_CE
push 0x102b1194
call fcn.10225f20
add esp, 8
mov dword [0x10c336c8], eax
mov dword [0x10c336cc], edx
mov dword [ebp - 4], 0xffffffff
push 0x10c336d0
call fcn.1027dc1c
add esp, 4
movss xmm0, dword [0x102a9ee4]
movss dword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
mov ecx, 0x10cf44a0
call fcn.1021ed50
add eax, 8
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x28]
call edx
push eax
lea ecx, [ebp - 0xd]
call fcn.1003ab60
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1003d5df
jmp 0x1003d5f1
pushal
movss xmm1, dword [ebp - 0x34]
push 0
mov ecx, dword [ebp - 0x14]
call dword [0x10c336c8]
popal
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006f4c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10281b0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1003a940
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
mov dword [ebp - 0x18], ecx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.1003a940
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10218860
mov edx, dword [ebp - 0x10]
add edx, 0x34
mov dword [ebp - 0x1c], edx
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.1003a940
mov eax, dword [ebp - 0x10]
add eax, 0x40
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.1003a940
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
mov dword [ebp - 0x24], ecx
push 0
mov ecx, dword [ebp - 0x24]
call fcn.1003a940
mov edx, dword [ebp - 0x10]
add edx, 0x64
mov dword [ebp - 0x28], edx
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1003a940
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.1000e050
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.1000e050
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x91
call fcn.10218860
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.1000e050
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10071280
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027f1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x50
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x102b907c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
push 0
push 0
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
nop
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x18
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
xor edx, edx
push edx
push ecx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.10071e90
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x44], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x34], edx
sub esp, 0x18
mov eax, esp
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet__]
nop
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
push 0
push 0
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
nop
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.10070fa0
mov ecx, dword [ebp - 0x14]
call fcn.100713d0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10071f60
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027ff5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x10], ecx
push 0x10c38b70
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10071ff6
push 0x102af8b8
push 0x10c38b70
lea ecx, [ebp - 0x50]
call fcn.10022ec0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.1001fae0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.100249e0
lea ecx, [ebp - 0x38]
call fcn.10006830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10006830
nop
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.10007400
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret