joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419995
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4215f4
call fcn.00420700
sub esp, 0x1ac
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
lea ecx, [esi + 4]
call fcn.004063af
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], ebx
call fcn.004063af
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.004063af
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.004063af
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
push str.KERNEL32.dll
mov dword [esi], 0x4222ac
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x45
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call dword [0x42d07c]
push ebx
push ebx
push 1
push ebx
call edi
or dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xac], eax
lea eax, [ebp - 0x14]
push 5
push eax
lea eax, [esi + 0xb0]
mov byte [esi + 0xb5], bl
mov ecx, dword [0x42d2a8]
push eax
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0x12], 0x47
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x75
call fcn.0040d7d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x419ab4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x42162c
call fcn.00420700
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4222ac
push str.gleObject
mov dword [ebp - 4], 3
call sub.MSVCRT.dll_strlen
mov edi, str.WaitForSin
mov ebx, eax
push edi
call sub.MSVCRT.dll_strlen
lea eax, [ebx + eax + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
push edi
push ebx
call sub.MSVCRT.dll_strcpy
push str.gleObject
push ebx
call sub.MSVCRT.dll_strcat
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [esi + 0xb5], 0
add esp, 0x1c
push ebx
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0xffffffffffffffff
push dword [esi + 0xa4]
call eax
cmp dword [esi + 0xa8], 0xffffffff
je 0x419b46
mov ecx, esi
call fcn.0041a563
and byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
push eax
push str.KERNEL32.dll
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x65
call edi
push eax
call ebx
push dword [esi + 0xa4]
mov edi, eax
call edi
push dword [esi + 0xac]
call edi
call dword [0x42d080]
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.00406400
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00406400
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call fcn.00406400
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00406400
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10009210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10047748
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x100600f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10009388
lea eax, [esi + 0x18]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1000925f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x80], 0
xor ebx, ebx
mov eax, dword [esi + 0x204]
shr eax, 2
mov dword [esp + 0x34], eax
test eax, eax
jle 0x1000936d
mov eax, dword [esi + 0x204]
test eax, eax
je 0x100092a5
mov ecx, dword [esi + 0x1fc]
test ecx, ecx
je 0x100092a5
test ebx, ebx
js 0x100092a5
shr eax, 2
cmp ebx, eax
jge 0x100092a5
mov eax, dword [ecx + ebx*4]
jmp 0x100092a7
xor eax, eax
movsd xmm0, qword [eax + 8]
movsd xmm2, qword [eax + 0x10]
comisd xmm2, xmm0
jbe 0x100092bc
movaps xmm0, xmm2
jmp 0x100092ca
movsd xmm1, qword [eax + 0x18]
comisd xmm0, xmm1
jbe 0x100092ca
movaps xmm0, xmm1
movsd xmm1, qword [eax + 0x18]
subsd xmm0, xmm2
subsd xmm1, xmm2
divsd xmm0, xmm1
movsd xmm1, qword [0x10052468]
divsd xmm1, qword [eax + 0x28]
call fcn.10044080
mov eax, dword [edi + 0x24]
shr eax, 2
cmp dword [edi + 0x24], 0
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x2c], eax
je 0x10009308
mov edi, dword [edi + 0x1c]
jmp 0x1000930a
xor edi, edi
test eax, eax
jle 0x1000935f
mov edi, edi
mov esi, dword [edi]
cmp dword [esi + 0x98], ebx
jne 0x10009329
mov eax, dword [esi]
sub esp, 8
mov ecx, esi
movsd qword [esp], xmm0
call dword [eax + 0x28]
push ebx
mov ecx, esi
call fcn.1000d9b0
cmp eax, 0xffffffff
jle 0x1000934c
movsd xmm0, qword [esp + 0x3c]
sub esp, 8
mov edx, dword [esi]
mov ecx, esi
movsd qword [esp], xmm0
push eax
call dword [edx + 0x4c]
movsd xmm0, qword [esp + 0x3c]
add edi, 4
dec dword [esp + 0x2c]
jne 0x10009310
mov esi, dword [esp + 0x30]
mov edi, dword [ebp + 8]
inc ebx
cmp ebx, dword [esp + 0x34]
jl 0x10009281
mov ecx, edi
call fcn.100079a0
lea eax, [esi + 0x18]
mov dword [esi + 0x1f8], edi
test eax, eax
je 0x10009388
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000afd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x12
mov dword [ebp - 4], edx
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 4]
test ax, ax
mov al, cl
sets bl
and al, 1
mov byte [esi], al
mov eax, ecx
shr eax, 1
and al, 1
mov byte [esi + 4], bl
mov byte [esi + 1], al
mov eax, ecx
shr eax, 2
and al, 1
shr ecx, 3
mov byte [esi + 2], al
and cl, 1
mov byte [esi + 3], cl
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000bd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov edx, esi
push edi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000bd40
sub edx, edi
lea eax, [esi - 1]
add eax, edx
cmp eax, esi
jbe 0x1000bd5c
cmp byte [eax], 0x2e
je 0x1000bd5c
dec eax
cmp eax, esi
ja 0x1000bd52
inc eax
push 0x10051920
push eax
call fcn.10043877
add esp, 8
test eax, eax
jne 0x1000bdc4
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 0x80]
push 0x10051db4
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1000bdc4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, 8
jb 0x1000bdc4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1000bdc4
push ecx
mov edx, ebx
mov ecx, eax
call fcn.1001c0e0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x1000c580
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100600f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0xb4], 0
jne 0x1000c661
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x1000c611
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [esi + 0xb4], eax
call edi
test eax, eax
jne 0x1000c5b4
mov byte [ebp - 0x84], al
lea eax, [ebp - 0x84]
push 0x80
push eax
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
pop edi
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c5f0
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push ecx
push eax
push 0
lea ecx, [esi + 0xb8]
call fcn.10003820
jmp 0x1000c661
cmp dword [esi + 0xc0], 0
je 0x1000c625
cmp dword [esi + 0xb8], 0
jne 0x1000c62c
jmp 0x1000c661
mov byte [0x10062a9c], 0
cmp dword [esi + 0xc0], 0
je 0x1000c65a
mov eax, dword [esi + 0xb8]
cmp byte [eax], 0
je 0x1000c661
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push 0x1000c440
mov dword [esi + 0xac], eax
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1000c661
mov byte [0x10062a9c], 0
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
xor ecx, ebp
pop esi
call fcn.1002bfb5
mov esp, ebp
pop ebp
ret
Function at 0x1000ccb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100600f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
lea esp, [esp]
cmp byte [ebp + eax - 0x104], 0
je 0x1000cd1f
cmp byte [ebp + eax - 0x103], 0
je 0x1000cd1e
cmp byte [ebp + eax - 0x102], 0
je 0x1000cd19
cmp byte [ebp + eax - 0x101], 0
je 0x1000cd14
add eax, 4
cmp eax, 0x100
jl 0x1000cce0
jmp 0x1000cd1f
add eax, 3
jmp 0x1000cd1f
add eax, 2
jmp 0x1000cd1f
inc eax
push ecx
push eax
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
push 0
call fcn.10003820
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002bfb5
mov esp, ebp
pop ebp
ret 4

Function at 0x1000cd50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100600f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x104]
push esi
mov esi, dword [ebp + 8]
push eax
push 0
push 0
je 0x1000cd7c
push 0x23
jmp 0x1000cd7e
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor eax, eax
jmp 0x1000cd90
cmp byte [ebp + eax - 0x104], 0
je 0x1000cdcf
cmp byte [ebp + eax - 0x103], 0
je 0x1000cdce
cmp byte [ebp + eax - 0x102], 0
je 0x1000cdc9
cmp byte [ebp + eax - 0x101], 0
je 0x1000cdc4
add eax, 4
cmp eax, 0x100
jl 0x1000cd90
jmp 0x1000cdcf
add eax, 3
jmp 0x1000cdcf
add eax, 2
jmp 0x1000cdcf
inc eax
push ecx
push eax
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
push 0
call fcn.10003820
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002bfb5
mov esp, ebp
pop ebp
ret 8

Function at 0x1000d1e0
Capabilities:
Check internet connectivity via wininet
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
test eax, eax
je 0x1000d204
push 4
push dword [ebp + 0xc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x1000d25a
push 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1000d241
push 1
push 0
push 0
push dword [ebp + 8]
push str.open
push dword [esi + 0x84]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x1000d241
mov al, 1
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000d25a
push 0
push dword [ebp + 0xc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
pop esi
pop ebp
ret 0x10
Function at 0x1000d3e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0xd
xor bl, bl
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1000d4d4
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000d4ca
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000d4ca
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x1000d4ca
push esi
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1000d436
push 0
push 0
push 0
sub esi, edx
push 0
sar esi, 1
inc esi
push esi
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
test eax, eax
jle 0x1000d4c0
inc eax
push edi
push eax
call fcn.1002bfac
add esp, 4
mov edi, eax
push 0
push 0
push dword [ebp - 4]
push edi
push esi
push dword [ebp - 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x1000d4b6
xor ecx, ecx
mov bl, 1
test edi, edi
je 0x1000d4a9
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x1000d4a0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d4a0
sub ecx, edx
push ecx
push ecx
mov ecx, dword [ebp + 8]
push edi
push 0
call fcn.10003820
push edi
call fcn.1002e950
add esp, 4
pop edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
test bl, bl
jne 0x1000d4e6
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0x1004da17
push 0
call fcn.10003820
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000dda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ecx + 0x84]
sub esi, dword [ecx + 0x7c]
push edi
mov edi, dword [ecx + 0x80]
sub edi, dword [ecx + 0x78]
mov dword [ecx + 0x78], eax
add eax, edi
mov dword [ecx + 0x80], eax
lea eax, [esi + edx]
mov esi, dword [ecx + 0x110]
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x84], eax
movdqu xmm0, xmmword [ecx + 0x78]
shr esi, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
movdqu xmmword [ecx + 0x88], xmm0
test esi, esi
jle 0x1000dedd
xor edi, edi
mov dword [esp + 0x18], edi
lea ebx, [ebx]
cmp byte [ecx + 0x118], 0
je 0x1000de6e
mov esi, dword [ecx + 0x78]
mov eax, dword [ecx + 0x80]
sub eax, esi
cdq
idiv dword [esp + 0x1c]
mov edx, eax
imul edx, dword [esp + 0x14]
add esi, edx
mov edx, dword [ecx + 0x7c]
add eax, esi
mov dword [esp + 0x20], esi
cmp dword [ecx + 0x110], 0
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x84]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
je 0x1000de64
mov eax, dword [ecx + 0x108]
movdqu xmm0, xmmword [esp + 0x20]
jmp 0x1000debc
movdqu xmm0, xmmword [esp + 0x20]
xor eax, eax
jmp 0x1000debc
mov eax, dword [ecx + 0x84]
sub eax, dword [ecx + 0x7c]
cdq
idiv esi
mov edx, dword [ecx + 0x78]
mov esi, eax
mov dword [esp + 0x30], edx
imul esi, dword [esp + 0x14]
mov edx, dword [ecx + 0x80]
mov dword [esp + 0x38], edx
add esi, dword [ecx + 0x7c]
add eax, esi
mov dword [esp + 0x34], esi
cmp dword [ecx + 0x110], 0
mov dword [esp + 0x3c], eax
je 0x1000deb0
mov eax, dword [ecx + 0x108]
jmp 0x1000deb2
xor eax, eax
movdqu xmm0, xmmword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
movdqu xmmword [edi + eax], xmm0
mov eax, dword [esp + 0x14]
add edi, 0x10
inc eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x1000de10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10011fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10013500
Function at 0x10013420
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x10061508]
test ecx, ecx
jns 0x10013472
lea eax, [ebp - 4]
push eax
push str.SoftwareWine
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1001346a
push dword [ebp - 4]
mov dword [0x10061508], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x10061508]
xor eax, eax
test ecx, ecx
setg al
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [0x10061508], ecx
xor eax, eax
test ecx, ecx
setg al
mov esp, ebp
pop ebp
ret
Function at 0x1001cec0
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x1001cee6
mov eax, dword [ecx + 0x74]
test al, 0x40
je 0x1001ced7
test eax, 0x400000
jne 0x1001cee6
jmp fcn.10024530
or eax, 0x4000
or dword [ecx + 0x78], 0x400
mov dword [ecx + 0x74], eax
ret

Function at 0x1001cef0
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x1001cf16
mov eax, dword [ecx + 0x74]
test al, 0x40
je 0x1001cf07
test eax, 0x400000
jne 0x1001cf16
jmp fcn.10024530
or eax, 0x4000
or dword [ecx + 0x78], 0x2001000
mov dword [ecx + 0x74], eax
ret

Function at 0x1001cf20
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x1001cf46
mov eax, dword [ecx + 0x74]
test al, 0x40
je 0x1001cf37
test eax, 0x400000
jne 0x1001cf46
jmp fcn.10024530
or eax, 0x4000
or dword [ecx + 0x78], 0x1000
mov dword [ecx + 0x74], eax
ret

Function at 0x1001cf50
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x1001cf95
mov eax, dword [ecx + 0x74]
test al, 0x40
je 0x1001cf67
test eax, 0x400000
jne 0x1001cf95
jmp fcn.10024530
or eax, 0x4000
mov dword [ecx + 0x74], eax
test al, 0x40
je 0x1001cf7f
test eax, 0x400000
jne 0x1001cf8e
jmp fcn.10024530
or eax, 0x4000
or dword [ecx + 0x78], 0x1000
mov dword [ecx + 0x74], eax
or dword [ecx + 0x78], 0x4000
ret

Function at 0x10020e00
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x10020e7b
test dword [ecx + 0x70], 0x8000
je 0x10020e28
or dword [ecx + 0x78], 0x8000
mov eax, 0xff
and dword [ecx + 0x74], 0xffffff7f
mov word [ecx + 0x15c], ax
ret
movzx eax, byte [ecx + 0x153]
sub eax, 0
je 0x10020e5d
sub eax, 2
je 0x10020e47
test dword [ecx + 0x74], 0x400000
jne 0x10020e7b
jmp fcn.10024530
or dword [ecx + 0x78], 0x8000
and dword [ecx + 0x74], 0xffffff7f
mov byte [ecx + 0x158], 4
ret
cmp byte [ecx + 0x154], 8
jb 0x10020e39
or dword [ecx + 0x78], 0x8000
and dword [ecx + 0x74], 0xffffff7f
mov byte [ecx + 0x158], 2
ret

Function at 0x10024530
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x1002455f
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x10024549
push 0x1004da17
push esi
call eax
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1002455f
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1002455f
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10024570
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x10024577
xor eax, eax
ret
mov eax, dword [ecx + 0x44]
test eax, eax
jne 0x1002458e
mov dword [ecx + 0x48], eax
mov eax, ecx
mov dword [ecx + 0x44], ecx
mov dword [ecx + 0x40], 0x1002f100
ret
mov edx, dword [ecx + 0x48]
test edx, edx
jne 0x1002459e
cmp eax, ecx
je 0x100245a3
jmp fcn.10024530
cmp edx, 0x40
jne 0x10024574
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x40], 0x1002f100
ret
Function at 0x10028820
Capabilities:
Terminate process

Disassembly:
test edx, edx
jle 0x1002885c
cmp edx, 0x19999999
ja 0x10028859
lea edx, [edx + edx*4]
add edx, edx
lea eax, [edx - 1]
cmp eax, 0xfffffffe
ja 0x10028859
test ecx, ecx
je 0x1002884f
mov eax, dword [ecx + 0x270]
test eax, eax
je 0x1002884f
push edx
push ecx
call eax
add esp, 8
ret
push edx
call fcn.1002c080
add esp, 4
ret
xor eax, eax
ret
jmp fcn.10024530
Function at 0x1002a630
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1002a63b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1002a650
Function at 0x1002b3e0
Capabilities:
Terminate process

Disassembly:
and edx, 0xb
jne 0x1002b405
test dword [ecx + 0x70], 0x8000
jne 0x1002b400
test dword [ecx + 0x74], 0x200000
je 0x1002b400
movzx edx, byte [ecx + 0x70]
and edx, 0xb
jne 0x1002b405
jmp fcn.10024530
mov eax, edx
neg eax
and eax, edx
cmp edx, eax
je 0x1002b41e
nop
not eax
and edx, eax
mov eax, edx
neg eax
and eax, edx
cmp edx, eax
jne 0x1002b410
mov al, dl
ret
Function at 0x401559
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1424
call fcn.00410c80
and byte [ebp - 0x24], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
and byte [ebp - 0x18], 0
lea esi, [ecx + 0x1c]
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ecx
mov ecx, esi
stosb byte es:[edi], al
call fcn.00401f9d
push dword [esi + 4]
mov ebx, str.Languages
push 1
push str.count
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, dword [ebp - 0xc]
and dword [ebp - 4], 0
test eax, eax
mov dword [edi + 0x5c], eax
jle 0x40160c
lea eax, [edi + 0x60]
mov dword [ebp - 8], eax
push dword [ebp - 4]
lea eax, [ebp - 0x24]
push str.key_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, esi
call fcn.00401f9d
push dword [esi + 4]
lea eax, [ebp - 0x18]
push 0xa
push eax
lea eax, [ebp - 0x24]
push str.0x0009
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x16]
push eax
call fcn.0040cf80
inc dword [ebp - 4]
pop ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], ax
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x5c]
jl 0x4015b8
mov ecx, esi
call fcn.00401f9d
push dword [esi + 4]
lea eax, [ebp - 0x18]
push 0xa
push eax
push str.0x0009
push str.Default
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x16]
push eax
call fcn.0040cf80
and byte [ebp - 0x424], 0
pop ecx
mov word [edi + 0x58], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
and dword [ebp - 4], 0
mov ecx, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00401f9d
push dword [esi + 4]
lea eax, [ebp - 0x424]
mov edi, 0x4155f0
push 0x400
push eax
push edi
push str.RequireExactLangMatch
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x424]
lea eax, [ebp - 0x424]
test ecx, ecx
lea ebx, [ebp - 0x424]
je 0x4016d5
mov ecx, dword [ebp - 0xc]
add ecx, 0x128
mov dword [ebp - 8], ecx
mov cl, byte [ebx]
test cl, cl
je 0x4016d5
cmp cl, 0x2c
je 0x4016b0
inc ebx
jmp 0x4016d1
and byte [ebx], 0
add eax, 2
push eax
call fcn.0040cf80
test eax, eax
pop ecx
je 0x4016ce
mov ecx, dword [ebp - 8]
inc dword [ebp - 4]
add dword [ebp - 8], 2
mov word [ecx], ax
inc ebx
mov eax, ebx
test ebx, ebx
jne 0x4016a2
add eax, 2
push eax
call fcn.0040cf80
test eax, eax
pop ecx
je 0x4016f1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2 + 0x128], ax
mov ecx, esi
call fcn.00401f9d
push dword [esi + 4]
lea eax, [ebp - 0x1424]
push 0x1000
push eax
push edi
push str.cmdline
push str.Startup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x1424]
push eax
call fcn.00401175
pop edi
pop esi
pop ebx
leave
ret