joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1640
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e8691
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x4b167d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004dcf76
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004dc2be
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.004aa5f0
lea ecx, [esp + 8]
call fcn.004dd221
lea ecx, [esp + 0x30]
call fcn.004dc422
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004dc2be
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.004aaa60
lea ecx, [esp + 0x74]
call fcn.004dc422
lea ecx, [esp + 8]
call fcn.004dd222
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.004a8290
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.004aa590
mov ecx, esi
call fcn.004ab0e0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.004aa590
mov ecx, esi
call fcn.004ab0e0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.004aa590
mov ecx, esi
call fcn.004ab0e0
mov ecx, dword [edi + 0x5c]
call fcn.004a7a60
push eax
mov ecx, esi
call fcn.004a7a70
mov ecx, dword [edi + 0x5c]
call fcn.004a8030
push eax
mov ecx, esi
call fcn.004a7fd0
mov ecx, dword [edi + 0x5c]
call fcn.004a8150
push eax
mov ecx, esi
call fcn.004a8100
mov ecx, dword [edi + 0x5c]
push 0
call fcn.004a7340
push eax
mov ecx, esi
call fcn.004a7350
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.004dc39a
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.004dc39a
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004dd03b
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x4b2ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e88b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004d3001
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004d3001
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004b3a00
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4b3a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e8990
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004df1bc
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4b3a83
xor al, al
jmp 0x4b3baf
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4b3aa5
xor al, al
jmp 0x4b3baf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4b3ab8
xor al, al
jmp 0x4b3baf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4b3acc
xor al, al
jmp 0x4b3baf
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004d30c6
test eax, eax
jne 0x4b3b00
xor al, al
jmp 0x4b3baf
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x70727c
mov dword [esp + 0x20], ebp
call fcn.004df1bc
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004dbf73
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004dbfca
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4b3b94
mov ax, word [ebx]
test ax, ax
je 0x4b3b86
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004b3bd0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4b3b6a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004dbfca
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4b4110
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004dd65f
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4b4156
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004c3314
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x726efc
push ecx
call fcn.004c4de1
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4b881a
Capabilities:
Accept command line arguments
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, 0x726eff
test word cs:[0x4b8c30], 4
jne 0x4b8836
jmp 0x4b8c4e
jmp 0x4b8c4e
cmp dword [ebp + 0xc], 1
jne 0x4b8c97
call fcn.004b8954
lea eax, [ebx + 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call fcn.004b89fa
mov dword [ebx + 0x29c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2a8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x2b0], eax
call fcn.004b883b
jb 0x4b8cf2
inc word [ebx + 0x2a4]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2ac], eax
cmp eax, 2
jne 0x4b8caa
call fcn.004b8aeb
push ebx
call fcn.004b88ae
pop ebx
cmp dword [ebx + 0x2ac], 3
jne 0x4b8cbf
call fcn.004b8b25
cmp dword [ebx + 0x2ac], 0
jne 0x4b8cf2
mov ecx, dword [ebx + 0xd8]
call fcn.004b8d00
mov ecx, dword [ebx + 0xb0]
jecxz 0x4b8ce2
push ecx
call dword [pe_dos_header]
mov edi, dword [ebx + 0x2d8]
call fcn.004b88b3
call fcn.004b889a
movzx eax, word [ebx + 0x2a4]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4b883b
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
stc
je 0x4b8899
mov dword [ebx + 0x28c], eax
mov dword [ebx + 0x294], 0
mov dword [ebx + 0x290], 0
call fcn.004b8aeb
jb 0x4b8899
mov dword [ebx + 0x290], eax
mov dword [eax + 0x78], 8
call fcn.004b8888
dec ebp
push ebx
and byte [ebx + 0x61], dl
outsb dx, byte [esi]
jae 0x4b88a2
push ebx
jb 0x4b88ef
add byte [esi - 4], bl
mov bl, 0x8c
add al, byte [eax]
add bh, bh
adc eax, sym.imp.KERNEL32.dll_TlsFree
ret

Function at 0x4d745f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d7497
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d5504
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d54dc
jmp 0x4d74a3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d8c62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d8ca4
call fcn.004df1bc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d8ca4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d8c9b
xor eax, eax
jmp 0x4d8cac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d8cb2
pop edi
pop esi
pop ebx
ret 4
Function at 0x4df6ec
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4df71a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4df738
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004df652
jmp 0x4df738
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4df738
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004df652
test edi, edi
mov eax, edi
jne 0x4df722
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405a80
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.00403b40
mov eax, dword [0x40bcb8]
push eax
call dword [sym.imp.HxPlayerSDK.dll_HX_PLAYER_CloseStream]
mov eax, dword [esi + 0xd4]
xor edi, edi
cmp eax, edi
je 0x405aaf
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0xd4], edi
cmp dword [esi + 0xd0], edi
je 0x405b32
mov ecx, dword [esi + 0xc8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_SetEvent]
push ecx
call ebp
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
test eax, eax
je 0x405b02
cmp edi, 4
je 0x405b02
cmp dword [esp + 0x10], 0x103
jne 0x405b17
mov ecx, dword [esi + 0xc8]
push ecx
call ebp
push 2
call ebx
jmp 0x405b11
mov edx, dword [esi + 0xd0]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
inc edi
cmp edi, 5
jl 0x405ace
mov eax, dword [esi + 0xd0]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
mov dword [esi + 0xd0], 0
xor edi, edi
pop ebx
mov eax, dword [esi + 0xcc]
cmp eax, edi
je 0x405b49
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0xcc], edi
mov eax, dword [esi + 0xc8]
cmp eax, edi
je 0x405b60
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0xc8], edi
mov ecx, esi
call fcn.00405d90
pop edi
pop esi
pop ecx
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret
Function at 0x42a96d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x44b828
cmp edx, dword [eax]
je 0x42a98f
add eax, 8
inc ecx
cmp eax, 0x44b8b8
jl 0x42a980
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x44b828]
jne 0x42aabd
mov eax, dword [0x472b30]
cmp eax, 1
je 0x42aa97
test eax, eax
jne 0x42a9c0
cmp dword [0x44b294], 1
je 0x42aa97
cmp edx, 0xfc
je 0x42aabd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42a9f7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042dd10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00427850
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42aa3a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00427850
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x433d3c
push edi
call fcn.00427cd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042dd10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042dd20
lea eax, [ebp - 0xa0]
push 0x433d1c
push eax
call fcn.0042dd20
push dword [esi + 0x44b82c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042dd20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042e467
add esp, 0x2c
pop edi
jmp 0x42aabd
lea eax, [ebp + 8]
lea esi, [esi + 0x44b82c]
push 0
push eax
push dword [esi]
call fcn.00427850
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4010a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2cf0000
push 0x41e028
push 0x41e090
push 0
mov dword [0x41e020], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x4010d8
pop esi
ret
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [section.SHARED], esi
mov eax, 1
pop esi
ret
Function at 0x404370
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [str.SOFTWAREKWMUSIC]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 1
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4043f2
mov ecx, dword [str.KWMUSIC_HOME]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4043e7
mov byte [esi], 0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043f7
sub eax, edx
mov dword [esp + 0x18], eax
jne 0x40440d
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
pop edi
mov byte [esi + ebx - 1], 0
pop esi
mov al, 1
pop ebx
pop ecx
ret

Function at 0x404420
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x144
push esi
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push 0x104
push eax
xor esi, esi
call fcn.00404370
add esp, 8
test al, al
je 0x4044c7
lea edi, [esp + 0x48]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404452
mov ecx, dword [str.loading_ad_ad.ini]
mov edx, dword [0x4188e4]
mov eax, dword [0x4188e8]
mov dword [edi], ecx
mov ecx, dword [0x4188ec]
mov dword [edi + 4], edx
mov dx, word [0x4188f0]
mov dword [edi + 8], eax
mov al, byte [0x4188f2]
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x48]
push ecx
push 0x40
mov word [edi + 0x10], dx
lea edx, [esp + 0x10]
push edx
push 0
push 0x4188dc
push str.FlashMessage
mov byte [edi + 0x12], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4044c7
lea eax, [esp + 8]
push eax
call fcn.0040cd46
add esp, 4
pop edi
pop esi
add esp, 0x144
ret
pop edi
mov eax, esi
pop esi
add esp, 0x144
ret
Function at 0x404650
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4171a6
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push esi
push edi
mov esi, 0x10
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.00404370
add esp, 8
test al, al
jne 0x4046ac
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret
push ebx
xor ebx, ebx
lea eax, [esp + 0x84]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4046d0
sub eax, edx
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401970
push str._facekwc.img
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x19c], ebx
call fcn.00401b80
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 1
call fcn.00401880
cmp dword [esp + 0x40], esi
mov byte [esp + 0x190], bl
jb 0x404738
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0040c868
add esp, 4
cmp dword [esp + 0x24], esi
mov eax, dword [esp + 0x10]
jae 0x404746
lea eax, [esp + 0x10]
push eax
push 0x3f
lea edx, [esp + 0x4c]
push edx
push ebx
push str.Version
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x404790
cmp dword [esp + 0x24], esi
jb 0x404776
mov eax, dword [esp + 0x10]
push eax
call fcn.0040c868
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
add esp, 0x188
ret
lea eax, [esp + 0x44]
mov byte [esp + 0x83], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4047a0
sub eax, edx
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1a0]
call fcn.00401970
cmp dword [esp + 0x24], esi
jb 0x4047ce
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c868
add esp, 4
mov ecx, dword [esp + 0x188]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x188
ret
Function at 0x404890
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4171c0
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
call fcn.00404420
mov esi, dword [esp + 0x8c]
cmp esi, eax
jae 0x404a3f
push edi
xor edi, edi
push edi
push 0x418454
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
call fcn.00401970
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x8c], edi
call fcn.004047f0
mov ecx, dword [esp + 0x24]
add esp, 4
push edi
push 0x418454
push ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.004045a0
test eax, eax
jne 0x40493b
cmp dword [esp + 0x24], 0x10
jb 0x404925
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c868
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], eax
push esi
push ecx
mov dword [esp + 0x84], eax
call fcn.0040ac50
push eax
lea edx, [esp + 0x34]
push str.FlashGroup
push edx
mov byte [esp + 0x9c], 1
call fcn.00401ad0
mov ecx, dword [esp + 0x38]
mov esi, 0x10
add esp, 0x14
cmp ecx, esi
mov ecx, dword [esp + 0x10]
jae 0x40499b
lea ecx, [esp + 0x10]
cmp dword [eax + 0x18], esi
jb 0x4049a5
mov eax, dword [eax + 4]
jmp 0x4049a8
add eax, 4
push ebx
push ecx
push 0x20
lea ecx, [esp + 0x6c]
push ecx
push edi
push 0x4188dc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x44]
setne bl
cmp eax, esi
jb 0x4049d8
mov edx, dword [esp + 0x30]
push edx
call fcn.0040c868
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
jb 0x4049fc
mov eax, dword [esp + 0x4c]
push eax
call fcn.0040c868
add esp, 4
test bl, bl
pop ebx
je 0x404a12
lea ecx, [esp + 0x60]
push ecx
call fcn.0040cd46
add esp, 4
mov edi, eax
jmp 0x404a16
mov edi, dword [esp + 8]
cmp dword [esp + 0x24], esi
jb 0x404a29
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c868
add esp, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret