joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x507628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x64
mov al, 0x6c
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xa], cl
mov byte [ebp - 0x23], cl
mov cl, 0x69
push edi
mov byte [ebp - 0xd], al
mov byte [ebp - 0xc], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x24]
mov dl, 0x6e
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1a], cl
push eax
lea ecx, [ebp - 0x10]
mov bl, 0x74
push ecx
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 7], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0
call fcn.00474100
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.004043a0
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x401661
cmp cl, 0xe9
je 0x401661
add esi, eax
cmp esi, 0x1000
jb 0x401622
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ba17
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 1]
mov ecx, dword [ebp - 4]
lea eax, [eax + edi + 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ba17
mov esp, ebp
pop ebp
ret

Function at 0x402a30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x507628]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5117e0], 0
jne 0x402adb
mov byte [0x5117e0], 1
call fcn.004020f0
call fcn.00402af0
mov dword [0x5117dc], eax
mov al, 0x73
mov cl, 0x65
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x20]
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xc], cl
mov byte [ebp - 0x15], cl
mov dl, 0x6f
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x36
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x12], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5117d8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ba17
mov esp, ebp
pop ebp
ret
Function at 0x402af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x507628]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402bd2
xor ecx, ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
call eax
mov eax, dword [ebp - 0x48]
cmp ax, 6
je 0x402bbf
cmp ax, 9
jne 0x402bd2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ba17
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0045ba17
mov esp, ebp
pop ebp
ret
Function at 0x404220
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push esi
mov esi, 5
mov dword [ebp - 4], eax
cmp dword [0x5117ec], eax
jne 0x40423b
xor esi, esi
cmp dword [0x5117f0], eax
jne 0x404248
mov esi, 1
cmp dword [0x5117f4], eax
jne 0x404255
mov esi, 2
cmp dword [0x5117f8], eax
jne 0x4042be
mov esi, 3
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [esi*4 + 0x5117ec], ebx
mov dword [esi*4 + 0x5117fc], 0x404750
mov dword [esi*4 + 0x51180c], eax
cmp ecx, eax
je 0x4042ca
push ecx
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x404383
push ebx
mov ecx, esi
call fcn.00404000
add esp, 4
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 4
jl 0x404262
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push eax
push 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
xor eax, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x40438d
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
push edi
mov dword [ebp - 0x24], 0x1c
call sub.KERNEL32.dll_Thread32First
mov ebx, eax
test ebx, ebx
je 0x404383
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x18], eax
jne 0x40436e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x40436e
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x40437c
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00404000
add esp, 4
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 8]
lea edx, [ebp - 0x24]
push edx
push edi
call sub.KERNEL32.dll_Thread32Next
mov ebx, eax
jmp 0x40437f
mov edi, dword [ebp - 8]
test ebx, ebx
jne 0x404323
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4045b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x404640
mov eax, method.CGdiObject.virtual_8
test eax, eax
je 0x404640
push ebx
lea ebx, [ebp - 4]
mov eax, edi
call fcn.00404550
test eax, eax
jne 0x4045d9
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 4]
push esi
push 0x40
push 0x1000
lea ecx, [ebx + 0xe]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esi], ebx
push ebx
add esi, 4
lea eax, [esi + 5]
push edi
push eax
mov dword [ebp - 4], eax
call fcn.004680d0
mov ecx, dword [ebp - 4]
mov edx, method.CGdiObject.virtual_8
sub edx, esi
mov eax, edi
mov byte [esi], 0xe9
sub edx, 5
mov dword [esi + 1], edx
sub eax, esi
mov byte [esi + ebx + 5], 0xe9
sub eax, 0xa
mov dword [esi + ebx + 6], eax
mov dword [0x5117d4], ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.00404220
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404796
test al, 0x10
je 0x404796
mov eax, 1
ret
xor eax, eax
ret

Function at 0x4047a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4047b3
xor eax, eax
mov word [ebx], ax
push esi
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4047cb
test al, 0x10
jne 0x404881
mov eax, esi
push edi
xor edi, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4047d3
sub eax, edx
sar eax, 1
je 0x40485a
movzx eax, word [esi + edi*2]
cmp ax, 0x5c
je 0x4047f4
cmp ax, 0x2f
jne 0x404841
xor ecx, ecx
push esi
movzx ebx, ax
mov word [esi + edi*2], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40480d
test al, 0x10
jne 0x40483a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40483a
mov eax, dword [ebp + 8]
test eax, eax
je 0x40483a
cmp byte [ebp - 1], 0
jne 0x40483a
push esi
push 0x104
push eax
call fcn.0045c096
add esp, 0xc
mov byte [ebp - 1], 1
mov word [esi + edi*2], bx
mov ebx, dword [ebp + 8]
mov eax, esi
inc edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404847
sub eax, edx
sar eax, 1
cmp edi, eax
jb 0x4047e4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
test eax, eax
je 0x404881
test ebx, ebx
je 0x404881
cmp byte [ebp - 1], 0
jne 0x404881
push esi
push 0x104
push ebx
call fcn.0045c096
add esp, 0xc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40501b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405054
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x405050
jmp 0x405040
cmp esi, eax
jae 0x405054
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405040
cmp esi, eax
jb 0x40505b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4059f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x405a0e
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call fcn.004680d0
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405a30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
test eax, eax
je 0x405b0e
cmp dword [ebp + 0xc], 0
je 0x405b0e
push ebx
lea ebx, [ebp - 4]
call fcn.00404550
test eax, eax
jne 0x405a5d
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 4]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x1000
lea eax, [ebx + 0xe]
push eax
push 0
call edi
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [esi], ebx
push ebx
add esi, 4
lea eax, [esi + 5]
push ecx
push eax
mov dword [ebp - 8], eax
call fcn.004680d0
add esp, 0xc
push 0x40
push 0x1000
push ebx
push 0
call edi
push ebx
mov edi, eax
push 0x90
push edi
mov dword [ebp - 4], edi
call fcn.00460c60
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
mov eax, dword [ebp + 8]
mov byte [esi], 0xe9
mov byte [esi + ebx + 5], 0xe9
mov edx, eax
sub edx, esi
sub edx, 0xa
mov dword [esi + ebx + 6], edx
sub esi, eax
sub esi, 5
mov dword [edi + 1], esi
mov byte [edi], 0xe9
push edi
mov esi, ebx
mov edi, eax
call fcn.004059f0
mov eax, dword [ebp - 4]
add esp, 0x10
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [0x5117c0], ecx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x407585
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Get graphical window text
Parse pe header
Read .ini file
Resolve function by parsing pe exports

Disassembly:
call fcn.00461c70
mov eax, dword [0x507628]
xor eax, esp
mov dword [esp + 0x13b0], eax
rcr cl, 0x3e
push ebx
shr dl, 0x36
or ax, bp
push esi
lahf
shld ax, bp, 0x1d
push edi
or dl, 0xf7
inc eax
shr al, 0xa4
mov eax, dword [0x507628]
movsx esi, ax
xor eax, esp
jmp loc.00625a6c
Function at 0x410240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x410260
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdb16
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x507628]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x278], eax
mov bl, 0x25
mov al, 0x2a
mov byte [ebp - 0x268], bl
mov dl, 0x73
mov byte [ebp - 0x266], al
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x19], al
mov bl, 0x5c
mov eax, ecx
mov dword [ebp - 0x270], 0
mov byte [ebp - 0x267], dl
mov byte [ebp - 0x265], 0
mov byte [ebp - 0x1b], dl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x18], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4102d6
sub eax, esi
push ecx
cmp byte [eax + ecx - 1], bl
jne 0x4102fb
lea ecx, [ebp - 0x268]
push ecx
push 0x103
lea edx, [ebp - 0x124]
push edx
jmp 0x41030b
lea eax, [ebp - 0x1c]
push eax
push 0x103
lea ecx, [ebp - 0x124]
push ecx
call fcn.0045e15d
xor esi, esi
add esp, 0x10
cmp eax, esi
jl 0x410320
cmp eax, 0x103
jne 0x410324
mov byte [ebp - 0x21], 0
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x26c], eax
cmp eax, 0xffffffff
je 0x410448
mov bl, 1
test byte [ebp - 0x264], 0x10
jne 0x41041f
test bl, bl
je 0x410380
lea eax, [ebp - 0x238]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410363
lea ecx, [ebp - 0x238]
push ecx
sub eax, edx
push edi
call fcn.00433370
xor bl, bl
jmp 0x410405
lea edx, [ebp - 0x274]
push edx
call fcn.00432180
lea ecx, [ebp - 0x238]
push ecx
push eax
lea edx, [ebp - 0x27c]
push edx
mov dword [ebp - 4], esi
call fcn.00432260
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
push ecx
push edi
call fcn.00433370
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x278]
inc eax
cmp eax, 0xa
mov dword [ebp - 0x270], eax
mov dword [ecx], eax
jge 0x41043b
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410349
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045ba17
mov esp, ebp
pop ebp
ret
Function at 0x417b87
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
test ah, al
mov ebp, esp
push edi
add di, bp
shrd di, bx, 0x3b
test eax, 0x5cb81ace
mov edi, dword [0x51181c]
test ebp, 0x24e964df
test edi, edi
je 0x5ce81a
cmp dword [edi], 0xffffffff
je 0x5ce81a
cmp byte [edi + 0x1400c], 0
jmp fcn.00616858
pop edi
movsx ebp, cx
pop ebp
jmp loc.004034b7

Function at 0x41b662
Capabilities:
Hash data with crc32
Terminate process

Disassembly:
push 0x511ba50c
call fcn.00608fa3

Function at 0x424270
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
mov ebx, esi
mov dword [edi], 0
call fcn.00424200
mov ebx, eax
test ebx, ebx
jne 0x4242a1
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.0045dbdd
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x51186c]
push eax
push 1
push ecx
push edx
call fcn.0045e10d
mov ecx, dword [0x511a78]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x51186c]
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004cc2a0
add esp, 0x30
test eax, eax
jne 0x4243e0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebx + 0x24]
jne 0x4243e0
mov eax, dword [0x511a78]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call fcn.00460c60
add esp, 0xc
push 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, 0x18
mov word [ebp - 0x22], ax
push 0
mov ecx, 1
lea eax, [ebp - 0x5c]
mov word [ebp - 0x24], cx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
push eax
mov ecx, 0xa
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x20], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4243a6
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [ecx], 8
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x24]
mov ecx, dword [0x511a78]
sub edx, 4
push edx
add ecx, 4
push ecx
push eax
call fcn.004680d0
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, edi
call fcn.00453860
push esi
mov ecx, edi
call fcn.00453834
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42f730
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x507628]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, edx
mov edx, dword [0x512eb8]
push 0
push edx
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x284], ecx
call edi
test eax, eax
je 0x42f981
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.00460c60
add esp, 0xc
push 0x140
lea ecx, [ebp - 0x274]
push 0
push ecx
call fcn.00460c60
add esp, 0xc
push esi
lea edx, [ebp - 0x114]
push 0x104
push edx
call fcn.0045e5bd
add esp, 0xc
push str..
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00460536
add esp, 0xc
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x278], esi
cmp esi, 0xffffffff
je 0x42f981
mov ecx, dword [0x512ed0]
sub ecx, dword [0x512ecc]
xor eax, eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x280], eax
mov eax, 0x92492493
imul ecx
mov eax, dword [0x512eb8]
add edx, ecx
sar edx, 4
mov ebx, edx
push 0
shr ebx, 0x1f
push eax
add ebx, edx
call edi
test eax, eax
je 0x42f97a
lea esp, [esp]
cmp byte [ebp - 0x248], 0x2e
je 0x42f951
test byte [ebp - 0x274], 0x10
jne 0x42f951
lea eax, [ebp - 0x248]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f883
sub eax, edx
cmp eax, 0x14
jae 0x42f951
mov edx, dword [ebp - 0x254]
mov esi, dword [ebp - 0x258]
xor edi, edi
xor eax, eax
or edi, edx
or esi, eax
add edi, 0xfffffffc
adc esi, 0xffffffff
jne 0x42f8b9
cmp edi, 0xa00000
jbe 0x42f8d8
mov edx, dword [ebp - 0x278]
lea ecx, [ebp - 0x274]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, dword [ebp - 0x278]
jmp 0x42f95f
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x248]
push edx
mov edx, ebx
call fcn.0042f650
add esp, 0xc
test eax, eax
je 0x42f91a
mov eax, dword [eax + 0x18]
xor ecx, ecx
cmp esi, ecx
jb 0x42f91a
ja 0x42f90a
cmp edi, eax
jbe 0x42f91a
mov eax, dword [ebp - 0x284]
cmp dword [eax], ecx
jne 0x42f91a
mov dword [eax], 1
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x12c]
push 0x14
push ecx
mov dword [ebp - 0x118], edi
call fcn.0045e5bd
mov eax, dword [ebp - 0x27c]
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push eax
call fcn.00431df0
mov esi, dword [ebp - 0x278]
lea ecx, [ebp - 0x274]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x42f97a
mov edx, dword [0x512eb8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f860
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ba17
mov esp, ebp
pop ebp
ret
Function at 0x437810
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5012b8
push 0x460fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x507628]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40
push esi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
push esi
mov ecx, dword [ebp + 8]
push ecx
push edi
call fcn.004680d0
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push esi
push edi
call ebx
jmp 0x437883
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret