joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d84b
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 [0x481768], edi
mov esi, ecx
mov ebx, 0x42eb7c
je 0x41d8c3
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.0041e77c
mov eax, dword [esi]
mov ecx, esi
dec eax
push eax
call fcn.0041e84d
cmp al, 0x5c
jne 0x41d8f1
mov eax, dword [esi]
push 1
dec eax
mov ecx, esi
push eax
call fcn.0041ec13
jmp 0x41d8f1
add esi, 0x124
push 0x481828
mov ecx, esi
call fcn.0041e7ea
push 1
push edi
push ebx
mov ecx, esi
call fcn.0041f045
push eax
push edi
mov ecx, esi
call fcn.0041f4ff
push eax
mov ecx, esi
call fcn.0041e7ea
cmp dword [0x481768], 0
je 0x41d98f
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.0041e69f
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041f045
cmp eax, 0xffffffff
je 0x41d987
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041ec13
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041f045
cmp eax, 0xffffffff
je 0x41d987
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041ec13
lea eax, [ebp - 0xc]
mov ecx, 0x481780
push eax
call fcn.0041e7ea
lea ecx, [ebp - 0xc]
jmp 0x41da4d
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 0x41da52
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x111], 0x5c
je 0x41d9ea
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.0041e62f
push 0x4311c8
lea ecx, [ebp - 0xc]
call fcn.0041e77c
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.0041ecd1
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.0041f593
push eax
call fcn.0040f0b8
test al, al
pop ecx
jne 0x41da00
lea eax, [ebp - 0xc]
mov ecx, 0x481780
push eax
call fcn.0041e7ea
lea ecx, [ebp - 0xc]
call fcn.0041e765
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41dca3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea esi, [ecx + 0x164]
xor ebx, ebx
push edi
mov ecx, dword [esi]
cmp ecx, ebx
je 0x41dcc0
push ebx
call fcn.00407dfd
mov dword [esi], ebx
push dword [0x48129c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [0x4818d8], ebx
je 0x41dd03
cmp byte [0x482405], 0
je 0x41dce7
push ebx
call dword [0x48187c]
pop ecx
cmp byte [0x482404], 0
je 0x41dcf9
push 1
call dword [0x48187c]
pop ecx
mov ecx, 0x481878
call fcn.004214ac
mov ecx, 0x4813e8
call fcn.0041e597
cmp byte [ebp + 8], 0
je 0x41dd29
mov eax, dword [0x4823e4]
cmp eax, ebx
je 0x41dd29
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4823e4], ebx
cmp dword [0x4818ec], ebx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp + 8], ebx
jle 0x41dd62
xor edi, edi
mov eax, dword [0x4818e8]
cmp dword [edi + eax], ebx
lea ecx, [edi + eax]
jbe 0x41dd51
call fcn.0041f593
push eax
call esi
inc dword [ebp + 8]
add edi, 0xc
mov eax, dword [ebp + 8]
cmp eax, dword [0x4818ec]
jl 0x41dd3c
cmp dword [0x481674], ebx
mov dword [ebp + 8], ebx
mov edi, 0x481668
jle 0x41ddac
push dword [ebp + 8]
mov ecx, edi
call fcn.0042168b
mov ebx, eax
lea ecx, [ebx + 4]
call fcn.0041f593
push eax
call esi
test ebx, ebx
je 0x41dd9c
lea ecx, [ebx + 4]
call fcn.0041e765
push ebx
call fcn.00427dae
pop ecx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [0x481674]
jl 0x41dd72
xor ebx, ebx
mov ecx, edi
call fcn.0042174c
lea ecx, [ebp - 0x10]
call fcn.0041e62f
mov dword [ebp - 4], ebx
push ebx
mov edi, 0x4816b8
mov ecx, edi
call fcn.0041f23c
test al, al
je 0x41de03
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
inc ebx
call fcn.0041f199
test bl, 1
je 0x41ddf3
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
call esi
push dword [ebp - 4]
jmp 0x41ddc4
push 0x4311c8
mov ecx, edi
call fcn.0041e77c
mov ecx, 0x4810a4
call fcn.0041f593
push eax
call esi
mov ecx, 0x4810b0
call fcn.0041f593
push eax
call esi
mov ecx, 0x481098
call fcn.0041f593
push eax
call esi
mov ecx, 0x481910
call fcn.0041f593
push eax
call esi
push dword [0x481298]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x10]
call fcn.0041e765
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41de61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.0041e62f
push str.___Internal_InstallationNotFound___
call fcn.0041fe04
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x41de8e
mov esi, str.The__s_installation_couldnt_be_found._Try_re_installing_the_application_before_running_the_update.
mov ecx, 0x481474
call fcn.0041f593
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0041ecd1
add esp, 0xc
lea eax, [ebp - 4]
mov ecx, 0x4816d4
push eax
mov eax, dword [0x4823f8]
or eax, 0x20019
push eax
push ebx
call fcn.0041f593
push eax
push dword [0x4816d0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41df38
cmp dword [0x4816e0], ebx
jne 0x41deef
cmp dword [0x4816ec], ebx
jne 0x41deef
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41df7a
mov eax, 0x104
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.004274e0
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, 0x4816e0
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
call fcn.0041f593
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
je 0x41df72
cmp dword [0x481814], ebx
je 0x41df5b
and dword [0x4812a4], 0xffffffbf
push ebx
push str._IsUpdate_
call fcn.004200fd
mov ecx, edi
call fcn.004180e7
jmp 0x41df7a
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041f593
push eax
push ebx
mov ecx, 0x4810c0
call fcn.0041da57
jmp 0x41df9e
cmp dword [0x4816ec], ebx
jne 0x41df7e
mov bl, 1
jmp 0x41df9e
test byte [0x4812a9], 0x20
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
je 0x41df97
call fcn.0041dfad
jmp 0x41df9c
call fcn.0041e154
mov bl, al
lea ecx, [ebp - 0x14]
call fcn.0041e765
pop edi
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41f32f
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 0x41f365
push 0xfffffffffffffffd
pop eax
jmp 0x41f42c
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 0x41f396
mov dword [ebp + 0xc], ecx
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
cmp ecx, eax
jb 0x41f3a6
cmp eax, ebx
ja 0x41f3a8
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 0x41f3e2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41f42c
cmp dword [esi + 4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x41f403
push dword [ebp + 8]
call edi
mov ecx, 0x481a9c
call fcn.0041f593
push eax
call fcn.0042024b
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 0x41f683
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41f6a0
xor ebx, ebx
xor esi, esi
test bl, 2
je 0x41f6aa
push 2
pop esi
test bl, 0x20
je 0x41f6b2
or esi, 0x20
test esi, esi
jne 0x41f6bb
mov esi, 0x80
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test bl, 1
je 0x41f6d0
mov eax, ebx
and al, 0xfe
push eax
push dword [ebp + 8]
call edi
xor eax, eax
push eax
push esi
push 2
push eax
push eax
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f6f1
push 0xfffffffffffffffd
jmp 0x41f72b
lea eax, [ebp - 4]
push 0
push eax
mov eax, dword [ebp - 8]
and dword [ebp - 4], 0
push dword [eax]
push dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x41f71f
push 0xfffffffffffffffe
jmp 0x41f72b
test ebx, ebx
je 0x41f729
push ebx
push dword [ebp + 8]
call edi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4202db
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 0x4311c8
call fcn.0041e77c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, 0xfffffc00
mov ecx, edx
and eax, esi
test ecx, ecx
ja 0x42032e
jb 0x42030d
cmp eax, 0x100000
jae 0x42032e
mov eax, dword [ebp + 8]
push 0xa
pop ecx
call fcn.004281b0
push eax
push str._d_KB
push dword [ebp + 0x10]
call fcn.0041ecd1
add esp, 0xc
jmp 0x42045f
mov eax, dword [ebp + 8]
push 0xa
pop ecx
call fcn.004281b0
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 0x420370
lea eax, [ebp - 0xc]
push 0x42ef58
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 0x4203bf
jb 0x420386
cmp eax, 0x100000
jae 0x4203bf
push 0xa
mov eax, ebx
pop ecx
mov edx, edi
call fcn.004281b0
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.00428330
cmp eax, 0xa
jb 0x4203af
push 9
pop eax
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str._d_s_d_MB
jmp 0x420454
push 0xa
mov eax, ebx
pop ecx
mov edx, edi
call fcn.004281b0
mov edi, eax
mov ebx, edx
and eax, esi
test ebx, ebx
ja 0x420414
jb 0x4203de
cmp eax, 0x100000
jae 0x420414
push 0xa
mov eax, edi
pop ecx
mov edx, ebx
call fcn.004281b0
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.00428330
cmp eax, 0xa
jb 0x420407
push 9
pop eax
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str._d_s_d_GB
jmp 0x420454
push 0xa
mov eax, edi
pop ecx
mov edx, ebx
call fcn.004281b0
push 0xa
mov esi, eax
pop ecx
mov edi, edx
call fcn.004281b0
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.00428330
cmp eax, 0xa
jb 0x420449
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.0041ecd1
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420464
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 0x42047b
or eax, 0xffffffff
jmp 0x420522
mov dword [eax], esi
lea eax, [ebp + 8]
push eax
mov eax, dword [0x4823f8]
or al, 1
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42051f
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 0x42051b
mov eax, dword [ebp + 0xc]
inc eax
push eax
call fcn.00427db9
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x4204dc
mov ecx, 0x481a9c
call fcn.0041f593
push eax
call fcn.0042024b
pop ecx
mov eax, dword [ebp + 0xc]
inc eax
push eax
push esi
push ebx
call fcn.004274e0
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 0x420510
mov eax, dword [ebp + 0x14]
push dword [ebp + 8]
mov dword [eax], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x420521
push ebx
call fcn.00427dae
pop ecx
push 0xfffffffffffffffe
jmp 0x420521
push 0xfffffffffffffffd
jmp 0x420521
push 0xfffffffffffffffc
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x420582
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.004274e0
push esi
call fcn.00427db9
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4205bb
mov ecx, 0x481a9c
call fcn.0041f593
push eax
call fcn.0042024b
pop ecx
push esi
push 0
push edi
call fcn.004274e0
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 0x4205e3
push 0x43068c
push edi
call esi
jmp 0x4205f2
add eax, edi
cmp byte [eax - 1], 0x5c
je 0x4205f2
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.00429285
add esp, 0xc
push 0x430688
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.0040f0b8
test al, al
pop ecx
jne 0x420606
push edi
push dword [ebp + 8]
call esi
push edi
call fcn.00427dae
mov eax, dword [ebp + 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420fad
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 0x420fdc
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x42103a
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 0x421034
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
test esi, esi
je 0x42103a
push 0x5c
push dword [ebp + 8]
call fcn.00427d00
pop ecx
test eax, eax
pop ecx
je 0x421030
and byte [eax], 0
mov eax, esi
jmp 0x42103a
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
pop esi
leave
ret
Function at 0x4214d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x60], ebx
jne 0x421634
push dword [esp + 0xc]
lea ecx, [esi + 0x64]
call fcn.0041e77c
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x60], eax
je 0x421638
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 0x421638
cmp dword [esi + 0x20], ebx
je 0x421638
cmp dword [esi + 0x34], ebx
je 0x421638
cmp dword [esi + 0x28], ebx
je 0x421638
cmp dword [esi], ebx
je 0x421638
cmp dword [esi + 0x10], ebx
je 0x421638
cmp dword [esi + 0x14], ebx
je 0x421638
cmp dword [esi + 8], ebx
je 0x421638
cmp dword [esi + 0xc], ebx
je 0x421638
cmp dword [esi + 0x18], ebx
je 0x421638
cmp dword [esi + 4], ebx
je 0x421638
cmp dword [esi + 0x1c], ebx
je 0x421638
cmp dword [esi + 0x30], ebx
je 0x421638
cmp dword [esi + 0x24], ebx
je 0x421638
cmp eax, ebx
je 0x421638
cmp dword [esi + 0x40], ebx
je 0x421638
mov al, 1
jmp 0x42163a
xor al, al
pop esi
pop ebx
ret 4
Function at 0x4221a2
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.0041e69f
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 0x4221d7
inc ebx
mov esi, str._d_MB_t
push ebx
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [0x481850], ebx
call fcn.0041ecd1
mov eax, dword [0x481254]
add esp, 0xc
test eax, eax
jne 0x422209
push eax
push 0x4307fc
lea ecx, [ebp - 0xc]
call fcn.0041e8b1
jmp 0x42221f
push eax
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0041ecd1
add esp, 0xc
cmp ebx, dword [0x481254]
jb 0x422226
push 0x481a6c
jmp 0x422231
inc dword [0x4813d8]
push 0x481a54
lea ecx, [ebp - 0xc]
call fcn.0041e92f
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.00421d12
lea ecx, [ebp - 0xc]
mov dword [0x4813dc], ebx
call fcn.0041e765
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4227f1
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x422887
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x422887
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp + 0xc], eax
jbe 0x422880
push eax
call fcn.00427db9
mov esi, eax
pop ecx
test esi, esi
jne 0x42282f
mov eax, 0x8007000e
jmp 0x42288c
push esi
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x422879
and dword [ebp + 8], 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x42eb7c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x422879
mov eax, dword [ebp + 8]
test eax, eax
je 0x422879
mov ecx, dword [eax + 8]
push esi
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
call fcn.00427dae
pop ecx
xor eax, eax
jmp 0x42288c
push esi
call fcn.00427dae
pop ecx
mov eax, 0x80004005
jmp 0x42288c
mov eax, 0x80070057
pop edi
pop esi
leave
ret
Function at 0x4229a6
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push 0x4810c4
lea ecx, [ebp - 0x10]
call fcn.0041e703
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
dec eax
push eax
call fcn.0041e84d
cmp al, 0x5c
je 0x4229d7
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0041e862
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push str.Microsoft.NETFramework_
lea ecx, [ebp - 0x10]
call fcn.0041e8b1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041e703
push ebx
push 0x42eed4
lea ecx, [ebp - 0x2c]
call fcn.0041e8b1
push 0x140
lea eax, [ebp - 0x16c]
push ebx
push eax
call fcn.004274e0
add esp, 0xc
lea eax, [ebp - 0x16c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x422b74
mov esi, dword [ebp + 8]
test byte [ebp - 0x16c], 0x10
je 0x422b2e
cmp byte [ebp - 0x140], 0x2e
je 0x422b2e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041e703
lea eax, [ebp - 0x140]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0041e8b1
push ebx
push str._system.dll
lea ecx, [ebp - 0x20]
call fcn.0041e8b1
lea ecx, [ebp - 0x20]
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422b26
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 4
jb 0x422b26
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x26f]
mov byte [ebp - 0x270], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x13d]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00428040
cmp byte [ebp - 0x13f], 0x32
pop ecx
pop ecx
je 0x422b47
cmp byte [ebp - 0x13d], 0x31
jne 0x422af6
mov dword [ebp - 4], 1
jmp 0x422b08
cmp byte [ebp - 0x13d], 0x30
jne 0x422b26
cmp dword [ebp - 4], 0xffffffff
jne 0x422b26
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x422b26
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0041e7ea
lea eax, [ebp - 0x140]
push ebx
push eax
mov ecx, esi
call fcn.0041e8b1
lea ecx, [ebp - 0x20]
call fcn.0041e765
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x422b74
jmp 0x422a42
cmp esi, ebx
mov dword [ebp - 4], 2
je 0x422b6c
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0041e7ea
lea eax, [ebp - 0x140]
push ebx
push eax
mov ecx, esi
call fcn.0041e8b1
lea ecx, [ebp - 0x20]
call fcn.0041e765
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c]
call fcn.0041e765
lea ecx, [ebp - 0x10]
call fcn.0041e765
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret