joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006b6b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.10006e8c
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1006b6ef
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.1006b2f8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1006b74d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x1006b771
cmp dword [edi + 0x74], 0
jne 0x1006b771
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.10006e8c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1006b70e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100b3ee9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x100b3f03
call fcn.10006e8c
mov esi, dword [eax + 0xc]
push dword [0x10266d94]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100b3f21
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100b3f19
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x100b3f4e
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x100b3f1b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.100b3e17
mov esi, eax
jmp 0x100b3f40

Function at 0x1011b240
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.1011a63f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1011b28a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10010708
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004dfb
jmp 0x1011b295
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10010194
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1011b393
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.1001ba83
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1011b3d0
call fcn.1011a63f
mov dword [esi + 0xc], 1
jmp 0x1011b3d5
call fcn.1011a63f
cmp dword [esi], 0
je 0x1011b41e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x1011b3f6
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10010708
jmp 0x1011b408
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.100025fb
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004dfb
jmp 0x1011b442
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x1011b442
push dword [esi]
push dword [ebp + 8]
call fcn.10010194
pop esi
pop ebp
ret 0xc

Function at 0x1011cdd8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.1017cc84
call fcn.100067db
cmp dword [eax + 0x14], 0
jne 0x1011cdf5
mov ecx, esi
pop esi
jmp fcn.1011c8b5
pop esi
ret

Function at 0x10120c37
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.1001489b
call fcn.100067db
cmp dword [eax + 0x14], 0
jne 0x10120c54
mov ecx, esi
pop esi
jmp fcn.101205e7
pop esi
ret

Function at 0x1013b55c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x1013b574
mov edi, dword [esi + 0xc]
jmp 0x1013b5b4
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1013b58d
call fcn.1000e2d6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1013b5a2
call fcn.1000e2d6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1013b5b4
call fcn.1000e2d6
call fcn.10006e8c
cmp dword [eax + 0x3c], 0
je 0x1013b5c9
push edi
mov ecx, ebx
call fcn.1013a0c9
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1013b476
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x1013b5e7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x1013b5f3
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10151636
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x10151648
xor eax, eax
jmp 0x101516bd
cmp dword [ebp + 0xc], 0
je 0x10151644
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10151661
call fcn.10006e8c
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10151644
push edi
push dword [ebp + 0xc]
mov dword [esi + 8], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10151689
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1015168d
xor eax, eax
jmp 0x101516bc
push ebx
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x101516bb
push dword [ebp + 0xc]
mov edi, dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call dword [edi + 4]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1018b871
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.1019a0b0
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
leave
ret 0x14

Function at 0x10198d24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10261d90]
jne 0x10198d2e
repz ret
jmp fcn.101a51ec
Function at 0x101baae3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10261d90]
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.101a2be4
and dword [ebp - 0x14], 0
cmp dword [0x102695c4], 0
mov dword [ebp - 0x18], eax
jne 0x101bab96
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x101bac3e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x101bac3e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x1021c214
push ebx
mov dword [0x102695c4], eax
call edi
push eax
call esi
push 0x1021c200
push ebx
mov dword [0x102695c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x102695cc], eax
call edi
push eax
call esi
mov dword [0x102695d4], eax
test eax, eax
je 0x101bab96
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x102695d0], eax
mov eax, dword [0x102695d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x101babef
cmp dword [0x102695d4], ecx
je 0x101babef
push eax
call esi
push dword [0x102695d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x101babef
test ebx, ebx
je 0x101babef
call edi
test eax, eax
je 0x101babe6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x101babe6
test byte [ebp - 8], 1
jne 0x101babef
or dword [ebp + 0x10], 0x200000
jmp 0x101bac22
mov eax, dword [0x102695c8]
cmp eax, dword [ebp - 0x18]
je 0x101bac22
push eax
call esi
test eax, eax
je 0x101bac22
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x101bac22
mov eax, dword [0x102695cc]
cmp eax, dword [ebp - 0x18]
je 0x101bac22
push eax
call esi
test eax, eax
je 0x101bac22
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x102695c4]
call esi
test eax, eax
je 0x101bac3e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x101bac40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10198d24
leave
ret

Function at 0x484cd7
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x484a08
sub eax, edi
call fcn.00484d06
mov edi, eax
xor dword [ecx], ebx
sub edi, edi
and edi, edi
add ecx, 2
sub edi, 0xcd7b4088
mov eax, 0x7da7af6e
cmp ecx, edx
jl fcn.00484cd7
inc eax
dec edi
inc eax
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x53b904f4
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x453b07e0
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4011ce
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push str.MoveFileExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov ebx, eax
call esi
test eax, eax
jne 0x401212
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
jne 0x401212
test ebx, ebx
je 0x401212
push 4
push eax
push edi
call ebx
pop esi
pop ebx
ret

Function at 0x401257
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x453c
call fcn.00404000
push ebx
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x13b]
push ebx
push eax
mov byte [ebp - 0x13c], bl
call fcn.00403610
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 8], ebx
je 0x40138c
mov dword [ebp - 4], ebx
jbe 0x40138c
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x453c]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x3fff
push dword [ebp + 8]
mov byte [ebp - 0x453c], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40137d
push dword [ebp + 0xc]
lea eax, [ebp - 0x453c]
push eax
call fcn.00403580
test eax, eax
pop ecx
pop ecx
jne 0x401391
push 0x3ff
lea eax, [ebp - 0x53b]
push ebx
push eax
mov dword [ebp - 0x1c], 1
mov byte [ebp - 0x53c], bl
call fcn.00403610
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x453c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40137d
push dword [ebp + 0xc]
lea eax, [ebp - 0x53c]
push eax
call fcn.00403580
test eax, eax
pop ecx
pop ecx
jne 0x401391
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x4012da
xor eax, eax
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x40138e
Function at 0x401502
Capabilities:
Create directory

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
push edi
push esi
mov dword [esp + 0x14], 1
call fcn.004034f0
add eax, esi
cmp byte [eax - 1], 0x5c
pop ecx
je 0x40152b
mov byte [eax], 0x5c
mov byte [eax + 1], 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, str.LMIR
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
call fcn.004034f0
mov edi, eax
cmp edi, 4
pop ecx
jbe 0x401551
push 4
pop edi
push esi
call fcn.004034f0
add edi, eax
pop ecx
lea esi, [edi + ebp]
push dword [esp + 0x10]
push str._04X.tmp
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
inc dword [esp + 0x1c]
push ebx
call fcn.004034f0
mov ecx, esi
sub ecx, eax
push ecx
call fcn.00401396
add esp, 0x14
test eax, eax
jne 0x4015a1
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4015b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4015ab
cmp dword [esp + 0x10], 0xffff
jl 0x40155d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
inc eax
jmp 0x4015ad

Function at 0x4015b8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push str.SHGetSpecialFolderPathA
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4015da
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop ebp
ret
push 0
push 0x1c
push edi
push 0
call eax
test eax, eax
je 0x4015cd
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.LogMeIn_Rescue
push edi
call esi
push str.Applet
push edi
call esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
pop esi
jne 0x401619
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4015cd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call fcn.004034f0
pop ecx
pop ebp
ret
Function at 0x4033f5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
inc edx
inc edx
push eax
inc ecx
push ecx
dec edx
dec edx
push edx
inc ecx
push ebx
inc ecx
push esp
inc ecx
push ebp
push esi
mov eax, edi
push eax
mov eax, ecx
inc eax
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
and dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 9
mov dword [ebp - 8], 0xd
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x682b
mov dword [ebp - 0x48], 0x5f8
add dword [ebp - 0x28], 0x6837
mov eax, 0xdf8
mul dword [ebp - 0x48]
mov dword [ebp - 0x78], eax
mov ebx, eax
mov dword [ebp - 0x14], 0xabf50948
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
sub eax, 0xd
mov dword [ebp - 0x10], eax
add dword [ebp - 0x28], 0x29d9e
dec dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x233a
add ebx, 0x2ea
sub ebx, dword [ebp - 0x18]

Function at 0x4034f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x1c]
sub edx, 0xc
sub eax, edx
mov esi, eax
add esi, dword [ebp - 0x18]
mov eax, 0x1b
mov ecx, dword [ebp - 0xc]
cdq
idiv ecx
mov edi, eax
add edi, dword [ebp - 0x18]
cmp esi, edi
jbe 0x4034fe
mov al, byte [ebx + esi]
mov byte [ebp - 1], al
movzx edx, byte [ebp - 1]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], eax
mov eax, 0x4e
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 8]
cdq
idiv ecx
mov dword [ebp - 0x88], eax
mov ecx, eax
mov eax, dword [ebp - 0x7c]
xor edx, edx
div ecx
mov dword [ebp - 0x8c], eax
mov edi, eax
add edi, dword [ebp - 0x14]
mov edx, edi
and edx, 0xff
mov edi, dword [ebp - 0x84]
xor edi, edx
mov edx, edi
mov byte [ebp - 1], dl
mov al, byte [ebp - 1]
mov byte [ebx + esi], al
dec esi
jmp 0x40348e
mov dword [ebp - 0x4c], 0x53672a
inc dword [ebp - 0x10]
mov dword [ebp - 0x40], 0x5bd000
mov eax, dword [ebp - 0x1c]
add eax, 6
cmp eax, dword [ebp - 0x10]
jae 0x40347b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x25e30
jb 0x403524
mov dword [ebp - 0x50], 0x6ce000
mov dword [ebp - 0x54], 0x55c72a
mov dword [ebp - 0x58], 0x10000000
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x1c]
sub eax, 9
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
inc edx
sub eax, edx
mov edx, dword [ebp - 0x54]
mov al, byte [edx + eax]
mov byte [ebp - 1], al
mov edi, dword [ebp - 0x30]
mov eax, 9
mov ecx, dword [ebp - 0xc]
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5e8c49
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e8c64
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124ade89]
pop edx
test eax, eax
je 0x5e8d36
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5e8d25
test dword [ebp - 0x2a8], 1
jne 0x5e8d25
and dword [ebp - 0x2a8], 0x100
jne 0x5e8d25
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3c2c]
pop edx
pop esi
test eax, eax
je 0x5e8cc8
jmp 0x5e8d25
cmp word [esi], 0x5a4d
jne 0x5e8d25
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5e8d25
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d38fc]
pop edx
test eax, eax
je 0x5e8d25
lea eax, [ebp - 0x28c]
push eax
call fcn.005e8ba5
test eax, eax
jne 0x5e8d1e
jmp 0x5e8d25
mov eax, esi
jmp 0x5e8d36
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5e8c64
pop esi
leave
ret 4

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x59161c16
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x5dde1a51
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x404cb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push ebx
push esi
push edi
lea edi, [ebp - 0x38c]
mov ecx, 0xe3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x208], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.00406bd0
add esp, 8
lea edx, [ebp - 0x200]
push edx
call fcn.004066e0
add esp, 4
movsx eax, byte [ebp + eax - 0x201]
cmp eax, 0x5c
jne 0x404d27
push 0x425574
lea ecx, [ebp - 0x200]
push ecx
call fcn.00406be0
add esp, 8
jmp 0x404d3b
push 0x425364
lea edx, [ebp - 0x200]
push edx
call fcn.00406be0
add esp, 8
mov esi, esp
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x200]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00406760
mov dword [ebp - 0x20c], eax
movsx edx, byte [ebp - 0x320]
cmp edx, 0x2e
je 0x404dc9
movsx eax, byte [ebp - 0x320]
test eax, eax
je 0x404dc9
mov ecx, dword [ebp - 0x34c]
and ecx, 0x10
test ecx, ecx
je 0x404dc9
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x208]
push eax
call fcn.00406bd0
add esp, 8
lea ecx, [ebp - 0x320]
push ecx
call fcn.004066e0
add esp, 4
mov edx, dword [ebp - 0x208]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x204]
add ecx, 1
mov dword [ebp - 0x204], ecx
cmp dword [ebp - 0x208], 0x3e8
jle 0x404dd7
jmp 0x404dfc
mov esi, esp
lea edx, [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.00406760
test eax, eax
jne 0x404d5e
mov esi, esp
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.00406760
mov eax, dword [ebp - 0x204]
pop edi
pop esi
pop ebx
add esp, 0x38c
cmp ebp, esp
call fcn.00406760
mov esp, ebp
pop ebp
ret