joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42de50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
jmp 0x42de6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42de71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42de60
mov eax, 1
add ebx, ebx
jne 0x42de83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42de78
jne 0x42de94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42de78
xor ecx, ecx
sub eax, 3
jb 0x42dea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42df1a
mov ebp, eax
add ebx, ebx
jne 0x42deb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42dec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42dee4
inc ecx
add ebx, ebx
jne 0x42ded0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42dec5
jne 0x42dee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42dec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42df04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42def5
jmp 0x42de66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42df04
add edi, ecx
jmp 0x42de66
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42df22
cmp byte [edi], 0x12
jne 0x42df22
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 0x42df27
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42df9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31334]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x313fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42df54
mov ecx, edi
jns 0x42df83
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 + 0x31400]
or eax, eax
je 0x42df99
mov dword [ebx], eax
add ebx, 4
jmp 0x42df71
call dword [esi + 0x31410]
mov ebp, dword [esi + 0x31404]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x42dfd3
sub esp, 0xffffff80
jmp 0x41bb2f
Function at 0x2aaa058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x2aaa1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x2aaa07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2aaa06a
add dl, dl
jne 0x2aaa089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2aaa0dc
xor eax, eax
add dl, dl
jne 0x2aaa096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2aaa17d
add dl, dl
jne 0x2aaa0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2aaa0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2aaa0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2aaa0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x2aaa0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2aaa075
mov eax, 1
add dl, dl
jne 0x2aaa0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2aaa0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2aaa0e1
sub eax, ebx
mov ebx, 1
jne 0x2aaa128
mov ecx, 1
add dl, dl
jne 0x2aaa10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2aaa119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2aaa105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2aaa075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x2aaa13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2aaa14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2aaa136
cmp eax, 0x7d00
jae 0x2aaa16d
cmp eax, 0x500
jb 0x2aaa168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2aaa075
cmp eax, 0x7f
ja 0x2aaa170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2aaa075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x2aaa19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2aaa075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407f18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407f2f
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x407f64
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x407f60
cmp edi, eax
jae 0x407f64
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x407f52
cmp edi, eax
jb 0x407f68
xor eax, eax
jmp 0x407f72
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x408134
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x4081c2
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x40816b
cmp dword [ebp - 8], 2
jne 0x4081c1
push esi
mov esi, dword [ebp + 0xc]
call fcn.00407dfd
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00407cfe
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x4081a9
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x4081b9
push eax
call fcn.004816be
pop ecx
mov edx, esi
call fcn.00407ca3
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x408978
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x4089a6
push dword [esp + 0xc]
call fcn.004816be
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push edi
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4089a6
inc edi
mov eax, edi
pop edi
ret 8
Function at 0x408a40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov dword [esi], eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x408ac9
push ebx
call fcn.0047da0e
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x408aba
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4dcc14
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408aba
cmp dword [ebp - 0xc], ebx
je 0x408aba
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x408ac9
push dword [ebp - 4]
call fcn.00480c9e
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x408b05
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c7349
call fcn.004c4460
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x50038c
mov dword [ebp - 0x10], edi
call fcn.0040959a
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x218], di
call fcn.00480cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00408051
push esi
call fcn.0040a396
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x408c53
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x408cac
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x408d62
mov eax, dword [ebp - 0x94]
dec eax
je 0x408d4e
dec eax
jne 0x408d62
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x408cfb
cmp dword [ebp - 0x9c], edx
jne 0x408ce5
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x408d4a
cmp dword [ebp - 0x9c], edi
jne 0x408d33
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x408d4a
cmp eax, 5
jne 0x408d25
cmp dword [ebp - 0x9c], 2
jne 0x408d0c
push eax
jmp 0x408d2c
cmp dword [ebp - 0x9c], 1
jne 0x408d19
mov edi, ecx
jmp 0x408d62
cmp dword [ebp - 0x9c], edi
jne 0x408d62
push 3
jmp 0x408d2c
cmp eax, 4
ja 0x408d2f
push 4
pop edi
jmp 0x408d62
cmp eax, ecx
jb 0x408d62
cmp dword [ebp - 0x9c], 2
jae 0x408d40
cmp eax, ecx
jbe 0x408d62
cmp byte [ebp + 0x76], dl
jne 0x408d62
call fcn.00408b88
mov edi, eax
jmp 0x408d62
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x40924c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00409416
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4092f9
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x4092f8
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.00409455
mov esi, eax
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4092f8
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4092f8
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x4092a9
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x4092e3
xor eax, eax
jmp 0x4092ea
push eax
call fcn.0047e220
pop ecx
mov edx, esi
call fcn.004095bb
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x409309
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x40a42a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a44f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a510
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40a4bf
lea eax, [ebp - 0x20c]
push 0x4dcde8
push eax
call fcn.004827f5
test eax, eax
pop ecx
pop ecx
je 0x40a4b3
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40a489
jmp 0x40a4c8
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x40a4c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x40a4ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a50f
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40a509
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x40a5f5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x40a607
or eax, 0xffffffff
leave
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40a64a
cmp dword [ebp - 0x110], 5
jne 0x40a64a
cmp dword [ebp - 0x10c], 0
je 0x40a657
push esi
call fcn.0040a513
test eax, eax
pop ecx
jne 0x40a657
leave
ret
push esi
call fcn.0040a42a
pop ecx
leave
ret
Function at 0x40a660
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40a720
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 2
push dword [ebp + 8]
call esi
test eax, eax
jne 0x40a6c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40a71f
push edi
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 2
push dword [ebp + 8]
call esi
test eax, eax
je 0x40a713
cmp dword [edi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x40a713
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x40a70f
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add esi, 8
cmp eax, dword [edi]
jb 0x40a6f1
jmp 0x40a713
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x40a71e
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp - 8], ebx
pop ebx
je 0x40a72f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 1]
leave
ret

Function at 0x40a734
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push 1
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x40a7a2
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40a79c
cmp dword [ebp - 0x118], 6
jne 0x40a79c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a7d7
mov dword [esi], edi
xor eax, eax
jmp 0x40a7d7
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], edi
push ebx
mov ebx, 0x490
jbe 0x40a7ce
lea edx, [ecx + 8]
cmp dword [edx], edi
je 0x40a7c4
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x40a7b5
jmp 0x40a7ce
imul eax, eax, 0xc
mov eax, dword [eax + ecx]
mov dword [esi], eax
xor ebx, ebx
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
pop ebx
pop edi
leave
ret
Function at 0x40b150
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
xor eax, eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
call fcn.0040af74
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x6c]
call fcn.0040b037
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0040b0d3
mov eax, dword [ebp + 8]
add esp, 0x10
pop esi
leave
ret

Function at 0x40bcab
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
push esi
mov esi, eax
cmp dword [esi + 0x14], 0x104
push edi
jb 0x40bccb
xor al, al
jmp 0x40bd58
and word [esp + 0x28], 0
push 0x208
lea eax, [esp + 0x2e]
push 0
push eax
call fcn.00480cb0
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x40bcf0
mov esi, dword [esi + 4]
jmp 0x40bcf3
add esi, 4
push esi
lea eax, [esp + 0x2c]
push 0x105
push eax
call fcn.00482e24
and dword [esp + 0x14], 0
add esp, 0xc
push 6
xor eax, eax
pop ecx
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x10], 3
mov word [esp + 0x1c], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x1a], 0
jne 0x40bcc4
test eax, eax
je 0x40bd55
cmp eax, 2
je 0x40bd55
cmp eax, 0x402
je 0x40bd55
xor eax, eax
jmp 0x40bd58
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e349
Capabilities:
Terminate process

Disassembly:
push ebx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x40e35d
push ebx
call fcn.00417176
test eax, eax
pop ecx
jne 0x40e39f
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x40e371
push edi
call fcn.00417176
test eax, eax
pop ecx
jne 0x40e39e
mov eax, ebx
call fcn.0041715b
mov eax, edi
call fcn.0041715b
lea eax, [esi + 0xc]
cmp dword [eax], 0
mov byte [esi + 0x10], 0
je 0x40e38f
xor eax, eax
jmp 0x40e39e
push esi
push 0x40e31f
push eax
call fcn.004170d9
add esp, 0xc
pop edi
pop ebx
ret
Function at 0x40e786
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4c659f
call fcn.004c4460
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi], eax
mov dword [ebp - 4], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
lea esi, [edi + 0x10]
push 8
pop edx
mov ecx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi], ecx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov dword [edi + 0x24], ecx
push 4
pop edx
mov ecx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], edx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], edx
mov dword [edi + 0x4c], ecx
mov byte [ebp - 4], 5
mov ebx, dword [edi + 8]
call fcn.00417309
mov ebx, dword [edi + 8]
lea esi, [edi + 0x38]
call fcn.00417309
mov ebx, dword [edi + 0xc]
lea esi, [edi + 0x24]
call fcn.00417309
mov ebx, dword [edi + 0xc]
lea esi, [edi + 0x4c]
call fcn.00417309
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41232f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
je 0x41233b
xor eax, eax
pop ebp
ret
lea eax, [esi + 0x30]
push eax
call fcn.004171d1
test eax, eax
pop ecx
je 0x41234e
push 0xc
pop eax
pop ebp
ret
push edi
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.00417176
test eax, eax
pop ecx
jne 0x4123c2
lea eax, [esi + 0x18]
push eax
call fcn.00417176
test eax, eax
pop ecx
jne 0x4123c2
lea eax, [esi + 0x1c]
push eax
call fcn.00417176
test eax, eax
pop ecx
jne 0x4123c2
push dword [ebp + 0x10]
lea eax, [esi + 0x20]
push dword [ebp + 0x10]
push eax
call fcn.00417187
add esp, 0xc
test eax, eax
jne 0x4123c2
push dword [ebp + 0x10]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.00417187
add esp, 0xc
test eax, eax
jne 0x4123c2
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push dword [ebp + 8]
mov dword [esi + 4], edi
push eax
call fcn.004170d9
add esp, 0xc
test eax, eax
je 0x4123c7
push 0xc
pop eax
jmp 0x4123cb
mov dword [esi], edi
xor eax, eax
pop edi
pop ebp
ret

Function at 0x414a2f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, 0x100
push edi
mov ebx, eax
or esi, eax
shl dword [ebp + 0x10], 1
mov eax, esi
shr eax, 7
and eax, 1
push eax
mov eax, ebx
and eax, dword [ebp + 0x10]
mov ecx, esi
add eax, ebx
shr ecx, 8
add ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx*2]
mov eax, dword [ebp + 8]
call fcn.004149a9
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x414a40
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x414a81
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or ecx, 0x100
push esi
mov esi, dword [esp + 8]
mov edx, ecx
shr edx, 8
movzx edx, word [esi + edx*2]
mov esi, ecx
shr esi, 7
and esi, 1
neg esi
sar esi, 4
and esi, 0x7f
shr edx, 4
xor edx, esi
mov esi, dword [esp + 0xc]
add eax, dword [esi + edx*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x414a8a
pop esi
ret

Function at 0x414abf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x100
push esi
xor eax, eax
or edx, ecx
push edi
shl dword [ebp + 0xc], 1
mov esi, ecx
and esi, dword [ebp + 0xc]
mov edi, edx
add esi, ecx
shr edi, 8
add edi, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + edi*2]
mov edi, edx
shr edi, 7
and edi, 1
neg edi
shr esi, 4
sar edi, 4
and edi, 0x7f
xor esi, edi
mov edi, dword [ebp + 0x10]
add eax, dword [edi + esi*4]
add edx, edx
mov esi, edx
xor esi, dword [ebp + 0xc]
not esi
and ecx, esi
cmp edx, 0x10000
jb 0x414acd
pop edi
pop esi
pop ebp
ret

Function at 0x414bc5
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, eax
xor eax, eax
inc edx
test esi, esi
je 0x414c05
push ebx
push edi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx edi, word [edi + edx*2]
shr dword [esp + 0x14], 1
and ecx, 1
mov ebx, ecx
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [esp + 0x18]
add eax, dword [ebx + edi*4]
add edx, edx
or edx, ecx
dec esi
jne 0x414bd3
pop edi
pop ebx
pop esi
ret