joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ace
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa68
mov eax, dword [0x43f344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x414]
mov esi, 0x208
push esi
push 0
push eax
call fcn.00416790
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00416790
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00420db6
lea eax, [ebp - 0x414]
push 0x4325ec
push eax
call fcn.00420d45
add esp, 0x28
lea eax, [ebp - 0xa64]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402b4d
xor eax, eax
jmp 0x402c99
mov esi, dword [ebp - 0xa68]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0xa38]
push 0x4325f8
push eax
call fcn.00420d76
pop ecx
pop ecx
test eax, eax
je 0x402c57
lea eax, [ebp - 0xa38]
push 0x4325fc
push eax
call fcn.00420d76
pop ecx
pop ecx
test eax, eax
je 0x402c57
test byte [ebp - 0xa64], 0x10
push edi
je 0x402c00
lea eax, [ebp - 0x814]
push eax
call fcn.00420db6
push edi
call fcn.0041d9f0
add esp, 0xc
cmp word [edi + eax*2 - 2], 0x5c
je 0x402bd8
push edi
call fcn.0041d9f0
pop ecx
cmp word [edi + eax*2 - 2], 0x2f
je 0x402bd8
lea eax, [ebp - 0x814]
push 0x4325e8
push eax
call fcn.00420d45
pop ecx
pop ecx
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00420d45
lea eax, [ebp - 0x814]
push 1
push eax
call fcn.00402ace
add esp, 0x10
mov esi, eax
jmp 0x402c57
lea eax, [ebp - 0x20c]
push eax
call fcn.00420db6
lea eax, [ebp - 0x20c]
push 0x4325e8
push eax
call fcn.00420d45
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00420d45
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
lea eax, [ebp - 0xa64]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402b53
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x402c8c
cmp dword [ebp + 0xc], 0
je 0x402c89
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
jmp 0x402c8c
xor esi, esi
inc esi
test ebx, ebx
je 0x402c97
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415050
mov esp, ebp
pop ebp
ret
Function at 0x402d52
Capabilities:
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0xa54
mov eax, dword [0x43f344]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
mov ebx, dword [esp + 0xa60]
lea eax, [esp + 0x254]
push ebp
mov ebp, dword [esp + 0xa60]
push esi
push edi
push ebp
push eax
xor esi, esi
call fcn.00420db6
lea eax, [esp + 0x268]
push 0x4325ec
push eax
call fcn.00420d45
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x402dc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402eba
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x3c]
push 0x4325f8
push eax
call fcn.00420d76
pop ecx
pop ecx
test eax, eax
je 0x402e99
lea eax, [esp + 0x3c]
push 0x4325fc
push eax
call fcn.00420d76
pop ecx
pop ecx
test eax, eax
je 0x402e99
lea eax, [esp + 0x260]
push ebp
push eax
call fcn.00420db6
mov esi, 0x4325e8
lea eax, [esp + 0x268]
push esi
push eax
call fcn.00420d45
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x274]
push eax
call fcn.00420d45
lea eax, [esp + 0x678]
push ebx
push eax
call fcn.00420db6
lea eax, [esp + 0x680]
push esi
push eax
call fcn.00420d45
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x68c]
push eax
call fcn.00420d45
add esp, 0x30
lea eax, [esp + 0x660]
test byte [esp + 0x10], 0x10
je 0x402e80
push eax
lea eax, [esp + 0x264]
push eax
call fcn.00402d52
pop ecx
pop ecx
jmp 0x402e93
push 1
push eax
lea eax, [esp + 0x268]
push eax
call fcn.004032e5
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x402ead
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402dca
test edi, edi
je 0x402eb8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [esp + 0xa60]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415050
add esp, 0xa54
ret

Function at 0x402f0a
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x43f344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push edi
push 0x400
xor edi, edi
push edi
push eax
call fcn.00416790
add esp, 0xc
cmp word [esi + 2], 0x3a
je 0x402f70
lea eax, [ebp - 0x404]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x402f5d
mov eax, 0xd0000006
jmp 0x402fcb
lea eax, [ebp - 0x404]
push 0x4325e8
push eax
call fcn.00420d45
pop ecx
pop ecx
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.00420d45
lea eax, [ebp - 0x404]
pop ecx
pop ecx
cmp word [ebp - 0x404], di
je 0x402fa2
lea eax, [eax + 2]
cmp word [eax], 0x2f
jne 0x402f9d
push 0x5c
pop ecx
mov word [eax], cx
cmp word [eax], di
jne 0x402f8e
lea eax, [ebp - 0x404]
push eax
call fcn.0040336a
pop ecx
test eax, eax
je 0x402fcb
push edi
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and eax, 0xd0000006
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00415050
mov esp, ebp
pop ebp
ret
Function at 0x403054
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x658
mov eax, dword [0x43f344]
xor eax, esp
mov dword [esp + 0x654], eax
mov eax, dword [esp + 0x65c]
mov ecx, dword [esp + 0x660]
push ebx
push ebp
push eax
lea eax, [esp + 0x260]
mov dword [esp + 0xc], ecx
push eax
xor ebp, ebp
call fcn.00420db6
lea eax, [esp + 0x264]
push 0x432604
push eax
call fcn.00420d45
add esp, 0x10
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4030d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4030d4
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 0xd0000006
jmp 0x403140
push edi
push 0xc
call fcn.0041ce15
mov edi, eax
pop ecx
cmp ebx, 0xffffffff
je 0x40312e
push esi
push 0x204
call fcn.0041ce15
pop ecx
mov ebp, eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.0041d83b
pop ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00401bf5
mov esi, eax
push esi
push ebp
call fcn.0041d860
push esi
call fcn.0040c51f
movzx eax, byte [esp + 0x2c]
add esp, 0x18
shr eax, 4
and eax, 1
mov dword [ebp + 0x200], eax
pop esi
mov eax, dword [esp + 0xc]
and dword [edi + 4], 0
mov dword [edi], ebx
mov dword [edi + 8], ebp
mov dword [eax], edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x65c]
pop ebp
pop ebx
xor ecx, esp
call fcn.00415050
add esp, 0x658
ret

Function at 0x40326b
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4032df
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4032df
push edi
push 0
push esi
call fcn.0041d9f0
pop ecx
push eax
push esi
call fcn.00401c4b
add esp, 0xc
mov edi, eax
push 0
push ebx
call fcn.0041d9f0
pop ecx
push eax
push ebx
call fcn.00401c4b
add esp, 0xc
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4032be
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 0x18]
push ebx
push edi
call fcn.004032e5
push edi
mov esi, eax
call fcn.0040c51f
push ebx
call fcn.0040c51f
add esp, 0x14
mov eax, esi
pop edi
jmp 0x4032e2
or eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x4032e5
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 0x10], eax
sete al
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x403366
push ebx
push esi
push eax
push dword [ebp + 0xc]
call fcn.0041d83b
pop ecx
push eax
push dword [ebp + 0xc]
call fcn.00401bf5
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_write_file___s___LastError__d_
push 4
mov ebx, str.File
push ebx
call fcn.00401b50
push esi
call fcn.0040c51f
push dword [ebp + 0xc]
call fcn.0041d83b
add esp, 0x1c
cmp eax, 0x104
jb 0x40335d
push str.path_too_long
push 3
push ebx
call fcn.00401b50
add esp, 0xc
pop esi
mov eax, 0xd0000006
pop ebx
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4035bd
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x403623
push ebp
mov ebp, dword [esp + 0x18]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x1c]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, edi
xor cl, byte [esi + ebp]
mov byte [esi], cl
inc esi
sub dword [esp + 0x10], 1
jne 0x4035e3
mov esi, dword [esp + 0x24]
pop edi
pop ebp
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
pop ecx
ret
Function at 0x408084
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
push edi
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [esp + 0xc]
cmovae edx, edi
test eax, eax
js 0x4080d0
push ebx
push esi
lea ebx, [esp + 0x14]
xor ecx, ecx
lea ebx, [ebx + 4]
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, dword [ebx]
cmovae esi, ecx
or edi, ecx
or edx, esi
test eax, eax
jns 0x4080ac
pop esi
pop ebx
mov eax, edi
pop edi
ret

Function at 0x40d739
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, dword [esp + 8]
lea eax, [esp + 0xc]
push 1
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.0040da1e
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.0040da1e
add esp, 0x18
not eax
mov dword [esi + 8], eax
pop esi
ret

Function at 0x40d786
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x40d7a7
xor al, al
jmp 0x40d7cc
push dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x40d7a3
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret

Function at 0x40d91f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push eax
push 0
push 0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x40d958
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040d9d0
push eax
push 5
push dword [ebp + 8]
call fcn.00406e13
add esp, 0x10
xor al, al
jmp 0x40d9cc
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040d8f7
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov byte [esi + 0x10], 1
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x40d9c9
mov byte [esi + 0x11], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40d9be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040d9d0
push eax
push 5
push dword [ebp + 8]
call fcn.00406e13
add esp, 0x10
xor al, al
jmp 0x40d9cb
mov ecx, dword [ebp - 0x18]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], ecx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4263df
Capabilities:
Read file on windows

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

Function at 0x42acc4
Capabilities:
Set environment variable

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

Function at 0x42accf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a86d
Function at 0x4083f1
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x410144]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00407168
push 0x402634
lea ecx, [esp + 0x1c]
call fcn.004070c4
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x408475
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x4084af
mov ecx, dword [ebp + 4]
mov edx, 0xc0
push 0x4025e0
call fcn.004080ac
mov edi, eax
jmp 0x4084af
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.004082d4
mov ebx, eax
test ebx, ebx
jns 0x4084a1
mov ecx, dword [ebp + 4]
mov edx, 0xc6
push ebx
push 0x4025e0
call fcn.0040808f
mov edi, ebx
jmp 0x4084af
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x4084b9
push esi
call fcn.0040814d
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040dad0
mov esp, ebp
pop ebp
ret 8

Function at 0x40dc5d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x40dc9a
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x40dc93
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x40dc9f
add edx, 0x28
cmp edx, esi
jne 0x40dc84
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40dc9c
Function at 0x423f03
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cc19
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x47c144]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [edi + 0x2c8]
mov ebx, dword [eax]
or dword [esp + 0x1c], 0xffffffff
cmp ebx, eax
je 0x424094
mov eax, 0x145
mov dword [esp + 0x18], eax
jmp 0x423f54
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x145]
cmp ecx, 3
jge 0x424094
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add eax, 0xffffffdd
push eax
push dword [edi + 4]
call esi
push dword [esp + 0x18]
mov dword [esp + 0x14], eax
push dword [edi + 4]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call esi
push 5
push dword [esp + 0x18]
call esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [ebx + 8]
push ecx
push eax
call fcn.00423a76
and dword [esp + 0x4c], 0
push edi
or dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x30]
call fcn.0042533c
adc eax, dword [eax]
add byte [edx + 0x64], ch
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea esi, [ebx + 8]
push esi
call fcn.00423a76
mov dword [esp + 0x50], 1
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.00423559
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
push esi
call fcn.00423ab0
mov dword [esp + 0x4c], 2
push edi
or dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x34]
call fcn.00420c97
push 0x64
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea eax, [ebx + 8]
push eax
call fcn.00423ab0
mov dword [esp + 0x50], 3
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0x54], 0xffffffff
mov edx, esi
mov ecx, edi
call fcn.00423559
cmp byte [ebx + 0x68], 0
push 0
je 0x424055
push 1
jmp 0x424057
push 0
push 0xf1
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebx + 0x69], 0
jne 0x424082
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esp + 0x14]
call esi
push 0
push dword [esp + 0x18]
call esi
mov ebx, dword [ebx]
inc dword [esp + 0x18]
cmp ebx, dword [edi + 0x2c8]
jne 0x423f50
mov eax, dword [ebp + 8]
mov dword [eax], 1
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x4020b0
Capabilities:
Access peb ldr_data
Authenticate hmac
Encode data using base64
Encode data using xor
Encrypt data using speck
Execute anti-debugging instructions
Get number of processors
Hash data using fnv
Parse credit card information
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470f51
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3138
call fcn.00470ea0
mov eax, dword [0x472040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10f4], edx
push 0x471128
jmp 0x40ea98
lea esp, [esp + 4]
movzx ecx, cx
mov ch, 0x1a
lea eax, [ebp - 0x30f4]
not cl
movzx ecx, bx
jmp 0x46d14b
xorps xmm0, xmm0
push eax
jmp 0x43498b
movups xmmword [ebp - 0x44], xmm0
jmp loc.00497edc
push eax
mov ecx, 0xddba409c
movsx ecx, di
lea ecx, [ebp - 0xb09]
call fcn.00470000
mov dword [ebp - 0x4c8], eax
cwde
bswap ecx
lea ecx, [ebp - 0xce7]
setnp al
lea eax, [ebp - 0x15a0]
jmp 0x41434f

Function at 0x470ae7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x470b26
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x470b26
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x470b26
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x470b26
cmp dword [ecx + 0x74], 0xe
jbe 0x470b26
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x402ee4
pop dword [ebp - 0x2c]
mov eax, 0xf8d53990
sub eax, 0xf8950aac
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x3242737d
sub dword [ebp - 0x3c], 0xe3f02e32
mov dword [ebp - 0x38], 0x558aeb22
add dword [ebp - 0x38], 0xdca86123
mov dword [ebp - 0x34], 0x1f6e756e
sub dword [ebp - 0x34], 0xd3223140
mov dword [ebp - 0x30], 0x3362f151
add dword [ebp - 0x30], 0xcc9d0eaf
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x21fb45e5
sub eax, 0x21bac4e1
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xa70b972a
add dword [ebp - 0x3c], 0xcd66d22c
mov dword [ebp - 0x38], 0x24a8b208
add dword [ebp - 0x38], 0x1cc3af6d
mov dword [ebp - 0x34], 0x2dd77ca7
sub dword [ebp - 0x34], 0xca68103b
mov dword [ebp - 0x30], 0xc09ba76f
add dword [ebp - 0x30], 0x3f645891
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x4fb99752
sub eax, 0x4f791652
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x35267
push 0
call eax
mov ecx, 0x54b0c5ac
add ecx, 0xab4f7ac9
xor edi, edi
add edi, eax
mov ebx, 0x7e12413e
sub ebx, 0x7dcb5d3e
add ebx, dword [ebp - 0x2c]
mov edx, 0x20218dc7
add edx, 0xcca7b12b
add dword [ebp - 0x14], esi
mov esi, dword [ebx]
xor dword [ebp - 0x24], ecx
add esi, edx
mov dword [edi], esi
sub dword [ebp - 0x10], edi
add edi, 0x6e40efb3
add edi, 0x91bf1051
add ebx, 0x420a2620
add ebx, 0xbdf5d9e4
loop 0x403008
add eax, 0xf4a7
xor ebx, ebx
add ebx, eax
add eax, 0xb50226fd
sub eax, 0xb50226f8
mov ecx, 0x3ea8aceb
add ecx, 0xc1975315
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10