joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b034
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push ebx
xor ebx, ebx
cmp dword [0x47f708], ebx
push esi
je 0x41b0b6
lea eax, [ebp - 4]
mov ecx, 0x47f67c
push eax
push 0x20019
push ebx
mov dword [ebp - 4], ebx
call fcn.0041decc
push eax
push dword [0x47f678]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b0b6
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 0x41b0bd
xor al, al
jmp 0x41b149
lea eax, [ebp - 0x1a0]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041cfe3
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041da75
cmp al, 0x22
je 0x41b0ee
push ebx
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041dbaf
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041d191
push 0x44
lea eax, [ebp - 0x68]
pop esi
push esi
push ebx
push eax
call fcn.00425890
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], esi
call fcn.00425890
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.0041decc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41b13f
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.0041d0a9
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41c243
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 [0x47f704], edi
mov esi, ecx
mov ebx, 0x42cc78
je 0x41c2bb
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.0041d0c0
mov eax, dword [esi]
mov ecx, esi
dec eax
push eax
call fcn.0041da75
cmp al, 0x5c
jne 0x41c2e9
mov eax, dword [esi]
push 1
dec eax
mov ecx, esi
push eax
call fcn.0041d542
jmp 0x41c2e9
add esi, 0x124
push 0x47f7b8
mov ecx, esi
call fcn.0041d12e
push 1
push edi
push ebx
mov ecx, esi
call fcn.0041d974
push eax
push edi
mov ecx, esi
call fcn.0041de43
push eax
mov ecx, esi
call fcn.0041d12e
cmp dword [0x47f704], 0
je 0x41c387
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.0041cfe3
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041d974
cmp eax, 0xffffffff
je 0x41c37f
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041d542
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041d974
cmp eax, 0xffffffff
je 0x41c37f
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041d542
lea eax, [ebp - 0xc]
mov ecx, 0x47f718
push eax
call fcn.0041d12e
lea ecx, [ebp - 0xc]
jmp 0x41c445
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 0x41c44a
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x111], 0x5c
je 0x41c3e2
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.0041cf73
push 0x42f1b8
lea ecx, [ebp - 0xc]
call fcn.0041d0c0
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.0041d600
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.0041decc
push eax
call fcn.0040ea5b
test al, al
pop ecx
jne 0x41c3f8
lea eax, [ebp - 0xc]
mov ecx, 0x47f718
push eax
call fcn.0041d12e
lea ecx, [ebp - 0xc]
call fcn.0041d0a9
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c604
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 0x41c621
push ebx
call fcn.00407c0a
mov dword [esi], ebx
push dword [0x47f274]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [0x47f860], ebx
je 0x41c664
cmp byte [0x480389], 0
je 0x41c648
push ebx
call dword [0x47f804]
pop ecx
cmp byte [0x480388], 0
je 0x41c65a
push 1
call dword [0x47f804]
pop ecx
mov ecx, 0x47f800
call fcn.0041f981
mov ecx, 0x47f3c0
call fcn.0041cedb
cmp byte [ebp + 8], 0
je 0x41c68a
mov eax, dword [0x48036c]
cmp eax, ebx
je 0x41c68a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x48036c], ebx
cmp dword [0x47f874], ebx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp + 8], ebx
jle 0x41c6c3
xor edi, edi
mov eax, dword [0x47f870]
cmp dword [edi + eax], ebx
lea ecx, [edi + eax]
jbe 0x41c6b2
call fcn.0041decc
push eax
call esi
inc dword [ebp + 8]
add edi, 0xc
mov eax, dword [ebp + 8]
cmp eax, dword [0x47f874]
jl 0x41c69d
cmp dword [0x47f61c], ebx
mov dword [ebp + 8], ebx
mov edi, 0x47f610
jle 0x41c70d
push dword [ebp + 8]
mov ecx, edi
call fcn.0041fb60
mov ebx, eax
lea ecx, [ebx + 4]
call fcn.0041decc
push eax
call esi
test ebx, ebx
je 0x41c6fd
lea ecx, [ebx + 4]
call fcn.0041d0a9
push ebx
call fcn.0042615e
pop ecx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [0x47f61c]
jl 0x41c6d3
xor ebx, ebx
mov ecx, edi
call fcn.0041fc21
lea ecx, [ebp - 0x10]
call fcn.0041cf73
mov dword [ebp - 4], ebx
push ebx
mov edi, 0x47f660
mov ecx, edi
call fcn.0041db80
test al, al
je 0x41c764
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
inc ebx
call fcn.0041dadd
test bl, 1
je 0x41c754
lea ecx, [ebp - 0x10]
call fcn.0041decc
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
lea ecx, [ebp - 0x10]
call fcn.0041decc
push eax
call esi
push dword [ebp - 4]
jmp 0x41c725
push 0x42f1b8
mov ecx, edi
call fcn.0041d0c0
mov ecx, 0x47f08c
call fcn.0041decc
push eax
call esi
mov ecx, 0x47f098
call fcn.0041decc
push eax
call esi
mov ecx, 0x47f080
call fcn.0041decc
push eax
call esi
mov ecx, 0x47f898
call fcn.0041decc
push eax
call esi
push dword [0x47f270]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x10]
call fcn.0041d0a9
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41c7c2
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.0041cf73
mov ecx, 0x47f440
call fcn.0041decc
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.0041d600
add esp, 0xc
lea eax, [ebp - 4]
xor ebx, ebx
mov ecx, 0x47f67c
push eax
push 0x20019
push ebx
call fcn.0041decc
push eax
push dword [0x47f678]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c883
cmp dword [0x47f688], ebx
jne 0x41c838
cmp dword [0x47f694], ebx
jne 0x41c838
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41c8c5
mov eax, 0x104
push esi
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.00425890
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, 0x47f688
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
call fcn.0041decc
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 0x41c8bd
cmp dword [0x47f7ac], ebx
je 0x41c8a6
and dword [0x47f27c], 0xffffffbf
push ebx
push str._IsUpdate_
call fcn.0041e9a3
mov ecx, edi
call fcn.00416db8
jmp 0x41c8c5
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041decc
push eax
push ebx
mov ecx, 0x47f0a8
call fcn.0041c44f
jmp 0x41c8e9
cmp dword [0x47f694], ebx
jne 0x41c8c9
mov bl, 1
jmp 0x41c8e9
test byte [0x47f281], 0x20
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
je 0x41c8e2
call fcn.0041c8f7
jmp 0x41c8e7
call fcn.0041ca98
mov bl, al
lea ecx, [ebp - 0x14]
call fcn.0041d0a9
mov al, bl
pop edi
pop ebx
leave
ret
Function at 0x41dc73
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 0x41dca9
push 0xfffffffffffffffd
pop eax
jmp 0x41dd70
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 0x41dcda
mov dword [ebp + 0xc], ecx
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
cmp ecx, eax
jb 0x41dcea
cmp eax, ebx
ja 0x41dcec
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 0x41dd26
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41dd70
cmp dword [esi + 4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x41dd47
push dword [ebp + 8]
call edi
mov ecx, 0x47fa24
call fcn.0041decc
push eax
call fcn.0041eaf1
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 0x41dfbc
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 0x41dfea
push 0xfffffffffffffffd
pop eax
jmp 0x41e013
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 0x41ebce
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 0x42f1b8
call fcn.0041d0c0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, 0xfffffc00
mov ecx, edx
and eax, esi
test ecx, ecx
ja 0x41ec21
jb 0x41ec00
cmp eax, 0x100000
jae 0x41ec21
mov eax, dword [ebp + 8]
push 0xa
pop ecx
call fcn.004263f0
push eax
push str._d_KB
push dword [ebp + 0x10]
call fcn.0041d600
add esp, 0xc
jmp 0x41ed52
mov eax, dword [ebp + 8]
push 0xa
pop ecx
call fcn.004263f0
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 0x41ec63
lea eax, [ebp - 0xc]
push 0x42d038
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 0x41ecb2
jb 0x41ec79
cmp eax, 0x100000
jae 0x41ecb2
push 0xa
mov eax, ebx
pop ecx
mov edx, edi
call fcn.004263f0
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.00426660
cmp eax, 0xa
jb 0x41eca2
push 9
pop eax
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str._d_s_d_MB
jmp 0x41ed47
push 0xa
mov eax, ebx
pop ecx
mov edx, edi
call fcn.004263f0
mov edi, eax
mov ebx, edx
and eax, esi
test ebx, ebx
ja 0x41ed07
jb 0x41ecd1
cmp eax, 0x100000
jae 0x41ed07
push 0xa
mov eax, edi
pop ecx
mov edx, ebx
call fcn.004263f0
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.00426660
cmp eax, 0xa
jb 0x41ecfa
push 9
pop eax
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str._d_s_d_GB
jmp 0x41ed47
push 0xa
mov eax, edi
pop ecx
mov edx, ebx
call fcn.004263f0
push 0xa
mov esi, eax
pop ecx
mov edi, edx
call fcn.004263f0
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.00426660
cmp eax, 0xa
jb 0x41ed3c
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.0041d600
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ed57
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 0x41ed6e
or eax, 0xffffffff
jmp 0x41ee0f
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 0x41ee0c
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 0x41ee08
mov eax, dword [ebp + 0xc]
inc eax
push eax
call fcn.00426169
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x41edc9
mov ecx, 0x47fa24
call fcn.0041decc
push eax
call fcn.0041eaf1
pop ecx
mov eax, dword [ebp + 0xc]
inc eax
push eax
push esi
push ebx
call fcn.00425890
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 0x41edfd
mov eax, dword [ebp + 0x14]
push dword [ebp + 8]
mov dword [eax], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x41ee0e
push ebx
call fcn.0042615e
pop ecx
push 0xfffffffffffffffe
jmp 0x41ee0e
push 0xfffffffffffffffd
jmp 0x41ee0e
push 0xfffffffffffffffc
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41ee6f
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.00425890
push esi
call fcn.00426169
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41eea8
mov ecx, 0x47fa24
call fcn.0041decc
push eax
call fcn.0041eaf1
pop ecx
push esi
push 0
push edi
call fcn.00425890
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 0x41eed0
push 0x42e66c
push edi
call esi
jmp 0x41eedf
add eax, edi
cmp byte [eax - 1], 0x5c
je 0x41eedf
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.00428ccf
add esp, 0xc
push 0x42e668
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.0040ea5b
test al, al
pop ecx
jne 0x41eef3
push edi
push dword [ebp + 8]
call esi
push edi
call fcn.0042615e
mov eax, dword [ebp + 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f89a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
push str.GetSystemWindowsDirectoryA
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f8c9
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x41f927
push edi
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
pop edi
push dword [ebp + 0xc]
push dword [ebp + 8]
jne 0x41f921
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
test esi, esi
je 0x41f927
push 0x5c
push dword [ebp + 8]
call fcn.004260b0
pop ecx
test eax, eax
pop ecx
je 0x41f91d
and byte [eax], 0
mov eax, esi
jmp 0x41f927
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
pop esi
leave
ret
Function at 0x41f9a9
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x60], ebx
jne 0x41fb09
push dword [esp + 0xc]
lea ecx, [esi + 0x64]
call fcn.0041d0c0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x60], eax
je 0x41fb0d
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 0x41fb0d
cmp dword [esi + 0x20], ebx
je 0x41fb0d
cmp dword [esi + 0x34], ebx
je 0x41fb0d
cmp dword [esi + 0x28], ebx
je 0x41fb0d
cmp dword [esi], ebx
je 0x41fb0d
cmp dword [esi + 0x10], ebx
je 0x41fb0d
cmp dword [esi + 0x14], ebx
je 0x41fb0d
cmp dword [esi + 8], ebx
je 0x41fb0d
cmp dword [esi + 0xc], ebx
je 0x41fb0d
cmp dword [esi + 0x18], ebx
je 0x41fb0d
cmp dword [esi + 4], ebx
je 0x41fb0d
cmp dword [esi + 0x1c], ebx
je 0x41fb0d
cmp dword [esi + 0x30], ebx
je 0x41fb0d
cmp dword [esi + 0x24], ebx
je 0x41fb0d
cmp eax, ebx
je 0x41fb0d
cmp dword [esi + 0x40], ebx
je 0x41fb0d
mov al, 1
jmp 0x41fb0f
xor al, al
pop esi
pop ebx
ret 4
Function at 0x420677
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.0041cfe3
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 0x4206ac
inc ebx
mov esi, str._d_MB_t
push ebx
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [0x47f7e0], ebx
call fcn.0041d600
mov eax, dword [0x47f22c]
add esp, 0xc
test eax, eax
jne 0x4206de
push eax
push 0x42e7ec
lea ecx, [ebp - 0xc]
call fcn.0041d1e0
jmp 0x4206f4
push eax
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0041d600
add esp, 0xc
cmp ebx, dword [0x47f22c]
jb 0x4206fb
push 0x47f9f4
jmp 0x420706
inc dword [0x47f3b0]
push 0x47f9dc
lea ecx, [ebp - 0xc]
call fcn.0041d25e
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.004201e7
lea ecx, [ebp - 0xc]
mov dword [0x47f3b4], ebx
call fcn.0041d0a9
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420cc6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x420d5c
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x420d5c
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp + 0xc], eax
jbe 0x420d55
push eax
call fcn.00426169
mov esi, eax
pop ecx
test esi, esi
jne 0x420d04
mov eax, 0x8007000e
jmp 0x420d61
push esi
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x420d4e
and dword [ebp + 8], 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x42cc78
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x420d4e
mov eax, dword [ebp + 8]
test eax, eax
je 0x420d4e
mov ecx, dword [eax + 8]
push esi
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
call fcn.0042615e
pop ecx
xor eax, eax
jmp 0x420d61
push esi
call fcn.0042615e
pop ecx
mov eax, 0x80004005
jmp 0x420d61
mov eax, 0x80070057
pop edi
pop esi
leave
ret
Function at 0x420e7b
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push 0x47f0ac
lea ecx, [ebp - 0x10]
call fcn.0041d047
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
dec eax
push eax
call fcn.0041da75
cmp al, 0x5c
je 0x420eac
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0041d191
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push str.Microsoft.NETFramework_
lea ecx, [ebp - 0x10]
call fcn.0041d1e0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d047
push ebx
push 0x42cfc8
lea ecx, [ebp - 0x28]
call fcn.0041d1e0
push 0x140
lea eax, [ebp - 0x168]
push ebx
push eax
call fcn.00425890
add esp, 0xc
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x420fe9
test byte [ebp - 0x168], 0x10
je 0x420fc5
cmp byte [ebp - 0x13c], 0x2e
je 0x420fc5
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0041d047
lea eax, [ebp - 0x13c]
push ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041d1e0
push ebx
push str._system.dll
lea ecx, [ebp - 0x1c]
call fcn.0041d1e0
lea ecx, [ebp - 0x1c]
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x420fbd
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 4
jb 0x420fbd
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x26b]
mov byte [ebp - 0x26c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x139]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00426410
cmp byte [ebp - 0x26c], 0x31
pop ecx
pop ecx
je 0x420fda
cmp byte [ebp - 0x26c], 0x30
jne 0x420fbd
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
call fcn.0041d0a9
lea eax, [ebp - 0x168]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jmp 0x420f0d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.0041d0a9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.0041d0a9
lea ecx, [ebp - 0x10]
call fcn.0041d0a9
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret