joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
jmp 0x4676aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4676b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4676a0
mov eax, 1
add ebx, ebx
jne 0x4676c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4676d4
jne 0x4676f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4676f3
dec eax
add ebx, ebx
jne 0x4676e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4676b8
add ebx, ebx
jne 0x4676ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467745
xor ecx, ecx
sub eax, 3
jb 0x46770b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46777a
sar eax, 1
mov ebp, eax
jmp 0x467716
add ebx, ebx
jne 0x467716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4676e4
inc ecx
add ebx, ebx
jne 0x467724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4676e4
add ebx, ebx
jne 0x467731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x467726
jne 0x467742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x467726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467756
jmp 0x4676a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467764
add edi, ecx
jmp 0x4676a6
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467782
cmp byte [edi], 0
jne 0x467782
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x467787
mov ebp, dword [esi + 0x676d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4677e2
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x4010a0
Capabilities:
Read file on windows
Terminate process

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4010cf
mov eax, dword [0x403490]
push eax
call fcn.00401040
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ebp, dword [esp + 0x820]
mov edi, dword [sym.imp.MSVCRT.dll_fflush]
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
test ebp, ebp
jne 0x401157
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov edx, dword [esp + 0x81c]
add ecx, 0x20
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fputs]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jne 0x401133
mov edx, dword [0x403490]
push edx
call fcn.00401040
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [esp + 0x14]
and al, 0xfb
push eax
push esi
call ebx
test eax, eax
jne 0x401157
mov eax, dword [0x403490]
push eax
call fcn.00401040
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x20]
push 0x800
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401189
mov eax, dword [0x403490]
push eax
call fcn.00401040
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
test ebp, ebp
jne 0x4011ac
mov ecx, dword [esp + 0x14]
push ecx
push esi
call ebx
push 0xa
call dword [sym.imp.MSVCRT.dll_putchar]
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x20
push edx
call edi
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4011d0
cmp byte [esp + eax + 0x17], 0xa
jne 0x4011c0
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x4011d0
cmp byte [esp + eax + 0x17], 0xd
jne 0x4011d0
dec eax
mov dword [esp + 0x10], eax
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x828]
add esp, 4
test eax, eax
mov dword [edx], eax
jne 0x4011ff
mov eax, dword [0x403490]
push eax
call dword [sym.imp.MSVCRT.dll_perror]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x828]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov byte [ecx + edx], 0
mov ecx, dword [esp + 8]
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x808
ret
Function at 0x401240
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, 0x403034
test eax, eax
jne 0x401254
mov edi, 0x40302c
mov esi, dword [esp + 0xc]
push eax
push 0
push 0
push esi
call dword [sym.imp.libsasl.dll_sasl_errstring]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add esp, 0xc
add ecx, 0x40
push eax
mov eax, dword [0x403490]
push eax
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
test esi, esi
jge 0x401288
neg esi
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push edi
mov edi, dword [0x403494]
test edi, edi
je 0x40130d
mov eax, dword [esp + 0x10]
push ebx
push esi
mov esi, 0x403040
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4012de
test cl, cl
je 0x4012da
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4012de
add eax, 2
add esi, 2
test cl, cl
jne 0x4012b6
xor eax, eax
jmp 0x4012e3
sbb eax, eax
sbb eax, 0xffffffff
pop esi
pop ebx
test eax, eax
jne 0x40130d
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test edx, edx
mov dword [eax], edi
je 0x401309
mov edi, dword [0x403494]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx], ecx
xor eax, eax
pop edi
ret
or eax, 0xffffffff
pop edi
ret
Function at 0x4183a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cba83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [fcn.005ea328]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x418420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cba83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x5ea32c]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x420750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cc383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [fcn.005ea328]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x423e60
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x644904]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x108], bl
mov ecx, 0x40
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.shlwapi.dll_PathRemoveFileSpecA]
xor eax, eax
mov byte [ebp - 0x20c], bl
mov ecx, 0x40
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea edx, [ebp - 0x108]
stosb byte es:[edi], al
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcr71.dll_strncpy]
add esp, 0xc
push 0x5f033c
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.shlwapi.dll_PathAppendA]
mov byte [ebp - 0x310], bl
xor eax, eax
mov ecx, 0x40
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
lea ecx, [esi + 0x34]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
lea edx, [ebp - 0x20c]
push edx
push 0x5f0328
lea eax, [ebp - 0x310]
push 0x104
push eax
call dword [sym.imp.msvcr71.dll__snprintf]
add esp, 0x18
lea ecx, [ebp - 0x108]
push ecx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x320], edx
mov ecx, 0x11
lea edi, [ebp - 0x364]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x318], edx
lea eax, [ebp - 0x320]
mov dword [esi + 0x50], ebx
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x364], 0x44
mov dword [ebp - 0x338], 1
mov word [ebp - 0x334], 5
push eax
lea ecx, [ebp - 0x364]
push ecx
lea edx, [ebp - 0x108]
push edx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x310]
push eax
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x423fd7
mov ecx, dword [ebp - 0x320]
mov dword [esi + 0x50], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.005c8895
mov esp, ebp
pop ebp
ret 4
Function at 0x429510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccd76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
lea ebx, [esi + 0x38]
mov ecx, ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.00427100
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x42956a
push eax
call sub.msvcr71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.00427100
mov dword [esi + 4], edi
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x42958d
push eax
call sub.msvcr71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e7d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x644904]
mov ecx, dword [0x64546c]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.shlwapi.dll_PathRemoveFileSpecA]
push 0x5f18cc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.shlwapi.dll_PathAppendA]
lea ecx, [ebp - 0x108]
push 4
push ecx
call dword [sym.imp.msvcr71.dll__access]
add esp, 8
test eax, eax
je 0x42e840
mov eax, 1
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
push esi
push edi
xor eax, eax
mov byte [ebp - 0x20c], 0
mov ecx, 0x40
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [ebp - 0x108]
push edx
push 0x5f18c4
stosb byte es:[edi], al
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.msvcr71.dll__snprintf]
add esp, 0x10
xor eax, eax
mov ecx, 0x11
lea edi, [ebp - 0x264]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
lea eax, [ebp - 0x264]
push eax
push ecx
push ecx
push 0x4000000
push ecx
push ecx
push ecx
mov dword [ebp - 0x210], ecx
lea ecx, [ebp - 0x20c]
push ecx
mov esi, 1
push 0
mov dword [ebp - 0x264], 0x44
mov dword [ebp - 0x238], esi
mov word [ebp - 0x234], si
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
jne 0x42e8fc
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x21c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x21c]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x218]
push eax
call esi
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp ecx, 0xc0de
mov ecx, dword [ebp - 4]
pop edi
setne al
pop esi
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x42e960
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x644904]
push ebx
mov ebx, dword [sym.imp.msvcr71.dll__snprintf]
push esi
mov dword [ebp - 4], eax
push edi
xor esi, esi
lea esp, [esp]
xor eax, eax
mov byte [ebp - 0x44], 0
mov ecx, 0xf
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x5f1904
push 0x5f18f4
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push 0x40
push eax
call ebx
add esp, 0x14
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
mov dword [0x645218], eax
je 0x42ea23
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42ea48
mov edx, dword [0x645218]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
inc esi
cmp esi, 2
mov dword [0x645218], 0
jl 0x42e980
push 0x40
push 0
call fcn.0048cf40
add esp, 4
push eax
push 3
call fcn.0048cf40
add esp, 4
push eax
call dword [sym.imp.user32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.tengine.dll_int___cdecl_TD_MessageBoxW_struct_HWND_____wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
push 0x10
push 0x5f18ec
push 0x5f18d8
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov eax, dword [0x645218]
test eax, eax
je 0x42e9ea
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.005c8895
mov esp, ebp
pop ebp
ret

Function at 0x42ea70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42eac4
cmp byte [esi], 0
je 0x42eac4
mov ecx, esi
push edi
mov eax, 0xffffffff
lea edi, [ecx + 1]
jmp 0x42ea90
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42ea90
sub ecx, edi
xor edx, edx
test ecx, ecx
jle 0x42eac0
push ebx
movzx edi, byte [edx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
mov ebx, dword [edi*4 + 0x63e4b0]
shr eax, 8
xor eax, ebx
inc edx
cmp edx, ecx
jl 0x42eaa0
pop ebx
pop edi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x42f180
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.msvcr71.dll_strstr]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5f1a70
push edi
call ebx
mov esi, eax
neg esi
sbb esi, esi
push 0x5f1a68
push edi
neg esi
call ebx
test eax, eax
setne al
push 0x5f1a60
push edi
mov byte [0x645474], al
call ebx
add esp, 0x18
test eax, eax
setne cl
pop edi
test esi, esi
pop esi
mov byte [0x645475], cl
pop ebx
jne 0x42f1f2
mov al, byte [0x645474]
test al, al
je 0x42f1f4
mov edx, dword [0x64546c]
push 0
push 0x42ead0
push 0
push 0x83
push edx
call dword [sym.imp.user32.dll_DialogBoxParamA]
pop ebp
ret
push 0x10
push 0
call fcn.0048cf40
add esp, 4
push eax
push 2
call fcn.0048cf40
add esp, 4
push eax
push 0
call dword [sym.imp.tengine.dll_int___cdecl_TD_MessageBoxW_struct_HWND_____wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0x10
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x42f220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1a78
push 0x5c8ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x5f18b4
push 0x3a8
push 0x5f18a4
push 0x5f1898
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov dword [0x63ea74], eax
call fcn.0042e960
test eax, eax
je 0x42f31b
mov esi, dword [ebp + 0x10]
push esi
call fcn.0042f180
add esp, 4
mov al, byte [0x645475]
test al, al
je 0x42f2b3
mov eax, dword [ebp + 8]
mov dword [0x64546c], eax
call fcn.0042e7d0
test eax, eax
je 0x42f305
call fcn.004931c0
mov ecx, dword [0x645814]
push ecx
call fcn.004915e0
add esp, 4
call fcn.004920d0
jmp 0x42f305
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x14]
push edx
push esi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042f0c0
add esp, 0x10
jmp 0x42f2fe
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x645218]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [0x645218], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45afc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x644904]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 4], eax
je 0x45afe1
test ebx, ebx
jne 0x45aff6
push 0x5f7c34
push 0x3c
push 0x5f7c1c
call dword [sym.imp.tengine.dll_void___cdecl_tThrowAssertException_char_const___int__char_const__]
add esp, 0xc
push edi
push 0x5f7c10
push 0x5f7c08
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.msvcr71.dll__snprintf]
add esp, 0x14
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.shlwapi.dll_PathFileExistsA]
test eax, eax
je 0x45b04e
push 0
lea edx, [ebp - 0x108]
push edx
mov ecx, ebx
call fcn.00573150
test al, al
je 0x45b04e
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x645868]
push esi
push edx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x10c], 0
mov eax, dword [ecx]
push edi
call dword [eax + 0x38]
mov esi, eax
test esi, esi
jbe 0x45b0b5
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x10c]
push edi
lea ecx, [esi + eax + 1]
push ecx
push eax
mov ecx, ebx
call fcn.00573010
mov ecx, dword [0x645868]
mov edx, dword [ecx]
movzx edi, al
mov eax, dword [ebp - 0x10c]
push esi
push eax
call dword [edx + 0x3c]
pop esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor eax, eax
pop ebx
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x480910
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
push edi
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x10]
push ecx
push 0x5fbd14
push 0x5fbce4
push 0x80000002
xor esi, esi
call dword [sym.imp.shlwapi.dll_SHGetValueA]
test eax, eax
mov eax, 1
je 0x48095a
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x480960
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x48
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x40
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shrd ecx, eax, 0xa
mov dword [esp], ecx
shr eax, 0xa
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 4], eax
and ecx, 0x80000000
fild qword [esp]
mov dword [esp + 4], ecx
mov dword [esp], 0
fild qword [esp]
fchs
faddp st(1)
fmul dword [0x5fbd28]
add esp, 0x48
ret

Function at 0x486d90
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.kernel32.dll_SetEvent]
mov ecx, dword [esi + 8]
push 0x3e8
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x486dc6
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
ret

Function at 0x486ec1
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x18]
mov dword [esi], 0x5fcb24
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ebx, dword [sym.imp.kernel32.dll_CreateEventA]
push 0
push 0
push 1
lea edi, [esi + 4]
push 0
mov dword [edi], 0
mov dword [esi + 8], 0
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 0xc], eax
call ebx
push edi
push 0
push esi
push 0x486dd0
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.msvcr71.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
pop ebx
ret