joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a5a5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, 0x47f360
push edi
push 0x2c
mov ecx, esi
call fcn.0041d2e3
push 0x28
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0041d2e3
xor edi, edi
mov dword [ebp - 0x18], eax
cmp eax, edi
mov dword [ebp - 8], edi
jle 0x41a712
mov esi, 0x47f5e0
mov ebx, 0x42cc50
lea ecx, [ebp - 0x14]
call fcn.0041c7ab
push 4
mov ecx, 0x47f738
push dword [ebp - 4]
call fcn.0041d704
push eax
lea ecx, [ebp - 0x14]
call fcn.0041d4ab
add dword [ebp - 4], 4
lea eax, [ebp - 0x11c]
push str..TTF
push eax
call fcn.0041e688
pop ecx
pop ecx
push 1
pop eax
mov dword [0x48028c], eax
mov dword [0x47f300], eax
mov eax, dword [0x4802fc]
cmp eax, edi
je 0x41a639
push eax
call fcn.004258de
pop ecx
push 4
call fcn.004258e9
pop ecx
mov dword [0x4802fc], eax
push edi
lea ecx, [ebp - 0x14]
call fcn.0041d2e3
add eax, dword [ebp - 4]
mov ecx, dword [0x4802fc]
push edi
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
call fcn.0041d2e3
push eax
lea eax, [ebp - 0x11c]
push dword [ebp - 4]
mov ecx, 0x47f738
push eax
call fcn.0041d704
push eax
call fcn.00401ac0
add esp, 0x10
test eax, eax
jne 0x41a719
push edi
lea ecx, [ebp - 0x14]
call fcn.0041d2e3
add dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push str..FOT
push eax
call fcn.0041e688
pop ecx
lea eax, [ebp - 0x11c]
pop ecx
push edi
push eax
lea eax, [ebp - 0x220]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceA]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceA]
lea eax, [ebp - 0x220]
push edi
push eax
mov ecx, esi
call fcn.0041ca2d
push edi
push ebx
mov ecx, esi
call fcn.0041ca2d
lea eax, [ebp - 0x11c]
push edi
push eax
mov ecx, esi
call fcn.0041ca2d
push edi
push ebx
mov ecx, esi
call fcn.0041ca2d
lea ecx, [ebp - 0x14]
call fcn.0041c8e1
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x41a5e5
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.0041c8e1
xor al, al
jmp 0x41a714

Function at 0x41a732
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x47f3cc
lea ecx, [ebp - 0xc]
call fcn.0041c87f
xor ebx, ebx
lea ecx, [ebp - 0xc]
push ebx
push str._inst_m
call fcn.0041ca2d
lea ecx, [ebp - 0xc]
call fcn.0041d704
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41a7af
mov ecx, 0x47f8c0
call fcn.0041d704
push eax
push str.AstrumInstaller
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, ebx
je 0x41a7ad
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41a7a6
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov bl, 1
lea ecx, [ebp - 0xc]
call fcn.0041c8e1
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41a874
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push ebx
lea eax, [ebp - 4]
push esi
xor ebx, ebx
push eax
push 0x20019
push ebx
mov ecx, 0x47f5fc
mov dword [ebp - 4], ebx
call fcn.0041d704
push eax
push dword [0x47f5f8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a8ee
push edi
push 0x4d
pop ecx
lea edi, [ebp - 0x19f]
mov byte [ebp - 0x1a0], bl
mov dword [ebp - 0x14], 0x136
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push ebx
push str.AutorunCommand
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop edi
je 0x41a8f5
xor al, al
jmp 0x41a981
lea eax, [ebp - 0x1a0]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041c81b
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041c9c9
cmp al, 0x22
je 0x41a926
push ebx
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041d3e7
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041c9de
push 0x44
lea eax, [ebp - 0x68]
pop esi
push esi
push ebx
push eax
call fcn.00425010
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], esi
call fcn.00425010
add esp, 0x18
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
call fcn.0041d704
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41a977
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.0041c8e1
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41ba7b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x47f684], edi
mov esi, ecx
mov ebx, 0x42cc6c
je 0x41baf3
and byte [ebp - 0x110], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add esi, 0x124
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
call fcn.0041c8f8
mov eax, dword [esi]
mov ecx, esi
dec eax
push eax
call fcn.0041c9c9
cmp al, 0x5c
jne 0x41bb21
mov eax, dword [esi]
push 1
dec eax
mov ecx, esi
push eax
call fcn.0041cd8f
jmp 0x41bb21
add esi, 0x124
push 0x47f738
mov ecx, esi
call fcn.0041c966
push 1
push edi
push ebx
mov ecx, esi
call fcn.0041d1c1
push eax
push edi
mov ecx, esi
call fcn.0041d67b
push eax
mov ecx, esi
call fcn.0041c966
cmp dword [0x47f684], 0
je 0x41bbbf
and byte [ebp - 0x110], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0xc]
push eax
call fcn.0041c81b
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041d1c1
cmp eax, 0xffffffff
je 0x41bbb7
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041cd8f
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041d1c1
cmp eax, 0xffffffff
je 0x41bbb7
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041cd8f
lea eax, [ebp - 0xc]
mov ecx, 0x47f698
push eax
call fcn.0041c966
lea ecx, [ebp - 0xc]
jmp 0x41bc7d
and byte [ebp - 0x110], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x110], 0
je 0x41bc82
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x111], 0x5c
je 0x41bc1a
lea eax, [ebp - 0x110]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0xc]
and esi, 0x7fffffff
call fcn.0041c7ab
push 0x42f138
lea ecx, [ebp - 0xc]
call fcn.0041c8f8
mov eax, esi
inc esi
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push str._sinst_d
push eax
call fcn.0041ce4d
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.0041d704
push eax
call fcn.0040e7f9
test al, al
pop ecx
jne 0x41bc30
lea eax, [ebp - 0xc]
mov ecx, 0x47f698
push eax
call fcn.0041c966
lea ecx, [ebp - 0xc]
call fcn.0041c8e1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41be3c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea esi, [ecx + 0x158]
xor ebx, ebx
push edi
mov ecx, dword [esi]
cmp ecx, ebx
je 0x41be59
push ebx
call fcn.00407bb2
mov dword [esi], ebx
push dword [0x47f1f4]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [0x47f7e0], ebx
je 0x41be9c
cmp byte [0x4802f9], 0
je 0x41be80
push ebx
call dword [0x47f784]
pop ecx
cmp byte [0x4802f8], 0
je 0x41be92
push 1
call dword [0x47f784]
pop ecx
mov ecx, 0x47f780
call fcn.0041f10a
mov ecx, 0x47f340
call fcn.0041c713
cmp byte [ebp + 8], 0
je 0x41bec2
mov eax, dword [0x4802dc]
cmp eax, ebx
je 0x41bec2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4802dc], ebx
cmp dword [0x47f7f4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp + 8], ebx
jle 0x41befb
xor edi, edi
mov eax, dword [0x47f7f0]
cmp dword [edi + eax], ebx
lea ecx, [edi + eax]
jbe 0x41beea
call fcn.0041d704
push eax
call esi
inc dword [ebp + 8]
add edi, 0xc
mov eax, dword [ebp + 8]
cmp eax, dword [0x47f7f4]
jl 0x41bed5
cmp dword [0x47f59c], ebx
mov dword [ebp + 8], ebx
mov edi, 0x47f590
jle 0x41bf45
push dword [ebp + 8]
mov ecx, edi
call fcn.0041f2e9
mov ebx, eax
lea ecx, [ebx + 4]
call fcn.0041d704
push eax
call esi
test ebx, ebx
je 0x41bf35
lea ecx, [ebx + 4]
call fcn.0041c8e1
push ebx
call fcn.004258de
pop ecx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [0x47f59c]
jl 0x41bf0b
xor ebx, ebx
mov ecx, edi
call fcn.0041f3aa
lea ecx, [ebp - 0x10]
call fcn.0041c7ab
mov dword [ebp - 4], ebx
push ebx
mov edi, 0x47f5e0
mov ecx, edi
call fcn.0041d3b8
test al, al
je 0x41bf9c
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
inc ebx
call fcn.0041d315
test bl, 1
je 0x41bf8c
lea ecx, [ebp - 0x10]
call fcn.0041d704
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
lea ecx, [ebp - 0x10]
call fcn.0041d704
push eax
call esi
push dword [ebp - 4]
jmp 0x41bf5d
push 0x42f138
mov ecx, edi
call fcn.0041c8f8
mov ecx, 0x47f00c
call fcn.0041d704
push eax
call esi
mov ecx, 0x47f018
call fcn.0041d704
push eax
call esi
mov ecx, 0x47f000
call fcn.0041d704
push eax
call esi
mov ecx, 0x47f7f8
call fcn.0041d704
push eax
call esi
push dword [0x47f1f0]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x10]
call fcn.0041c8e1
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41bffa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.0041c7ab
mov ecx, 0x47f3c0
call fcn.0041d704
push eax
lea eax, [ebp - 0x14]
push str._s_installation_couldnt_be_found._Try_re_installing_the_application_before_running_update.
push eax
call fcn.0041ce4d
add esp, 0xc
lea eax, [ebp - 4]
xor ebx, ebx
mov ecx, 0x47f5fc
push eax
push 0x20019
push ebx
call fcn.0041d704
push eax
push dword [0x47f5f8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c0bb
cmp dword [0x47f608], ebx
jne 0x41c070
cmp dword [0x47f614], ebx
jne 0x41c070
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41c0fd
mov eax, 0x104
push esi
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.00425010
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, 0x47f608
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
call fcn.0041d704
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop esi
je 0x41c0f5
cmp dword [0x47f72c], ebx
je 0x41c0de
and dword [0x47f1fc], 0xffffffbf
push ebx
push str._IsUpdate_
call fcn.0041e1bc
mov ecx, edi
call fcn.00416733
jmp 0x41c0fd
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041d704
push eax
push ebx
mov ecx, 0x47f028
call fcn.0041bc87
jmp 0x41c121
cmp dword [0x47f614], ebx
jne 0x41c101
mov bl, 1
jmp 0x41c121
test byte [0x47f201], 0x20
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
je 0x41c11a
call fcn.0041c12f
jmp 0x41c11f
call fcn.0041c2d0
mov bl, al
lea ecx, [ebp - 0x14]
call fcn.0041c8e1
mov al, bl
pop edi
pop ebx
leave
ret
Function at 0x41d4ab
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x41d4e1
push 0xfffffffffffffffd
pop eax
jmp 0x41d5a8
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 4]
push 2
push ecx
push ebx
push eax
mov dword [ebp - 4], ebx
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call edi
mov ecx, dword [ebp - 0xc]
cmp dword [ebp + 0xc], ecx
jbe 0x41d512
mov dword [ebp + 0xc], ecx
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
cmp ecx, eax
jb 0x41d522
cmp eax, ebx
ja 0x41d524
mov dword [esi], ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esi]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi], ebx
mov dword [esi + 8], eax
jne 0x41d55e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41d5a8
cmp dword [esi + 4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x41d57f
push dword [ebp + 8]
call edi
mov ecx, 0x47f994
call fcn.0041d704
push eax
call fcn.0041e30a
pop ecx
lea eax, [ebp - 8]
push ebx
push eax
mov dword [ebp - 8], ebx
push dword [esi]
push dword [esi + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
call edi
mov ecx, dword [ebp - 8]
xor eax, eax
cmp ecx, dword [esi]
sete al
dec eax
and al, 0xfe
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41d7f4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0xc0000000
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41d822
push 0xfffffffffffffffd
pop eax
jmp 0x41d84b
lea eax, [ebp + 8]
push edi
push eax
mov dword [ebp + 8], edi
push dword [esi]
push dword [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, dword [esi]
sete al
dec eax
and al, 0xfd
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41e3e7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
push 0x42f138
call fcn.0041c8f8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, 0xfffffc00
mov ecx, edx
and eax, esi
test ecx, ecx
ja 0x41e43a
jb 0x41e419
cmp eax, 0x100000
jae 0x41e43a
mov eax, dword [ebp + 8]
push 0xa
pop ecx
call fcn.00425b70
push eax
push str._d_KB
push dword [ebp + 0x10]
call fcn.0041ce4d
add esp, 0xc
jmp 0x41e56b
mov eax, dword [ebp + 8]
push 0xa
pop ecx
call fcn.00425b70
and byte [ebp - 0xc], 0
mov ebx, eax
xor eax, eax
lea edi, [ebp - 0xb]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
push 0xa
push eax
push 0xe
push 0x400
mov dword [ebp + 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41e47c
lea eax, [ebp - 0xc]
push 0x42d0dc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [ebp + 0xc]
mov eax, ebx
mov ecx, edi
and eax, esi
test ecx, ecx
ja 0x41e4cb
jb 0x41e492
cmp eax, 0x100000
jae 0x41e4cb
push 0xa
mov eax, ebx
pop ecx
mov edx, edi
call fcn.00425b70
mov esi, eax
xor ecx, ecx
shl eax, 0xa
sub ebx, eax
push ecx
sbb edi, ecx
push 0x64
push edi
push ebx
call fcn.00425de0
cmp eax, 0xa
jb 0x41e4bb
push 9
pop eax
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str._d_s_d_MB
jmp 0x41e560
push 0xa
mov eax, ebx
pop ecx
mov edx, edi
call fcn.00425b70
mov edi, eax
mov ebx, edx
and eax, esi
test ebx, ebx
ja 0x41e520
jb 0x41e4ea
cmp eax, 0x100000
jae 0x41e520
push 0xa
mov eax, edi
pop ecx
mov edx, ebx
call fcn.00425b70
mov esi, eax
xor ecx, ecx
shl eax, 0xa
sub edi, eax
push ecx
sbb ebx, ecx
push 0x64
push ebx
push edi
call fcn.00425de0
cmp eax, 0xa
jb 0x41e513
push 9
pop eax
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str._d_s_d_GB
jmp 0x41e560
push 0xa
mov eax, edi
pop ecx
mov edx, ebx
call fcn.00425b70
push 0xa
mov esi, eax
pop ecx
mov edi, edx
call fcn.00425b70
mov ebx, eax
xor ecx, ecx
shl eax, 0xa
sub esi, eax
push ecx
sbb edi, ecx
push 0x64
push edi
push esi
call fcn.00425de0
cmp eax, 0xa
jb 0x41e555
push 9
pop eax
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str._d_s_d_TB
push dword [ebp + 0x10]
call fcn.0041ce4d
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x41e587
or eax, 0xffffffff
jmp 0x41e628
mov dword [eax], esi
lea eax, [ebp + 8]
push eax
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41e625
lea eax, [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x41e621
mov eax, dword [ebp + 0xc]
inc eax
push eax
call fcn.004258e9
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x41e5e2
mov ecx, 0x47f994
call fcn.0041d704
push eax
call fcn.0041e30a
pop ecx
mov eax, dword [ebp + 0xc]
inc eax
push eax
push esi
push ebx
call fcn.00425010
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x41e616
mov eax, dword [ebp + 0x14]
push dword [ebp + 8]
mov dword [eax], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x41e627
push ebx
call fcn.004258de
pop ecx
push 0xfffffffffffffffe
jmp 0x41e627
push 0xfffffffffffffffd
jmp 0x41e627
push 0xfffffffffffffffc
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41e688
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, 0x104
push edi
push esi
push 0
push dword [ebp + 8]
call fcn.00425010
push esi
call fcn.004258e9
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41e6c1
mov ecx, 0x47f994
call fcn.0041d704
push eax
call fcn.0041e30a
pop ecx
push esi
push 0
push edi
call fcn.00425010
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test eax, eax
jne 0x41e6e9
push 0x42e608
push edi
call esi
jmp 0x41e6f8
add eax, edi
cmp byte [eax - 1], 0x5c
je 0x41e6f8
mov byte [eax], 0x5c
and byte [eax + 1], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea ebx, [eax + edi]
mov eax, dword [ebp - 4]
and byte [ebx], 0
inc dword [ebp - 4]
lea ecx, [ebp - 0x14]
push 0xa
push ecx
push eax
call fcn.0042844f
add esp, 0xc
push 0x42e604
push edi
call esi
lea eax, [ebp - 0x14]
push eax
push edi
call esi
push dword [ebp + 0xc]
push edi
call esi
push edi
call fcn.0040e7f9
test al, al
pop ecx
jne 0x41e70c
push edi
push dword [ebp + 8]
call esi
push edi
call fcn.004258de
mov eax, dword [ebp + 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f132
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x60], ebx
jne 0x41f292
push dword [esp + 0xc]
lea ecx, [esi + 0x64]
call fcn.0041c8f8
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x60], eax
je 0x41f296
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MP3Close
push eax
call edi
push str.MP3DeInit
mov dword [esi], eax
push dword [esi + 0x60]
call edi
push str.MP3GetCurrentPos
mov dword [esi + 4], eax
push dword [esi + 0x60]
call edi
push str.MP3GetLength
mov dword [esi + 8], eax
push dword [esi + 0x60]
call edi
push str.MP3GetMPEG_Args
mov dword [esi + 0xc], eax
push dword [esi + 0x60]
call edi
push str.MP3GetPlayer
mov dword [esi + 0x10], eax
push dword [esi + 0x60]
call edi
push str.MP3GetPlayerMode
mov dword [esi + 0x14], eax
push dword [esi + 0x60]
call edi
push str.MP3Init
mov dword [esi + 0x18], eax
push dword [esi + 0x60]
call edi
push str.MP3Open
mov dword [esi + 0x1c], eax
push dword [esi + 0x60]
call edi
push str.MP3Pause
mov dword [esi + 0x20], eax
push dword [esi + 0x60]
call edi
push str.MP3Play
mov dword [esi + 0x24], eax
push dword [esi + 0x60]
call edi
push str.MP3SetDevice
mov dword [esi + 0x28], eax
push dword [esi + 0x60]
call edi
push str.MP3SetExternalValues
mov dword [esi + 0x2c], eax
push dword [esi + 0x60]
call edi
push str.MP3SetPriority
mov dword [esi + 0x30], eax
push dword [esi + 0x60]
call edi
push str.MP3Stop
mov dword [esi + 0x34], eax
push dword [esi + 0x60]
call edi
push str.MP3Resume
mov dword [esi + 0x38], eax
push dword [esi + 0x60]
call edi
push str.MP3Suspend
mov dword [esi + 0x40], eax
push dword [esi + 0x60]
call edi
cmp dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], eax
pop edi
je 0x41f296
cmp dword [esi + 0x20], ebx
je 0x41f296
cmp dword [esi + 0x34], ebx
je 0x41f296
cmp dword [esi + 0x28], ebx
je 0x41f296
cmp dword [esi], ebx
je 0x41f296
cmp dword [esi + 0x10], ebx
je 0x41f296
cmp dword [esi + 0x14], ebx
je 0x41f296
cmp dword [esi + 8], ebx
je 0x41f296
cmp dword [esi + 0xc], ebx
je 0x41f296
cmp dword [esi + 0x18], ebx
je 0x41f296
cmp dword [esi + 4], ebx
je 0x41f296
cmp dword [esi + 0x1c], ebx
je 0x41f296
cmp dword [esi + 0x30], ebx
je 0x41f296
cmp dword [esi + 0x24], ebx
je 0x41f296
cmp eax, ebx
je 0x41f296
cmp dword [esi + 0x40], ebx
je 0x41f296
mov al, 1
jmp 0x41f298
xor al, al
pop esi
pop ebx
ret 4
Function at 0x41fdde
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
push str.RAM:_t
lea ecx, [ebp - 0xc]
call fcn.0041c81b
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x14
test bl, 1
je 0x41fe13
inc ebx
mov esi, str._d_MB_t
push ebx
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [0x47f760], ebx
call fcn.0041ce4d
mov eax, dword [0x47f1ac]
add esp, 0xc
test eax, eax
jne 0x41fe45
push eax
push 0x42e75c
lea ecx, [ebp - 0xc]
call fcn.0041ca2d
jmp 0x41fe5b
push eax
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0041ce4d
add esp, 0xc
cmp ebx, dword [0x47f1ac]
jb 0x41fe62
push 0x47f964
jmp 0x41fe6d
inc dword [0x47f330]
push 0x47f94c
lea ecx, [ebp - 0xc]
call fcn.0041caab
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.0041f94e
lea ecx, [ebp - 0xc]
mov dword [0x47f334], ebx
call fcn.0041c8e1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420455
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x4204eb
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4204eb
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp + 0xc], eax
jbe 0x4204e4
push eax
call fcn.004258e9
mov esi, eax
pop ecx
test esi, esi
jne 0x420493
mov eax, 0x8007000e
jmp 0x4204f0
push esi
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4204dd
and dword [ebp + 8], 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x42cc6c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4204dd
mov eax, dword [ebp + 8]
test eax, eax
je 0x4204dd
mov ecx, dword [eax + 8]
push esi
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
call fcn.004258de
pop ecx
xor eax, eax
jmp 0x4204f0
push esi
call fcn.004258de
pop ecx
mov eax, 0x80004005
jmp 0x4204f0
mov eax, 0x80070057
pop edi
pop esi
leave
ret