joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64b094
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffed0
mov dword [esp], eax
lea edi, [esp + 0x110]
mov ebp, edx
mov esi, 0x10
lea ebx, [esp + 0x10]
mov eax, dword [ebp]
call fcn.0064af90
mov dword [ebx], eax
add ebp, 4
add ebx, 4
dec esi
jne 0x64b0b3
mov esi, 0x30
lea ebx, [esp + 0x14]
mov eax, dword [ebx]
call fcn.0064aff4
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x34]
call fcn.0064b018
mov edx, dword [ebx - 4]
add edx, dword [esp + 4]
add edx, dword [ebx + 0x20]
add eax, edx
mov dword [ebx + 0x3c], eax
add ebx, 4
dec esi
jne 0x64b0cf
mov esi, 8
mov eax, dword [esp]
mov edx, edi
mov ecx, dword [eax]
mov dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0x64b101
mov esi, 0x40
mov ebx, 0x676fac
lea ebp, [esp + 0x10]
mov eax, dword [edi]
call fcn.0064b03c
mov dword [esp + 4], eax
mov eax, dword [edi]
mov edx, eax
and edx, dword [edi + 4]
and eax, dword [edi + 8]
xor edx, eax
mov eax, dword [edi + 4]
and eax, dword [edi + 8]
xor edx, eax
mov eax, edx
add eax, dword [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x10]
call fcn.0064b068
mov edx, dword [edi + 0x10]
and edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
not ecx
and ecx, dword [edi + 0x18]
xor edx, ecx
mov dword [esp + 0xc], edx
add eax, dword [edi + 0x1c]
add eax, dword [esp + 0xc]
add eax, dword [ebx]
add eax, dword [ebp]
mov edx, dword [edi + 0x18]
mov dword [edi + 0x1c], edx
mov edx, dword [edi + 0x14]
mov dword [edi + 0x18], edx
mov edx, dword [edi + 0x10]
mov dword [edi + 0x14], edx
mov edx, dword [edi + 0xc]
add edx, eax
mov dword [edi + 0x10], edx
mov edx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov edx, dword [edi + 4]
mov dword [edi + 8], edx
mov edx, dword [edi]
mov dword [edi + 4], edx
add eax, dword [esp + 8]
mov dword [edi], eax
add ebp, 4
add ebx, 4
dec esi
jne 0x64b11c
mov esi, 8
mov eax, edi
mov edx, dword [esp]
mov ecx, dword [eax]
add dword [edx], ecx
add edx, 4
add eax, 4
dec esi
jne 0x64b1b5
add esp, 0x130
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x64b300
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, 0x40
mov ecx, eax
xor byte [ecx], dl
inc ecx
dec esi
jne 0x64b308
pop esi
ret
Function at 0x705620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22c000]
mov dword [edi + 0x25fc34], 0x15bcf262
push edi
or ebp, 0xffffffff
jmp 0x70564a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x705651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x705640
mov eax, 1
add ebx, ebx
jne 0x705663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x705674
jne 0x705693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x705693
dec eax
add ebx, ebx
jne 0x705680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x705658
add ebx, ebx
jne 0x70568f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7056e5
xor ecx, ecx
sub eax, 3
jb 0x7056ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70571a
sar eax, 1
mov ebp, eax
jmp 0x7056b6
add ebx, ebx
jne 0x7056b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x705684
inc ecx
add ebx, ebx
jne 0x7056c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x705684
add ebx, ebx
jne 0x7056d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7056c6
jne 0x7056e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7056c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x705704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7056f6
jmp 0x705646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x705704
add edi, ecx
jmp 0x705646
pop esi
mov edi, esi
mov ecx, 0xc7c4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x705722
cmp byte [edi], 0x2c
jne 0x705722
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 0x705727
lea edi, [esi + 0x301000]
mov eax, dword [edi]
or eax, eax
je 0x705796
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31b9c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31baf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x705754
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x31baf4]
or eax, eax
je 0x705790
mov dword [ebx], eax
add ebx, 4
jmp 0x705771
call dword [esi + 0x31bb04]
mov ebp, dword [esi + 0x31baf8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x7057ca
sub esp, 0xffffff80
jmp fcn.0065fc00
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.0040219e
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.00407377
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401ecb
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x40167a
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebx, 0xb83bf
mov ebp, str._d_The_remote_protocol_ID:
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 9
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x77
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x61
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x5f
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x78
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x45
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xa4
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xe1
add esp, 0x40
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x7f
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xec
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xe5
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xc0
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xa5
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x2b
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x95
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x90
add esp, 0x40
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xec
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x9c
add esp, 0x10
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159d
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x5d8e3f
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x5d8b64
or edi, edi
add eax, 0xa36af15d
and eax, eax
call fcn.005d8e7b
and eax, eax
dec eax
mov edi, edi
xor dword [ecx], ebx
sub edi, 0xdd5919a
add ecx, 2
and eax, edi
add eax, edi
or edi, edi
cmp ecx, esi
jl fcn.005d8e3f
mov eax, edi
ret
Function at 0x976080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x9760c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x99b458
push ecx
call fcn.009861e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.009861e1
add esp, 0x10
jmp 0x9760d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0098620b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00985dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00976050
mov eax, dword [0x9a0728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], reloc.wtsapi32.dll_WTSSetSessionInformationW
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x97613b
push esi
call fcn.00975fb0
add esp, 4
mov dword [0x9a0728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x97614c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00975ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x979440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9794b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x97948e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x979471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x97947e
add edx, ecx
cmp ebx, edx
jb 0x97948a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x979467
xor ecx, ecx
jmp 0x9794a2
test eax, eax
jne 0x979492
xor ecx, ecx
jmp 0x9794a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.009793c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x9798f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x979921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x979946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x97996e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], reloc.wtsapi32.dll_WTSQueryUserToken
jne 0x979993
push ecx
push esi
call fcn.009794c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x980e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push reloc.wtsapi32.dll_WTSVirtualChannelRead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x980ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.0097d7a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x980e61
mov edx, dword [eax]
jmp 0x980e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.0097f050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x980ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x980ebf
cmp esi, edi
je 0x980ebf
mov ecx, esi
call fcn.00978a00
push esi
call fcn.009861c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.0097d990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x980ef5
mov eax, dword [eax]
jmp 0x980ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.0097c640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x980f25
mov eax, dword [eax]
jmp 0x980f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x980f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x980f76
cmp esi, edi
je 0x980f76
mov eax, dword [esi]
cmp eax, edi
je 0x980f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x980f6d
push eax
call fcn.009861c8
add esp, 4
push esi
call fcn.009861c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x981f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push reloc.wtsapi32.dll_WTSVirtualChannelRead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x982002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00985dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x982002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.0097d6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0098620b
push 0x10
call fcn.009861d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x981fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.009721c0
jmp 0x981fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00981b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x981ff0
mov ecx, edi
call fcn.009722c0
push edi
call fcn.009861c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x982021
inc ebx
cmp ebx, 0x20
jb 0x981f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x984000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x984131
push esi
call fcn.00987145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00976080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x984131
push 0
push ebp
call fcn.009763a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00976260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x98408b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009762f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x984121
push str.CompanyName
push edi
call fcn.009853f0
push eax
push ebx
push esi
call fcn.00983f60
push str.FileDescription
push edi
call fcn.009853f0
push eax
push ebx
push esi
call fcn.00983f60
push str.LegalCopyright
push edi
call fcn.009853f0
push eax
push ebx
push esi
call fcn.00983f60
push str.ProductName
push edi
call fcn.009853f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00983f60
push str.ProductVersion
push edi
call fcn.009853f0
push eax
push ebx
push esi
call fcn.00983f60
push str.FileVersion
push edi
call fcn.009853f0
push eax
push ebx
push esi
call fcn.00983f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
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
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4010c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
push esi
push edi
call ebx
cdq
mov ecx, 0x16
idiv ecx
lea edi, [edx + 0x7d0]
call ebx
cdq
mov ecx, 0xc
idiv ecx
lea esi, [edx + 1]
cmp esi, 2
jne 0x40114a
mov eax, edi
and eax, 0x80000003
jns 0x4010ff
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x40111b
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, edi
imul ecx, ecx, 0x64
sub edx, ecx
jne 0x401138
mov eax, 0x51eb851f
mov ecx, edi
imul edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x190
sub ecx, eax
jne 0x401141
call ebx
mov ecx, 0x1d
jmp 0x40116e
call ebx
mov ecx, 0x1c
jmp 0x40116e
cmp esi, 4
je 0x401167
cmp esi, 6
je 0x401167
cmp esi, 9
je 0x401167
cmp esi, 0xb
je 0x401167
call ebx
mov ecx, 0x1f
jmp 0x40116e
call ebx
mov ecx, 0x1e
cdq
idiv ecx
push 0xb
mov dword [ebp - 4], edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40119a
push str.Memory_allocation_failed._n
call fcn.00401040
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [ebp - 4]
push edi
push esi
inc eax
push eax
push str._02d__02d__04d
push ebx
call fcn.00401080
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4021b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4021f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4021f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4021f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4021f8
cmp dword [ecx + 0x74], 0xe
jbe 0x4021f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4046e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4047c6
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x4047b5
jg 0x404720
test edx, edx
je 0x4047b5
nop dword [eax]
call fcn.00406040
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x404774
jg 0x404737
test esi, esi
je 0x404774
cmp ebx, eax
jg 0x404747
jl 0x404741
cmp edi, esi
jae 0x404747
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.0040ca40
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x404799
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x4047af
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x404720
jl 0x4047af
test edi, edi
jne 0x404720
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4047e8
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x4047ea
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x404868
jg 0x4047fd
test esi, esi
je 0x404868
test eax, eax
jl 0x40484c
jg 0x404807
test ebx, ebx
je 0x40484c
cmp edi, eax
jg 0x404817
jl 0x404811
cmp esi, ebx
jae 0x404817
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.0040ca40
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x404868
jg 0x40484f
test esi, esi
je 0x404868
jmp 0x40484f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x404868
push eax
push esi
push 1
push edx
call fcn.0041086a
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc