joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc550
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call sym.___cxa_get_globals
mov edx, dword [eax]
add dword [eax + 4], 1
test edx, edx
je sym.___cxa_rethrow.cold
mov ecx, dword [edx + 0x30]
mov ebx, dword [edx + 0x34]
mov esi, 1
add ecx, 0xbcd4d500
mov edi, ecx
adc ebx, 0xb8b1aabc
xor ecx, ecx
cmp esi, edi
sbb ecx, ebx
jae 0x4bc5a7
xor ecx, ecx
mov dword [eax], ecx
lea ebx, [edx + 0x30]
mov dword [esp], ebx
call sym.__Unwind_Resume_or_Rethrow
mov dword [esp], ebx
call sym.___cxa_begin_catch
jmp sym.___cxa_rethrow.cold
neg dword [edx + 0x14]
jmp 0x4bc58f

Function at 0x4bc600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [0x5140ec]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test esi, esi
je 0x4bc6d5
mov edx, dword [esi]
mov eax, dword [edx - 8]
mov ecx, dword [edx - 4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ebx, [esi + eax]
mov dword [esp + 0x40], 0
mov edx, dword [ebx]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x10
cmp dword [edx - 4], ecx
jne 0x4bc6d5
mov edx, dword [esp + 0x7c]
test edx, edx
js 0x4bc671
add eax, dword [esp + 0x7c]
je 0x4bc720
mov eax, dword [ecx]
mov dword [esp + 0xc], ebx
lea edx, [esp + 0x38]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], 6
call dword [eax + 0x1c]
sub esp, 0x1c
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x4bc6d5
mov ecx, dword [esp + 0x44]
mov eax, ecx
not eax
test al, 6
je 0x4bc6d7
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
and edx, eax
not edx
and edx, 6
je 0x4bc6d7
and eax, 5
cmp eax, 4
je 0x4bc6d5
test ecx, ecx
je 0x4bc6f8
xor ebx, ebx
mov eax, dword [esp + 0x4c]
sub eax, dword [0x5140ec]
jne 0x4bc77c
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
test eax, eax
js 0x4bc740
add ebx, dword [esp + 0x7c]
cmp esi, ebx
jne 0x4bc6d5
lea esi, cs:[esi]
mov ebx, dword [esp + 0x2c]
jmp 0x4bc6d7
mov dword [esp], edi
mov dword [esp + 0x2c], ecx
call method.std::type_info.operator_std::type_info_const__const
sub esp, 4
test al, al
mov ecx, dword [esp + 0x2c]
je 0x4bc671
jmp 0x4bc6d7
cmp dword [esp + 0x7c], 0xfffffffe
je 0x4bc6d5
mov eax, dword [edi]
mov dword [esp + 0xc], esi
mov ecx, edi
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x7c]
mov dword [esp], esi
call dword [eax + 0x20]
not eax
sub esp, 0x10
test al, 6
jne 0x4bc6d5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
jmp 0x4bc710
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4bf0c0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x5140ec]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0x4c7578
call sym._pthread_mutex_init
mov dword [esp], str.GLIBCXX_TUNABLES
mov dword [0x4c757c], 0
mov dword [0x4c7580], 0
mov dword [0x4c7584], 0
call sym._getenv
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], str.obj_size
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], str.obj_count
mov dword [esp + 0x28], 0x40
test eax, eax
jne 0x4bf166
jmp 0x4bf237
mov dword [esp], ebx
mov dword [esp + 4], 0x3a
call sym._strchr
mov ebx, eax
test eax, eax
je 0x4bf1e0
xor eax, eax
cmp byte [ebx], 0x3a
sete al
add ebx, eax
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, 0x62696c67
xor edx, 0x2e787863
or eax, edx
jne 0x4bf150
mov eax, dword [ebx + 7]
mov edx, dword [ebx + 0xb]
xor eax, 0x5f68652e
xor edx, 0x6c6f6f70
or eax, edx
jne 0x4bf150
cmp byte [ebx + 0xf], 0x2e
jne 0x4bf150
add ebx, 0x10
lea esi, [esp + 0x14]
lea ebp, [esp + 0x2c]
mov edi, dword [esi]
test edi, edi
je 0x4bf1c7
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym._memcmp
test eax, eax
jne 0x4bf1d1
cmp byte [ebx + edi], 0x3d
je 0x4bf265
add esi, 0xc
cmp ebp, esi
jne 0x4bf1aa
jmp 0x4bf150
mov eax, dword [esp + 0x28]
mov edx, 0x100
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
cmove eax, ecx
add eax, 0x2c
imul eax, edx
lea ebx, [eax*4]
mov dword [0x4c7584], ebx
test ebx, ebx
jne 0x4bf246
mov dword [esp], sym.___tcf_0_4
call dbg.atexit
mov eax, dword [esp + 0x2c]
sub eax, dword [0x5140ec]
jne 0x4bf2b0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x4c7584], 0x3200
mov ebx, 0x3200
mov dword [esp], ebx
call sym._malloc
mov dword [0x4c7580], eax
test eax, eax
je 0x4bf2a3
xor edx, edx
mov dword [0x4c757c], eax
mov dword [eax], ebx
mov dword [eax + 4], edx
jmp 0x4bf213
lea eax, [esp + 0x10]
xor ebp, ebp
mov dword [esp + 4], eax
lea eax, [ebx + edi + 1]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sym._strtoul
mov ebx, dword [esp + 0x10]
movzx edx, byte [ebx]
cmp dl, 0x3a
je 0x4bf293
test dl, dl
jne 0x4bf150
test eax, eax
js 0x4bf150
mov dword [esi + 8], eax
jmp 0x4bf150
xor ecx, ecx
mov dword [0x4c7584], ecx
jmp 0x4bf213
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x43b664
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop eax
add edx, 1
add ebx, edx
or ebx, ebx
call fcn.0043b6a6
sub ebx, ebx
add edx, 1
xor dword [edi], eax
sub edx, 1
or edx, edx
add ebx, 0x346fac10
inc edi
mov ebx, 0xe21240a6
cmp edi, ecx
jne fcn.0043b664
or edx, ebx
and edx, ebx
ret
Function at 0x401750
Capabilities:
Encode data using xor

Disassembly:
adc dword [eax - 0x57], eax
xor byte [eax], dl
pop dword [eax]
sbb dl, byte [edx]
inc eax
add byte [0x79004012], bh
adc dword [eax + 0x3c], eax
sub dword [edx], edx
inc eax
add byte [esi + 0x14], dh
inc eax
pop esi
fcom dword [eax + eax*2]
add bh, bl
pop ds
inc eax
add byte [edi], dl
scasd eax, dword es:[edi]
inc eax
add byte [esi], dl
push 0x40
add byte [ecx + 0x1b], dl
add dword [ebx], ebx
hlt
rcl byte [eax - 0x36137490]
jo 0x4016dd
in al, dx
leave
inc ebp
or byte [ebx + 0x6ac0c80d], cl
mov cl, 0x50
add ecx, 0x40
push 0x6ad277
idiv bh
adc eax, 0x8d78c149
mov eax, dword [0x4102ac]
sti
out dx, al
or al, 0x85
sal byte [edi + ecx + 0x50], 0x68
push esp
rol byte [eax], cl
call dword [0x40cd5c]
xor dword [0xff016a08], 0x27
jo 0x40174e
inc eax
add byte [eax - 0x7e1374ab], dl
push 0xffffffffffffffe9
add byte [eax], al
add byte [ecx + 0x410278], ah
test eax, eax
jo 0x4017ee
inc eax
inc ecx
inc edx
je 0x4017bb
push 0x413c47
push eax
xor al, 0x9e
inc eax
add byte [eax], al
pop ax
or eax, 0x410298
jmp 0x4017cf
mov edx, dword [0xa24118b4]
push edx
cdq
call 0x40d950
mov cx, word [0x4117f4]
mov dword [0xc97d1808], eax
mov eax, dword [0x1c0c0288]
push ebx
push esi
mov edx, dword [edx + 0x13]
rcr ebx, 0
out 0xd, ax
clc
cmp dword [ecx], eax
test eax, eax
push edi
jne 0x40178d
mov edx, dword [0x411885]
adc eax, 0x411885
lcall 0xffd4, 0x40d4987d
pushfd
mov eax, dword [0x410278]
push edx
daa
or byte [ebp - 0x5e5cdd40], al
sbb al, byte [edx]
inc ecx
add byte [eax + 0x68], dl
or byte [eax + 0x1d680041], 0xd4
inc eax
add bh, bh
salc
add esp, 0xc
mov eax, dword [0x40d014]
cld
outsb dx, byte [esi]
mov eax, 0x40cc80
jne 0x40182f
mov eax, 0x93d4fb
push eax
test ch, 0x22
inc eax
add bh, bh
salc
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
shl dword [eax], 0x51
adc eax, sym.imp.MSVCRT.dll_fflush
jmp 0x15cb7c10
Function at 0x405d1e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x409880
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov byte [ebp - 0x20], 1
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x10], 0x409870
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405d6f
xor eax, eax
jmp 0x405d9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405d9b
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
je 0x405d99
xor eax, eax
jmp 0x405d9b
call esi
pop esi
leave
ret 4

Function at 0x405dbd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x43fd88
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x43fd88], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405dfc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405e00
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x24], 0
push eax
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405feb
and eax, 0xfffffffe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405ff1
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
inc ecx
push 0
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_CreateFileW]
ret 0xc

Function at 0x406020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40995c]
mov dword [ebp - 8], eax
mov eax, dword [0x409960]
dec edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x406070
test edi, edi
jne 0x40602d
mov word [esi], ax
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x40606a
Function at 0x40622a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x800
push dword [ebp + 8]
call fcn.004061c9
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x40629b
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
mov word [esi + 0x7fe], ax
pop edi
jne 0x40629b
cmp dword [ebp + 0xc], 1
je 0x4062a0
cmp dword [ebp + 0xc], 2
je 0x4062a0
xor eax, eax
mov word [esi], ax
pop esi
leave
ret 0x14

Function at 0x406458
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40647c
xor eax, eax
test eax, eax
je 0x40648f
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40648f
xor ecx, ecx
jmp 0x406492
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x4092b0]
push ecx
lea eax, [ebp + eax*2 - 0x23c]
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 8
push 0
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4065d1
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405fcb
mov edi, eax
cmp edi, 0xffffffff
je 0x406612
test byte [esp + 0x10], 1
push esi
je 0x4065fb
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x406603
xor eax, eax
inc eax
jmp 0x406614
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4065f2
test byte [esp + 0x10], 4
jne 0x406612
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x43fdd0
push esi
call fcn.0040635e
push esi
call fcn.00405ef4
mov edi, eax
test edi, edi
jne 0x4066dd
xor eax, eax
jmp 0x40673b
push edi
call fcn.00406380
test byte [0x445aa0], 0x80
je 0x4066fa
movzx eax, word [edi]
test ax, ax
je 0x4066d9
cmp ax, 0x5c
je 0x4066d9
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x40671c
push esi
call fcn.00406431
test eax, eax
je 0x406716
test byte [eax], 0x10
je 0x406740
push esi
call fcn.00406648
push esi
call ebx
cmp eax, edi
jg 0x406707
push esi
call fcn.00406619
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x40673a
Function at 0x4069b9
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [0x4405d0], 0x55004e
mov dword [0x4405d4], 0x4c
mov edi, 0x400
mov ebp, 0x4405d0
test esi, esi
je 0x406a0f
push 1
push 0
push esi
call fcn.00405ff1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406b2e
cmp eax, edi
jg 0x406b2e
push edi
mov esi, 0x441c20
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406b2e
cmp eax, edi
jg 0x406b2e
push esi
push ebp
push str._ls_ls_r_n
push 0x441020
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x445a30]
push dword [eax + 0x128]
push esi
call fcn.00406744
push 4
push 0xc0000000
push esi
call fcn.00405ff1
mov ebp, eax
mov dword [esp + 0x18], ebp
cmp ebp, 0xffffffff
je 0x406b2e
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 0x406b27
push edi
push esi
push ebp
call fcn.00406074
test eax, eax
je 0x406b27
push str._Rename__r_n
push esi
call fcn.00405f51
test eax, eax
jne 0x406ac5
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406afa
push 0x40998c
add eax, 0xa
push eax
call fcn.00405f51
mov ebp, eax
test ebp, ebp
je 0x406af6
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x406ae7
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406ae1
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x406afc
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
push 0x441020
add eax, esi
push eax
call fcn.00405fa7
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.004060a3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406b33
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406b56
push dword [esp + 8]
push dword [esp + 8]
call fcn.004069b9
pop ecx
pop ecx
inc dword [0x445b10]
ret 8
Function at 0x406b5f
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.004066bc
mov dword [ebp - 8], eax
test bl, 8
je 0x406b9d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x445b08], eax
jmp 0x406d1f
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
push esi
je 0x406bb8
test eax, eax
je 0x406ccb
test bl, 2
je 0x406ccb
push edi
mov esi, 0x441420
push esi
call fcn.0040635e
cmp dword [ebp + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x406bda
push str..
push esi
call ebx
jmp 0x406be0
push edi
call fcn.00406648
cmp word [edi], 0
jne 0x406bf0
cmp word [0x441420], 0x5c
jne 0x406bf8
push 0x4092b0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406cbf
cmp word [ebp - 0x22c], 0x2e
jne 0x406c43
cmp word [ebp - 0x22a], 0
je 0x406ca2
cmp word [ebp - 0x22a], 0x2e
jne 0x406c43
cmp word [ebp - 0x228], 0
je 0x406ca2
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040635e
test byte [ebp - 0x258], 0x10
je 0x406c6e
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x406ca2
push dword [ebp + 0xc]
push edi
call fcn.00406b5f
jmp 0x406ca2
push dword [ebp - 4]
push edi
call fcn.004065d1
test eax, eax
jne 0x406c9a
cmp dword [ebp - 4], eax
je 0x406c92
push edi
push 0xfffffffffffffff1
call fcn.004050bc
push 0
push edi
call fcn.00406b33
jmp 0x406ca2
inc dword [0x445b08]
jmp 0x406ca2
push edi
push 0xfffffffffffffff2
call fcn.004050bc
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406c1b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x406ccb
xor eax, eax
mov word [ebx - 2], ax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x406d1e
cmp dword [ebp - 8], esi
je 0x406d0e
push edi
call fcn.00406431
test eax, eax
je 0x406d1e
push edi
call fcn.00406619
mov eax, dword [ebp - 4]
or eax, 1
push eax
push edi
call fcn.004065d1
test eax, eax
jne 0x406d16
cmp dword [ebp - 4], esi
je 0x406d0e
push edi
push 0xfffffffffffffff1
call fcn.004050bc
push esi
push edi
call fcn.00406b33
jmp 0x406d1e
inc dword [0x445b08]
jmp 0x406d1e
push edi
push 0xffffffffffffffe5
call fcn.004050bc
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x406d25
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x442424], 0
jne 0x406d63
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406d39
mov dword [ecx*4 + 0x442420], eax
inc ecx
cmp ecx, 0x100
jl 0x406d34
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406d90
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x442420]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406d71
not eax
pop ebp
ret 0xc

Function at 0x406dce
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, dword [esp + 4]
shr eax, 0xf
xor eax, dword [esp + 4]
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1033ec35
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
ret
push esi
not si
push ecx
movsx esi, bp
cmovg cx, cx
mov esi, 0x11825faa
push ebp
not ecx
push ebx
jmp 0x104370a6
xor edx, ebx
clc
ror edx, 1
cmp edi, ecx
bswap edx
sub edx, 0x6fd16ce8
clc
jmp 0x10380695
bswap edx
xor ebx, edx
add ebp, edx
jmp 0x102f69e1
push edx
mov dh, 0x1c
pushfd
bt ecx, ecx
push eax
cmovo bx, bp
rcr ebx, cl
push edi
btc ax, di
mov ecx, 0
bts bx, di
rdtsc
push ecx
mov esi, dword [esp + 0x28]
btr di, dx
clc
rol ax, 0x29
ror esi, 2
adc eax, 0x59331814
rdtsc
add esi, 0x5ba73251
neg eax
sbb ebx, ebx
xor esi, 0x61671ccd
rol ah, 0x53
lea esi, [esi + 0x35c01c26]
cdq
bts ax, sp
xchg di, dx
add esi, ecx
btc dx, bp
mov edi, esp
sub esp, 0xc0
or edx, esp
shl al, 0xdb
mov ebx, esi
xadd ebp, eax
btc ebp, ebp
mov eax, 0
rcr ebp, 0x60
cmova ebp, ebx
adc bp, 0x8fb
sub ebx, eax
shr ebp, 0x3c
jmp 0x1073be03
lea ebp, [0x1073be03]
setp dl
shl dl, 0xb1
mov edx, dword [esi]
lea esi, [esi + 4]
jmp 0x103764b8
Function at 0x422828
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 0x42284f
call fcn.0040caf5
mov dword [eax], esi
call fcn.0040cae2
push 0x16
pop esi
mov dword [eax], esi
call fcn.0040beea
mov eax, esi
jmp 0x4228a4
test dword [ebp + 0xc], 0xfffffff9
jne 0x422835
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42287c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040cb08
pop ecx
call fcn.0040cae2
mov eax, dword [eax]
jmp 0x4228a4
test al, 0x10
jne 0x4228a2
test al, 1
je 0x4228a2
test byte [ebp + 0xc], 2
je 0x4228a2
call fcn.0040caf5
mov dword [eax], 5
call fcn.0040cae2
mov dword [eax], 0xd
jmp 0x422873
xor eax, eax
pop esi
pop ebp
ret

Function at 0x433001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1a7e0d15
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6b756526
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219