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

Disassembly:
cmp ecx, dword [0x4f5aa8]
jne 0x4061c5
repz ret
jmp fcn.0040a7bc

Function at 0x40ce8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407b1e
and dword [ebp - 4], 0
cmp dword [0x4f90d8], 0
mov ebx, eax
jne 0x40cf3c
push 0x402c94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cfed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c88
push edi
call esi
test eax, eax
je 0x40cfed
push eax
call fcn.00407aac
mov dword [esp], 0x402c78
push edi
mov dword [0x4f90d8], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c64
push edi
mov dword [0x4f90dc], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c48
push edi
mov dword [0x4f90e0], eax
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x4f90e8], eax
test eax, eax
je 0x40cf3c
push 0x402c30
push edi
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x4f90e4], eax
mov eax, dword [0x4f90e4]
cmp eax, ebx
je 0x40cf94
cmp dword [0x4f90e8], ebx
je 0x40cf94
push eax
call fcn.00407b27
push dword [0x4f90e8]
mov esi, eax
call fcn.00407b27
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf94
test edi, edi
je 0x40cf94
call esi
test eax, eax
je 0x40cf8b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf8b
test byte [ebp - 0xc], 1
jne 0x40cf94
or dword [ebp + 0x10], 0x200000
jmp 0x40cfcd
mov eax, dword [0x4f90dc]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cfcd
mov eax, dword [0x4f90e0]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f90d8]
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cfef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a69
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x7a2810]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402afd
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402aba
cmp dword [ebp + 0x10], ebx
jne 0x402af1
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a69
test eax, eax
jne 0x402acc
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402aa1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
call fcn.00405f3b
cmp eax, ebx
je 0x402b04
push ebx
push dword [0x7a2810]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402afd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x7a2810], ebx
jne 0x402afa
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402afa
jmp 0x402afd
Function at 0x405359
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x40735c
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x40734c
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4053aa
xor eax, eax
jmp 0x4053d1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x4053d1
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x4053a6
call esi
pop esi
leave
ret 4

Function at 0x40540b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7a0d78], 0x44
push eax
xor eax, eax
push 0x7a0d78
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405446
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x4054d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0040577f
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405504
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7a27e8], eax
jmp 0x405698
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x405522
test eax, eax
je 0x405643
test byte [ebp + 0xc], 2
je 0x405643
mov esi, 0x79fd78
push edi
push esi
call fcn.00405bab
test ebx, ebx
je 0x40553f
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405545
push edi
call fcn.004056e5
cmp byte [edi], 0
jne 0x405553
cmp byte [0x79fd78], 0x5c
jne 0x40555e
push 0x409010
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x405639
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004056c9
cmp byte [eax], 0
je 0x4055a4
cmp byte [ebp - 0x18], 0
je 0x4055a4
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x4055ba
mov al, byte [esi + 1]
test al, al
je 0x405618
cmp al, 0x2e
jne 0x4055ba
cmp byte [esi + 2], 0
je 0x405618
push esi
push ebx
call fcn.00405bab
test byte [ebp - 0x148], 0x10
je 0x4055df
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405618
push dword [ebp + 0xc]
push edi
call fcn.004054d0
jmp 0x405618
push edi
call fcn.00405863
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405610
test byte [ebp + 0xc], 4
je 0x405608
push edi
push 0xfffffffffffffff1
call fcn.00404e97
push 0
push edi
call fcn.004058f9
jmp 0x405618
inc dword [0x7a27e8]
jmp 0x405618
push edi
push 0xfffffffffffffff2
call fcn.00404e97
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405582
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x405643
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405698
cmp dword [ebp - 8], esi
jne 0x405658
inc dword [0x7a27e8]
jmp 0x405698
push edi
call fcn.00405ea6
test eax, eax
je 0x405698
push edi
call fcn.0040569e
push edi
call fcn.00405863
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405690
test byte [ebp + 0xc], 4
je 0x405650
push edi
push 0xfffffffffffffff1
call fcn.00404e97
push esi
push edi
call fcn.004058f9
jmp 0x405698
push edi
push 0xffffffffffffffe5
call fcn.00404e97
pop edi
pop esi
leave
ret 8
Function at 0x40577f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7a0178
push esi
call fcn.00405bab
push esi
call fcn.00405732
mov edi, eax
test edi, edi
jne 0x4057a0
xor eax, eax
jmp 0x4057f2
push edi
call fcn.00405e0d
test byte [0x7a2778], 0x80
je 0x4057b9
mov al, byte [edi]
test al, al
je 0x40579c
cmp al, 0x5c
je 0x40579c
sub edi, esi
jmp 0x4057d1
call fcn.00405ea6
test eax, eax
je 0x4057cb
test byte [eax], 0x10
je 0x40579c
push esi
call fcn.004056e5
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x4057bd
call fcn.0040569e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405863
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40587f
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405882
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x4058b1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4058f5
test edi, edi
jne 0x4058bc
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4058ef
Function at 0x4058f9
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 2
call fcn.00405f3b
test eax, eax
mov esi, dword [esp + 0x18]
je 0x40591d
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405a56
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x7a0f00], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x7a0f00
je 0x405961
push 1
push 0
push esi
call fcn.00405882
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405a5c
cmp eax, edi
jg 0x405a5c
mov esi, 0x7a0978
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405a5c
cmp eax, edi
jg 0x405a5c
push esi
push ebp
push str._s_s_r_n
push 0x7a0578
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x7a2770]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405bcd
push 4
push 0xc0000000
push esi
call fcn.00405882
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405a56
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405a4f
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405a4f
cmp edi, dword [esp + 0x18]
jne 0x405a4f
push str._Rename__r_n
push esi
call fcn.004057f7
test eax, eax
jne 0x405a63
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405bab
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x7a0578
push eax
call fcn.00405843
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x7a27f0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x4093e4
push eax
call fcn.004057f7
test eax, eax
je 0x405a1a
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405a8a
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405a7f
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x405a1c
Function at 0x405a92
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405b03
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405af2
cmp dword [ebp + 0x14], 1
je 0x405af4
cmp dword [ebp + 0x14], 2
je 0x405af4
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405ecd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405ef1
xor eax, eax
test eax, eax
je 0x405f03
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405f03
xor ecx, ecx
jmp 0x405f06
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x405faa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1304], 0
push esi
jne 0x405fe1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fbb
mov dword [ecx*4 + 0x7a1300], eax
inc ecx
cmp ecx, 0x100
jl 0x405fb6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406012
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1300]
xor eax, esi
inc ecx
dec edx
jne 0x405ff4
pop edi
not eax
pop esi
ret 0xc
Function at 0x4017d7
Capabilities:
Accept command line arguments
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [ebp - 0x180]
add eax, ecx
add dword [ebp - 0x320], 0x971
or dword [ebp - 0x44], eax
cmp dword [ebp - 0x88], eax
jbe 0x401820
mov ecx, 0xaed
dec dword [ebp - 0x60]
mov dword [ebp - 0x130], ecx
and ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x2a4]
add ecx, 0x2643
sub ecx, eax
test eax, eax
jb 0x401820
add dword [ebp - 0x298], 0x12f
xor dword [ebp - 0x128], ecx
push 0x500
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push 0x300
push 0
call dword [sym.imp.kernel32.dll_LocalAlloc]
sub eax, eax
and eax, ecx
or dword [ebp - 0x2c8], 0xff9
sbb dword [ebp - 0x268], eax
add eax, ecx
xor eax, ecx
cmp eax, 0x32
ja 0x4018b0
xor ecx, ecx
and dword [ebp - 0x2b0], 0xcf5
mov dword [ebp - 0x174], ecx
sub dword [ebp - 0x30], 0x9d4
or dword [ebp - 0x84], 0x820
adc ecx, dword [ebp - 0x2a0]
adc ecx, dword [ebp - 0x2c0]
and eax, dword [ebp - 0x190]
sbb eax, dword [ebp - 0x2f8]
cmp dword [ebp - 0x32c], eax
jae 0x4018b6
adc ecx, dword [ebp - 0x294]
xor dword [ebp - 0x78], 0x72
and eax, 0x7d2e
inc eax
or eax, ecx
sub edx, edx
and edx, ecx
add edx, 0x1ab0
sub dword [ebp - 0x1f0], 0x162a
sub dword [ebp - 0x260], 0x4dc6
and edx, 0x5e5
or edx, ecx
and edx, ecx
add edx, ecx
cmp edx, dword [ebp - 0x160]
jae 0x401923
xor edx, 0x52a
or dword [ebp - 0x1b0], 0xf77
or dword [ebp - 0x2a4], edx
sub ecx, ecx
inc dword [ebp - 0x2c0]
or ecx, edx
add ecx, edx
add ecx, 0x12e
or edx, 0x5131
and dword [ebp - 0x124], ecx
sub dword [ebp - 0xf0], ecx
mov dword [ebp - 0x2f8], ecx
call fcn.00402f96
push dword [ebp - 0x1a0]
call dword [sym.imp.msvcrt.dll_sqrt]
push dword [ebp - 0x140]
push dword [ebp - 0x170]
push 0x1000
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov dword [ebp - 0x11c], eax
push 0xb00
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov ecx, 0x7d
adc dword [ebp - 0x1f0], ecx
sub dword [ebp - 0x334], ecx
xor ecx, dword [ebp - 0x2ec]
or dword [ebp - 0x1dc], 0xfb1
or dword [ebp - 0x120], 0x5577
adc dword [ebp - 0x23c], eax
xor dword [ebp - 0x2b0], eax
dec dword [ebp - 0x1b0]
test ecx, ecx
jbe 0x4019e9
sub ecx, eax
mov eax, 0xb7
and dword [ebp - 0x2c], 0xa41
add eax, 0x3620
xor eax, dword [ebp - 0x280]
xor eax, dword [ebp - 0x25c]
and dword [ebp - 0x2c4], 0x1d9c
sub dword [ebp - 0x220], ecx
sub ecx, 0xb70
or eax, ecx
call section..init
mov eax, dword [ebp - 0x1d4]
add eax, dword [ebp - 0x178]
or eax, ecx
mov dword [ebp - 0x1c8], eax
or dword [ebp - 0xa8], 0x940
sub dword [ebp - 0xa8], eax
inc dword [ebp - 0x2dc]
inc dword [ebp - 0x1c0]
sbb dword [ebp - 0x284], ecx
sub eax, 0x737
cmp eax, dword [ebp - 0x230]
ja 0x401a68
sub ecx, ecx
adc dword [ebp - 0x318], ecx
and ecx, 0x7e60
and eax, ecx
add eax, 0x433b
inc dword [ebp - 0x1d4]
mov dword [ebp - 0xb0], eax
adc ecx, dword [ebp - 0x268]
sub ecx, dword [ebp - 0x264]
add ecx, 0x8fa
dec eax
leave
ret
Function at 0x56f7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x112000]
push edi
jmp 0x56f7ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56f7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f7c0
mov eax, 1
add ebx, ebx
jne 0x56f7e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56f7f4
jne 0x56f813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f813
dec eax
add ebx, ebx
jne 0x56f800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56f7d8
add ebx, ebx
jne 0x56f80f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56f865
xor ecx, ecx
sub eax, 3
jb 0x56f82b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56f89a
sar eax, 1
mov ebp, eax
jmp 0x56f836
add ebx, ebx
jne 0x56f836
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f804
inc ecx
add ebx, ebx
jne 0x56f844
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f804
add ebx, ebx
jne 0x56f851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56f846
jne 0x56f862
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56f846
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56f884
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56f876
jmp 0x56f7c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56f884
add edi, ecx
jmp 0x56f7c6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56f8a2
cmp byte [edi], 0x11
jne 0x56f8a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x56f8a7
lea edi, [esi + 0x168000]
mov eax, dword [edi]
or eax, eax
je 0x56f91f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f9548]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f96c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56f8d4
mov ecx, edi
jns 0x56f903
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f96c8]
or eax, eax
je 0x56f919
mov dword [ebx], eax
add ebx, 4
jmp 0x56f8f1
call dword [esi + 0x1f96d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56f950
cmp al, 0xef
ja 0x56f943
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56f925
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56f932
mov ebp, dword [esi + 0x1f96cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x56f984
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4020ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [0x42e040]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x488340]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x402151
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.0040241e
lea ecx, [esp + 0x1c]
call fcn.00401f1a
cmp eax, dword [esp + 0x14]
je 0x402169
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.004024ab
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x402121
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040693b
add esp, 0x2c
ret
mov edx, str.QwruxAA
call fcn.0040263e
push eax
call fcn.004028b7
mov eax, dword [ebp + 0x24]
pop ecx
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.004024ab
jmp 0x402153
Function at 0x416642
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162e4

Function at 0x41664d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416473

Function at 0x416a47
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407890
mov eax, dword [0x42e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00414d76
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x416a89
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x416be5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004219d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x488000]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00417c17
mov ecx, dword [esi*4 + 0x488000]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x416bde
cmp eax, dword [edi + ecx + 0x24]
jne 0x416bde
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416bde
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00417c17
add esp, 0x14
test edx, edx
jl 0x416bde
jg 0x416b54
test eax, eax
jb 0x416bde
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x416bde
jl 0x416b6e
cmp dword [ebp - 0x1008], eax
ja 0x416bde
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x416b8c
test ebx, ebx
je 0x416bc5
cmp ecx, edi
jae 0x416bc5
mov al, byte [ecx]
cmp al, 0xd
jne 0x416ba6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x416bb2
cmp byte [ecx + 1], 0xa
jne 0x416bb2
inc ecx
jmp 0x416bb2
movzx eax, al
movsx eax, byte [eax + 0x42e308]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x416b8c
cmp edx, ebx
jne 0x416b8c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x416be3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040693b
leave
ret