joyce8/EMBER2024-capa huggingface dataset:
Function at 0x703e1124
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
cmp dword [ebp + 8], 0
je 0x703e1311
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x100
lea eax, [ebp - 0x118]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__vsnprintf]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x703e1314
lea eax, [ebp - 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetTempPathW]
call eax
sub esp, 8
test eax, eax
sete al
test al, al
jne 0x703e1317
mov dword [esp + 0x14], 0x58
mov dword [esp + 0x10], 0xdb
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0xe
lea eax, [ebp - 0x54a]
mov dword [esp + 4], eax
mov dword [esp], 0x70628604
call fcn.703e1084
lea eax, [ebp - 0x54a]
mov dword [esp + 8], eax
lea eax, [ebp - 0x320]
mov dword [esp + 4], eax
lea eax, [ebp - 0x528]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call eax
sub esp, 0xc
test eax, eax
sete al
test al, al
jne 0x703e131a
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
lea eax, [ebp - 0x528]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x703e131d
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x14], 0x7062617c
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call eax
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x52c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x52c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x703e131e
nop
jmp 0x703e131e
nop
jmp 0x703e131e
nop
jmp 0x703e131e
nop
jmp 0x703e131e
nop
leave
ret
Function at 0x703e13a8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov byte [ebp - 0x15], 0x31
mov byte [ebp - 0x14], 0xc0
mov byte [ebp - 0x13], 0xc2
mov byte [ebp - 0x12], 0x14
mov byte [ebp - 0x11], 0
mov dword [esp + 0x14], 0xe6
mov dword [esp + 0x10], 0xa1
mov dword [esp + 0xc], 0x81
mov dword [esp + 8], 9
lea eax, [ebp - 0x3e]
mov dword [esp + 4], eax
mov dword [esp], 0x70628628
call fcn.703e1084
lea eax, [ebp - 0x3e]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x703e1427
mov dword [esp + 4], 0
mov dword [esp], 0x9d
call fcn.703e060c
jmp 0x703e1537
mov dword [esp + 0x14], 0xc3
mov dword [esp + 0x10], 0x47
mov dword [esp + 0xc], 0x81
mov dword [esp + 8], 0xd
lea eax, [ebp - 0x2a]
mov dword [esp + 4], eax
mov dword [esp], 0x706286a4
call fcn.703e0250
lea eax, [ebp - 0x2a]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x703e1493
mov dword [esp + 4], 0
mov dword [esp], 0xa0
call fcn.703e060c
jmp 0x703e1537
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], 5
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
test eax, eax
sete al
test al, al
je 0x703e14e0
mov dword [esp + 4], 0
mov dword [esp], 0xa4
call fcn.703e060c
jmp 0x703e1537
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x15]
mov dword [eax], edx
movzx edx, byte [ebp - 0x11]
mov byte [eax + 4], dl
mov eax, dword [ebp - 0x10]
test eax, eax
sete al
test al, al
je 0x703e1511
mov dword [esp + 4], 0
mov dword [esp], 0xa7
call fcn.703e060c
jmp 0x703e1537
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 5
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x8de32c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de332
pop ebp
sub ebp, 6
sub ebp, 0x4de32c
jmp 0x8de390
jmp 0x8de399
mov eax, 0x4de32c
add eax, ebp
add eax, 0x93
mov ecx, 0x63a
mov edx, 0x47d81bf4
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de3b0
jmp 0x8de3c3
sahf
mov ah, 0x9c
hlt
Function at 0x402780
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
lea edi, [ebp - 0x11c]
push 0x47
pop ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x40e020]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x10
mov esi, esp
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp esi, esp
call fcn.00408d80
test eax, eax
je 0x40287e
mov esi, esp
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.00408d80
test eax, eax
je 0x40287e
cmp dword [ebp - 0x24], 0
je 0x40287e
mov esi, esp
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.00408d80
test eax, eax
je 0x40287e
mov esi, esp
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp esi, esp
call fcn.00408d80
test eax, eax
je 0x40287e
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004021ca
add esp, 0x10
movzx eax, al
test eax, eax
je 0x40287e
push dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
call fcn.00402954
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x40287e
mov byte [ebp - 9], 1
cmp dword [ebp - 0x24], 0
je 0x402896
mov esi, esp
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.00408d80
cmp dword [ebp - 0x18], 0
je 0x4028b0
mov esi, esp
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.00408d80
mov al, byte [ebp - 9]
push edx
mov ecx, ebp
push eax
lea edx, [0x4028e4]
call fcn.00408d28
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408da3
add esp, 0x11c
cmp ebp, esp
call fcn.00408d80
mov esp, ebp
pop ebp
ret
Function at 0x402954
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push ebx
push esi
push edi
lea edi, [ebp - 0x190]
push 0x64
pop ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x40e020]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
pop ecx
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x8c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
and dword [ebp - 0x98], 0
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 8
jae 0x402b0d
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 8
jae 0x4029f0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x4029f7
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xa4], 8
jae 0x402a2d
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x402a34
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb0]
shr eax, 2
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + eax*2 - 0x8c]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xbc]
shr eax, 4
mov ecx, dword [ebp - 0xb0]
and ecx, 3
shl ecx, 4
or eax, ecx
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + eax*2 - 0x8c]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc8]
shr eax, 6
mov ecx, dword [ebp - 0xbc]
and ecx, 0xf
shl ecx, 2
or eax, ecx
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + eax*2 - 0x8c]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc8]
and eax, 0x3f
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + eax*2 - 0x8c]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
jmp 0x40299a
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
push 0x3d
pop eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0xc]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
xor eax, eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 0xc]
mov word [edx + ecx*2], ax
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x402b6c]
call fcn.00408d28
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408da3
mov esp, ebp
pop ebp
ret
Function at 0x408876
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x144]
push 0x51
pop ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00408642
mov dword [ebp - 0x14], eax
push 0x208
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x20], eax
push 0x208
push 0
push dword [ebp - 0x20]
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x208
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x44], eax
push 0x208
push 0
push dword [ebp - 0x44]
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x208
push dword [ebp - 0x20]
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00408a14
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.00408d80
test eax, eax
jne 0x408977
mov esi, esp
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.00408d80
test eax, eax
je 0x408962
and dword [ebp + 0x10], 0
jmp 0x408977
mov esi, esp
push dword [ebp - 0x44]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp esi, esp
call fcn.00408d80
mov esi, esp
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00408d80
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x128], eax
push dword [ebp - 0x128]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x11c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
pop ecx
push edx
mov ecx, ebp
push eax
lea edx, [0x4089da]
call fcn.00408d28
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x144
cmp ebp, esp
call fcn.00408d80
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408b24
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x150]
push 0x54
pop ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
and dword [ebp - 0x14], 0
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00408642
mov dword [ebp - 0x20], eax
push 0x208
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x2c], eax
push 0x208
push 0
push dword [ebp - 0x2c]
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x104
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x74], 0xf003f
cmp dword [ebp + 0x14], 0
je 0x408bad
mov eax, dword [ebp - 0x74]
or eax, 0x100
mov dword [ebp - 0x74], eax
push dword [ebp - 0x2c]
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00408a14
mov esi, esp
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.00408d80
mov dword [ebp - 0x50], eax
mov esi, esp
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push dword [ebp - 0x74]
push 0
push 0
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp esi, esp
call fcn.00408d80
mov dword [ebp - 0x44], eax
mov esi, esp
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00408d80
mov esi, esp
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x74]
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.00408d80
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x408c6f
mov eax, dword [ebp - 0x50]
shl eax, 1
mov esi, esp
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x68]
push dword [ebp - 0x5c]
push dword [ebp + 0xc]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.00408d80
mov esi, esp
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00408d80
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x140], eax
push dword [ebp - 0x140]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x408cb0]
call fcn.00408d28
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x150
cmp ebp, esp
call fcn.00408d80
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
sub esp, 0xfffffffc
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
sub esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x42e000
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x69737a63
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x64967f59
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4062ca
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 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
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 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406426
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 0x406400
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
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 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
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
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4385c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x43869b
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x438636
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00438200
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x438604
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x438754
call fcn.00438648
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x4386f3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00438200
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4386ac
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x438754
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00438200
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x43874f
jmp 0x438754
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4387c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x4388a4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x43883f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00438360
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x43880d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x43895d
call fcn.00438851
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x4388fc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00438490
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4388b5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x43895d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00438490
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x438958
jmp 0x43895d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret