joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052c9
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x4310c1
call fcn.00430710
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 0x5ccfffff
push 0x12e3ffff
mov dword [ebp - 0x10], ebx
call fcn.0040af94
pop ecx
mov word [0x43ac84], ax
mov al, byte [ebp + 0xf]
pop ecx
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or al, 0xff
push 1
sub al, byte [0x43ac7b]
pop esi
mov dword [ebp - 4], esi
mov byte [0x43ac78], al
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add word [0x43ac82], ax
or al, 0xff
sub al, byte [0x43ac94]
push 8
pop edi
add byte [0x43ac7d], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x43aca4], eax
movsx eax, byte [0x43ac7e]
push eax
push 0xc775ffff
call fcn.0040b0ac
add word [0x43ac86], ax
mov eax, dword [ebp + 0xc]
pop ecx
shr eax, 0x1c
pop ecx
cmp eax, 0xa
sbb cl, cl
and cl, 0xd9
add cl, 0x57
add cl, al
push ecx
push esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_unsigned_int__char_]
movsx eax, word [0x43ac90]
or byte [0x43ac79], 0xff
push eax
push dword [0x43acb0]
call fcn.0040aeeb
add byte [0x43ac81], al
mov ax, word [0x43ac8e]
add word [0x43ac84], ax
pop ecx
shl dword [ebp + 0xc], 4
dec edi
pop ecx
jne 0x405336
movsx eax, byte [0x43ac78]
push eax
push 0x88b7ffff
call fcn.0040af94
add dword [0x43ac9c], eax
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x20]
pop ecx
pop ecx
mov byte [edi], al
push ebx
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, edi
push dword [eax]
lea eax, [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov dword [ebp - 0x10], esi
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x407f63
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
mov eax, 0x431389
call fcn.00430710
sub esp, 0x14
movsx eax, byte [0x43ac7a]
push esi
xor esi, esi
push eax
push 0x9a19ffff
mov dword [ebp - 0x10], esi
mov word [0x43ac86], 0xfffe
call fcn.0040aeeb
pop ecx
mov dword [0x43acb0], eax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [ebp + 0xc], esi
mov byte [0x43ac7c], al
je 0x408026
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x43aca8], eax
movsx eax, byte [0x43ac78]
push eax
movsx eax, byte [0x43ac7f]
push eax
call fcn.0040af32
pop ecx
mov byte [0x43ac7c], al
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [0x43ac78], al
mov al, byte [ebp + 0xf]
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
call fcn.00407dbd
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 8]
jmp 0x408051
mov al, byte [ebp + 0xf]
push edi
mov edi, dword [ebp + 8]
push esi
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, 0x43abc4
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40b5cd
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x40b5ee
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
push 0x39
call fcn.0040f588
pop ecx
call eax
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov cx, word [0x43ac8a]
dec cx
add ax, cx
cmp dword [ebp + 8], 0xffffffff
mov word [0x43ac86], ax
je 0x40b81b
movsx eax, byte [0x43ac7e]
and eax, dword [0x43acbc]
push esi
push edi
mov edi, 0x96
mov dword [0x43acb4], eax
push edi
movsx eax, word [0x43ac90]
or eax, dword [0x43aca0]
push ebx
mov dword [ebp - 0xc], ebx
mov word [0x43ac8a], 1
add dword [0x43aca8], eax
lea eax, [ebp - 0xa4]
push eax
call sub.MSVCRT.dll_memset
push 0x5171ffff
mov dword [ebp - 0xa4], ebx
push dword [0x43acb8]
call fcn.0040b0f0
add word [0x43ac94], ax
mov dword [ebp - 0xa0], ebx
movsx eax, byte [0x43ac80]
push eax
push dword [0x43ac9c]
call fcn.0040b037
add word [0x43ac92], ax
mov esi, 0x48a
push esi
lea eax, [ebp - 0x530]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x28
cmp dword [0x43b0c0], ebx
jne 0x40b6d4
push 0x62
call fcn.0040f588
pop ecx
mov dword [0x43b0c0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add byte [0x43ac7d], al
mov ax, word [0x43aca0]
or ax, word [0x43ac94]
push 0xc151ffff
push dword [0x43ac9c]
add word [0x43ac8e], ax
call fcn.0040b037
pop ecx
mov word [0x43ac8e], ax
pop ecx
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x530]
push esi
push eax
lea eax, [ebp - 0xa4]
push edi
push eax
push 0x2d1400
push dword [ebp + 8]
call dword [0x43b0c0]
pop edi
pop esi
test eax, eax
je 0x40b7c6
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x530]
push eax
call fcn.0040b823
movsx eax, word [0x43ac90]
push eax
movsx eax, byte [0x43ac81]
push eax
call fcn.0040b002
push 0xf2d1ffff
push 0x4679ffff
mov byte [0x43ac81], al
call fcn.0040af32
add esp, 0x10
mov dword [0x43aca8], eax
push 0xcf8fffff
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
add dword [0x43aca0], eax
cmp byte [0x43ac7d], bl
mov dword [ebp - 4], 1
setne al
mov byte [0x43ac7e], al
movsx eax, byte [0x43ac7a]
push eax
push dword [0x43acac]
call fcn.0040afcb
xor eax, eax
cmp word [0x43ac86], bx
pop ecx
setne al
pop ecx
mov word [0x43ac82], ax
push 0x3de5ffff
push 0xcb0dffff
call fcn.0040b0f0
pop ecx
add dword [0x43acac], eax
or word [0x43ac84], 0xffff
sub dword [0x43ac98], 0x40480001
pop ecx
push dword [ebp + 8]
push 0x36
call fcn.0040f588
pop ecx
call eax
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_IsCharAlphaA]
mov word [0x43ac8a], ax
xor eax, eax
cmp byte [0x43ac7c], bl
setne al
mov word [0x43ac92], ax
mov eax, dword [ebp - 4]
pop ebx
leave
ret 4
Function at 0x40bd81
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x43ac7b]
imul eax, eax, 0xf25fffff
push ebx
push esi
push edi
push 0x2ad7ffff
push dword [0x43aca8]
mov dword [0x43acb0], eax
call fcn.0040b087
add dword [0x43aca8], eax
push 0xbe5fffff
push 0x3edfffff
call fcn.0040b087
add esp, 0x10
lea ecx, [ebp - 4]
mov dword [0x43aca8], eax
call fcn.00402e65
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 4
jb 0x40befa
movsx eax, byte [0x43ac7b]
push eax
push 0xe63dffff
call fcn.0040afcb
add byte [0x43ac7c], al
movsx eax, byte [0x43ac78]
push eax
push 0x9787ffff
call fcn.0040b002
mov dword [0x43aca0], eax
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, eax
jne 0x40be1a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [ebp - 4]
call fcn.00403104
push 0xdd1bffff
push 0x583ffff
mov edi, eax
call fcn.0040b002
push dword [0x43acac]
add word [0x43ac94], ax
push 0x9ffffff
call fcn.0040b037
add esp, 0x10
mov word [0x43ac8c], ax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov byte [0x43ac79], al
lea eax, [edi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [ebx + 4]
test eax, eax
pop ecx
jne 0x40be77
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00403bc4
cmp eax, 0xffffffff
jne 0x40befe
movsx eax, byte [0x43ac7a]
push 0x8b97ffff
push eax
call fcn.0040b002
add word [0x43ac8c], ax
push 0x7583ffff
push 0xefe9ffff
call fcn.0040af94
add dword [0x43ac9c], eax
mov al, byte [0x43acbc]
or al, byte [0x43ac7d]
push esi
mov byte [0x43ac7c], al
call fcn.00430672
push dword [0x43aca8]
push 0x9199ffff
call fcn.0040b0f0
add byte [0x43ac7c], al
push 0x9989ffff
movsx eax, byte [0x43ac7b]
push eax
call fcn.0040b002
add esp, 0x24
mov dword [0x43acb0], eax
xor al, al
jmp 0x40bf7b
movsx eax, byte [0x43ac7e]
push eax
push 0x6c1ffff
call fcn.0040af32
add dword [0x43aca4], eax
mov al, byte [0x43ac92]
sub byte [0x43ac7b], al
and byte [esi + edi], 0
push edi
push esi
call fcn.0040bc57
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push dword [0x43aca8]
movzx eax, ax
push 0x7c9ffff
mov dword [0x43ac9c], eax
call fcn.0040b087
push esi
mov word [0x43ac8e], ax
call sub.MSVCRT.dll_strlen
add esp, 0xc
mov ecx, ebx
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
call fcn.00430672
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add dword [0x43acbc], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41065e
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
mov eax, 0x431a4c
call fcn.00430710
sub esp, 0x34
mov al, byte [0x43aca8]
push ebx
add byte [0x43ac7a], al
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 8], bl
jne 0x4107eb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x43aca4], 1
call edi
mov byte [0x43ac7e], al
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x28]
lea edx, [ebp - 0x10]
push edx
push 0x4355c8
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], ebx
call dword [ecx]
movsx eax, word [0x43ac8a]
push eax
push 0x1fb3ffff
call fcn.0040b087
add dword [0x43ac9c], eax
pop ecx
pop ecx
call edi
add byte [0x43ac7e], al
push 0x2e01ffff
movsx eax, byte [0x43ac7b]
push eax
call fcn.0040af32
add dword [0x43acac], eax
mov eax, dword [ebp - 0x10]
pop ecx
cmp eax, ebx
pop ecx
je 0x4107dc
or byte [0x43ac7e], 0xff
push dword [esi + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4107c2
movsx eax, word [0x43ac94]
push eax
mov word [0x43ac88], bx
movsx eax, byte [0x43ac7a]
push eax
call fcn.0040af6d
add byte [0x43ac79], al
mov eax, dword [esi + 0x30]
pop ecx
add eax, 4
pop ecx
lea edi, [esi + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
push 0x6327ffff
mov dword [0x43acbc], 0x1bffff
push dword [0x43aca0]
call fcn.0040b0ac
add dword [0x43acb4], eax
pop ecx
pop ecx
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
push edx
push dword [edi]
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
push ebx
push dword [esi + 0x30]
push edx
push 0xfffffffffffffffb
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x410796
mov byte [esi + 8], 1
mov esi, dword [esi + 0x28]
lea ecx, [ebp - 0x14]
push ecx
push 0x435588
mov eax, dword [esi]
push esi
call dword [eax]
test eax, eax
jne 0x4107c2
mov eax, dword [ebp - 0x14]
push 0xffffea77
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x5ccfffff
push 0x12e3ffff
call fcn.0040af94
pop ecx
mov word [0x43ac84], ax
mov eax, dword [ebp - 0x10]
pop ecx
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop edi
je 0x4107eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or al, 0xff
sub al, byte [0x43ac7b]
mov byte [0x43ac78], al
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add word [0x43ac82], ax
mov ecx, dword [ebp - 0xc]
or al, 0xff
pop esi
sub al, byte [0x43ac94]
pop ebx
mov dword fs:[0], ecx
add byte [0x43ac7d], al
leave
ret
Function at 0x410efe
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [0x43ac7a]
push esi
push edi
push 0x8c21ffff
mov esi, ecx
push eax
call fcn.0040af94
add word [0x43ac94], ax
pop ecx
pop ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
add byte [0x43ac79], al
call dword [sym.imp.USER32.dll_GetInputState]
mov edi, dword [ebp + 0xc]
mov byte [0x43ac7a], al
test edi, edi
je 0x41104a
push dword [0x43ac98]
inc word [0x43ac88]
push 0x9e07ffff
call fcn.0040b037
add dword [0x43aca8], eax
movsx eax, byte [0x43ac7d]
push eax
push dword [0x43acac]
call fcn.0040b002
add word [0x43ac82], ax
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
test eax, eax
je 0x410fb7
mov ecx, dword [ebp + 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
movsx ecx, byte [0x43ac80]
mov edx, dword [0x43aca0]
dec word [0x43ac84]
mov esi, eax
lea ecx, [edx + ecx - 0x510c0001]
mov dword [0x43aca0], ecx
jmp 0x410fb9
xor esi, esi
movsx eax, word [0x43ac8a]
push 0xe0ebffff
push eax
call fcn.0040af32
pop ecx
mov word [0x43ac88], ax
neg ax
pop ecx
mov word [0x43ac82], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [0x43ac8a], ax
lea eax, [ebp + 0xc]
dec word [0x43ac86]
push eax
push 0
push esi
push 0x410e1a
push 0
push 0
push 0x3d
mov dword [0x43acac], 1
call fcn.0040f588
pop ecx
call eax
push eax
push 0x36
call fcn.0040f588
pop ecx
call eax
mov eax, dword [0x43ac9c]
push dword [0x43acb8]
add eax, 0x31bdffff
push 0xa99dffff
mov dword [0x43acb0], eax
call fcn.0040b0ac
add byte [0x43ac80], al
pop ecx
pop ecx
jmp 0x4110d2
movsx eax, word [0x43ac8a]
imul eax, eax, 0x8d6bffff
mov dword [0x43acbc], eax
movsx eax, byte [0x43ac80]
push eax
movsx eax, byte [0x43ac81]
push eax
call fcn.0040b0f0
pop ecx
mov dword [0x43acb4], eax
mov ax, word [0x43acb8]
pop ecx
push dword [ebp + 8]
sub word [0x43ac88], ax
mov ecx, esi
call fcn.00410db1
mov ax, word [0x43acb8]
push 0x9d59ffff
add ax, word [0x43ac94]
push 0x92adffff
mov word [0x43ac86], ax
call fcn.0040aeeb
push dword [0x43acb8]
mov dword [0x43acbc], eax
movsx eax, byte [0x43ac81]
push eax
call fcn.0040b002
add esp, 0x10
add byte [0x43ac7e], al
push 0xe87dffff
push 0x891ffff
call fcn.0040b037
pop ecx
mov word [0x43ac94], ax
pop ecx
pop edi
pop esi
pop ebp
ret 8

Function at 0x411bcc
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x431b24
call fcn.00430710
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3c]
push ebx
push 0x40
mov dword [ebp - 0x10], ebx
call fcn.0040f588
pop ecx
call eax
mov al, byte [0x43aca8]
and dword [ebp - 4], 0
add byte [0x43ac7a], al
push dword [esi + 0x38]
call fcn.0041199e
mov edi, dword [esi + 0x38]
pop ecx
test edi, edi
je 0x411c1e
mov ecx, edi
call fcn.00403ec0
push edi
call fcn.00430672
and dword [esi + 0x38], 0
pop ecx
push dword [esi + 0x38]
call fcn.0041199e
pop ecx
mov dword [0x43aca4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
mov byte [0x43ac7e], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41751b
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 4
push 0x3e
mov dword [ebp - 8], eax
call fcn.0040f588
pop ecx
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x4175c4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x4175bd
push esi
cmp dword [ebp - 0x24], 0x10
jb 0x4175a7
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jne 0x4175a7
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], eax
je 0x4175a7
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x4175a7
cmp byte [ebp + 8], 0
push esi
je 0x417596
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x41759c
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
push 0x36
call fcn.0040f588
pop ecx
call eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x41755f
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret

Function at 0x417619
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push 0x8c45ffff
push 0xc26dffff
mov dword [0x43acac], eax
call fcn.0040af94
mov byte [0x43ac7e], al
or eax, 0xffffffff
sub eax, dword [0x43ac98]
push 0xc7bbffff
mov word [0x43ac8a], ax
movsx eax, word [0x43ac8e]
push eax
call fcn.0040aeeb
add byte [0x43ac7b], al
push 0x24
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x9c
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x2717ffff
push 0xe37bffff
call fcn.0040b087
mov dword [0x43ac9c], eax
mov al, byte [0x43ac88]
sub byte [0x43ac78], al
add dword [0x43acbc], 0x35160000
movsx eax, word [0x43ac8c]
push 0xedcdffff
push eax
mov dword [ebp - 0x9c], 0x9c
call fcn.0040aeeb
add dword [0x43acb0], eax
add esp, 0x38
dec byte [0x43ac81]
lea eax, [ebp - 0x9c]
push eax
push 0x4d
call fcn.0040f588
pop ecx
call eax
test eax, eax
jne 0x417768
mov al, byte [0x43ac82]
or al, byte [0x43ac7f]
add byte [0x43ac7f], al
movsx eax, byte [0x43ac79]
push eax
push 0x2e11ffff
call fcn.0040aeeb
add word [0x43ac88], ax
pop ecx
pop ecx
lea eax, [ebp - 0x9c]
push eax
push 0x4d
mov dword [ebp - 0x9c], 0x94
call fcn.0040f588
pop ecx
call eax
test eax, eax
je 0x417790
movsx eax, word [0x43ac92]
push 0xfa55ffff
push eax
call fcn.0040b037
add word [0x43ac86], ax
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x43acbc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x98], 6
mov word [0x43ac8a], ax
jb 0x417781
mov al, 1
leave
ret
movsx ax, byte [0x43ac7b]
inc eax
mov word [0x43ac88], ax
xor al, al
leave
ret
Function at 0x4197a6
Capabilities:
Identify system language via api

Disassembly:
movsx eax, byte [0x43ac7e]
push esi
push eax
mov esi, ecx
push 0x6c1ffff
call fcn.0040af32
add dword [0x43aca4], eax
mov al, byte [0x43ac92]
sub byte [0x43ac7b], al
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0041c81e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push dword [0x43aca8]
movzx eax, ax
push 0x7c9ffff
mov dword [0x43ac9c], eax
call fcn.0040b087
pop ecx
mov word [0x43ac8e], ax
pop ecx
pop esi
ret 4
Function at 0x420a7a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 0x21e1ffff
push 0xea19ffff
call fcn.0040af32
push 0x5c15ffff
push 0xa203ffff
mov byte [0x43ac7b], al
call fcn.0040afcb
push 0x129bffff
mov word [0x43ac90], ax
push dword [0x43acac]
call fcn.0040aeeb
push dword [0x43acb0]
add dword [0x43aca4], eax
push 0xb10dffff
call fcn.0040b002
add esp, 0x20
mov word [0x43ac8e], ax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsx eax, word [0x43ac8e]
push 0xdc9ffff
push eax
call fcn.0040afcb
push dword [0x43aca4]
mov byte [0x43ac7d], al
push 0xe3b1ffff
call fcn.0040aeeb
mov esi, dword [ebp + 8]
mov word [0x43ac92], ax
mov eax, esi
xor edx, edx
div dword [ebp - 0x24]
movsx eax, word [0x43ac88]
push 0x13b3ffff
push eax
mov edi, edx
call fcn.0040b0ac
add byte [0x43ac7a], al
add esp, 0x18
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov cx, word [0x43ac8a]
sub esi, edi
dec cx
mov word [0x43ac8a], 1
add ax, cx
mov word [0x43ac86], ax
movsx eax, byte [0x43ac7e]
and eax, dword [0x43acbc]
mov dword [0x43acb4], eax
movsx eax, word [0x43ac90]
or eax, dword [0x43aca0]
add dword [0x43aca8], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push 0x40
push eax
push esi
push 0x5e
call fcn.0040f588
pop ecx
call eax
pop edi
pop esi
leave
ret
Function at 0x4231b5
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov eax, dword [esi + 8]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
or byte [0x43ac7e], 0xff
mov edi, eax
mov eax, dword [esi + 4]
pop ecx
cmp eax, ebx
jne 0x4231de
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push eax
push 0x23
call fcn.0040f588
pop ecx
call eax
test eax, eax
je 0x423247
movsx eax, word [0x43ac94]
push eax
mov word [0x43ac88], bx
movsx eax, byte [0x43ac7a]
push eax
call fcn.0040af6d
add byte [0x43ac79], al
push edi
call sub.MSVCRT.dll_strlen
add esp, 0xc
mov ecx, esi
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push 0x6327ffff
mov dword [0x43acbc], 0x1bffff
push dword [0x43aca0]
call fcn.0040b0ac
add dword [0x43acb4], eax
pop ecx
pop ecx
mov bl, 1
push 0x5ccfffff
push 0x12e3ffff
call fcn.0040af94
push edi
mov word [0x43ac84], ax
call fcn.00430672
or al, 0xff
add esp, 0xc
sub al, byte [0x43ac7b]
mov byte [0x43ac78], al
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add word [0x43ac82], ax
or al, 0xff
sub al, byte [0x43ac94]
pop edi
pop esi
add byte [0x43ac7d], al
mov al, bl
pop ebx
ret