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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
push dword [esp + 0x34]
push eax
push dword [esp + 0x34]
push edx
push ecx
call fcn.001c3ec4
mov ecx, dword [eax]
lea ebx, [eax + 4]
mov edi, dword [ebx]
add esp, 0x14
mov dword [esp + 0x1c], 0xd5814
xor edi, ecx
mov dword [esp + 0x20], 0xbe2e
add ebx, 4
mov dword [esp + 0x24], 0x1e1d3
mov dword [esp + 0x10], 0x5074d9
shr dword [esp + 0x10], 3
xor dword [esp + 0x10], 0xa0e9a
mov dword [esp + 0x30], 0xa3c8c8
shr dword [esp + 0x30], 6
shr dword [esp + 0x30], 0xf
shr dword [esp + 0x30], 2
xor dword [esp + 0x30], 5
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
add ecx, edi
mov esi, dword [esp + 0x10]
dec eax
add esi, edi
mov dword [esp + 0x18], edi
test eax, ecx
je 0x1ce344
mov eax, dword [esp + 0x30]
dec eax
not eax
and esi, eax
add esi, dword [esp + 0x30]
mov dword [esp + 0x10], 0xca7479
lea edx, [esi + esi]
imul eax, dword [esp + 0x10], 0x33
push ecx
mov dword [esp + 0x14], eax
shr dword [esp + 0x14], 7
shl dword [esp + 0x14], 8
xor dword [esp + 0x14], 0x50a6b359
mov dword [esp + 0x34], 0xd077d8
shr dword [esp + 0x34], 4
imul eax, dword [esp + 0x34], 0x23
mov dword [esp + 0x34], eax
add dword [esp + 0x34], 0xa5e
xor dword [esp + 0x34], 0x1ce412a
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
call fcn.001c4ae6
mov ebp, eax
mov dword [esp + 0x34], ebp
pop ecx
test ebp, ebp
je 0x1ce410
shr esi, 2
xor eax, eax
lea ecx, [ebx + esi*4]
mov esi, ebp
mov edx, ecx
sub edx, ebx
add edx, 3
shr edx, 2
cmp ebx, ecx
cmova edx, eax
test edx, edx
je 0x1ce409
mov ebp, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
xor ecx, ebp
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc edi
mov word [esi - 4], ax
movzx eax, cl
mov word [esi - 2], ax
cmp edi, edx
jb 0x1ce3cc
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
xor eax, eax
mov word [ebp + edi*2], ax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x46ed0541
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42cd70
nop
mov ecx, 0x2cb71ac0
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3ec70569
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x65297aae
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40665c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00406b04
mov byte [esp], al
cmp byte [esp], 0
jne 0x4067e5
test edi, edi
je 0x4067e5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406725
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406700
cmp edi, 0xffffffff
je 0x4066c1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4066c1
mov byte [esp], 0
jmp 0x4067e5
cmp dword [esi], 1
jg 0x406700
cmp dword [esi], 0
jne 0x4066f2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4066f2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4067e5
lea eax, [esp + 0xc]
call fcn.0040633c
dec ebp
test ebp, ebp
jg 0x4066a6
cmp edi, 0xffffffff
je 0x406725
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406723
mov byte [esp], 0
jmp 0x4067e5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40666a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406725
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406860
mov edx, eax
mov ebx, dword [0x4ad8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406789
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406787
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406789
xor edi, edi
cmp byte [esp], 0
je 0x4067af
mov ebx, dword [esi]
test bl, 1
jne 0x4067c5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40678f
mov byte [esp + 1], 1
jmp 0x4067c5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4067af
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40673c
cmp byte [esp], 0
je 0x4067e5
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40768c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ad058], 0
je 0x4076f3
cmp word [0x4ad344], 0xd7b2
jne 0x4076b5
cmp dword [0x4ad34c], 0
jbe 0x4076b5
mov eax, 0x4ad340
call dword [0x4ad35c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x407720
call fcn.004081cc
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a9032], 0
jne 0x40770f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call fcn.00403780
pop edx
ret
Function at 0x4a143c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a1511
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a152c
push ebx
push 0x4a153c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087a4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405864
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084c8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a14bc
mov al, 0x72
call fcn.004a1064
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a1410
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4a14c5
call fcn.004a1410
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1518
lea eax, [ebp - 4]
call fcn.004079f4
ret

Function at 0x4a162c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a16f7
jmp 0x4a16eb
cmp dword [esi + 0x10], 0x1000
jne 0x4a16d7
test byte [esi + 0x15], 1
jne 0x4a16d7
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4a1688
cmp ebp, 2
je 0x4a1688
cmp ebp, 0x10
je 0x4a1688
cmp ebp, 0x20
jne 0x4a16a4
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a16a4
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4a16b5
mov eax, dword [esi]
add eax, ebx
call fcn.004a1624
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4a16a8
cmp byte [esp + 4], 0
je 0x4a16d7
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a16f7
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4a165d
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4be000
Capabilities:
Packed with generic packer

Disassembly:
pushal
push 0x4be031
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0x4be03a
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
lea edx, [0x4be047]
push 0
push 0
push 0
push edx
push 0
push 0
call eax
popal
jmp fcn.004a7ed0
Function at 0x401014
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4018a0
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
mov ebx, dword [eax + esi + 0x20]
mov ebp, dword [eax + esi + 0x1c]
mov ecx, dword [eax + esi + 0x24]
add eax, esi
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
add ebp, esi
xor edi, edi
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jbe 0x4018f9
mov ecx, dword [0x43e008]
mov edx, dword [ebx + edi*4]
push ecx
add edx, esi
push edx
call fcn.00401208
add esp, 8
cmp eax, dword [esp + 0x1c]
je 0x401901
add edi, 1
cmp edi, dword [esp + 0x18]
jb 0x4018d5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + edi*2]
mov eax, dword [ebp + ecx*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4010a5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jmp 0x4039e0
sub esp, 0x210
mov eax, dword [0x43e440]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
mov edi, dword [esp + 0x230]
xor esi, esi
xor ecx, ecx
mov eax, ecx
cdq
idiv edi
mov byte [esp + ecx + 0x1c], cl
add ecx, 1
cmp ecx, 0x100
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x11b], al
jl 0x403a11
xor edi, edi
mov al, byte [esp + edi + 0x1c]
movzx ecx, byte [esp + edi + 0x11c]
movzx edx, al
add ecx, esi
add edx, ecx
mov esi, edx
and esi, 0x800000ff
jns 0x403a56
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esp + esi + 0x1c]
mov byte [esp + esi + 0x1c], al
mov byte [esp + edi + 0x1c], cl
add edi, 1
cmp edi, 0x100
jl 0x403a31
mov eax, dword [esp + 0x228]
xor ebx, ebx
test eax, eax
jle 0x403b6f
mov ecx, dword [esp + 0x224]
sub ecx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
add edi, 1
and edi, 0x800000ff
jns 0x403aa6
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [esp + edi + 0x1c]
add ebx, eax
and ebx, 0x800000ff
jns 0x403abd
dec ebx
or ebx, 0xffffff00
inc ebx
push 0x437165
push 0x4400c8
call fcn.00401131
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040117c
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor ebp, ebp
test byte [eax + 8], 6
jne 0x403b00
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x403b00
mov ebp, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebp, ebp
je 0x403b21
mov eax, dword [ecx + 8]
or eax, ebp
cmp dword [ecx + 0x28], 0
jne 0x403b19
or eax, 4
push 0
push eax
call fcn.004011e0
movzx edx, byte [esp + edi + 0x1c]
mov al, byte [esp + ebx + 0x1c]
mov byte [esp + ebx + 0x1c], dl
mov byte [esp + edi + 0x1c], al
movzx ecx, byte [esp + ebx + 0x1c]
movzx eax, al
add eax, ecx
and eax, 0x800000ff
jns 0x403b4a
dec eax
or eax, 0xffffff00
inc eax
movzx edx, byte [esp + eax + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
xor dl, byte [ecx + eax]
add eax, 1
sub dword [esp + 0x14], 1
mov byte [eax - 1], dl
mov dword [esp + 0x10], eax
jne 0x403a93
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406efa
add esp, 0x210
ret
Function at 0x4039e0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
jmp 0x4039e0
sub esp, 0x210
mov eax, dword [0x43e440]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
mov edi, dword [esp + 0x230]
xor esi, esi
xor ecx, ecx
mov eax, ecx
cdq
idiv edi
mov byte [esp + ecx + 0x1c], cl
add ecx, 1
cmp ecx, 0x100
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x11b], al
jl 0x403a11
xor edi, edi
mov al, byte [esp + edi + 0x1c]
movzx ecx, byte [esp + edi + 0x11c]
movzx edx, al
add ecx, esi
add edx, ecx
mov esi, edx
and esi, 0x800000ff
jns 0x403a56
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esp + esi + 0x1c]
mov byte [esp + esi + 0x1c], al
mov byte [esp + edi + 0x1c], cl
add edi, 1
cmp edi, 0x100
jl 0x403a31
mov eax, dword [esp + 0x228]
xor ebx, ebx
test eax, eax
jle 0x403b6f
mov ecx, dword [esp + 0x224]
sub ecx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
add edi, 1
and edi, 0x800000ff
jns 0x403aa6
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [esp + edi + 0x1c]
add ebx, eax
and ebx, 0x800000ff
jns 0x403abd
dec ebx
or ebx, 0xffffff00
inc ebx
push 0x437165
push 0x4400c8
call fcn.00401131
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040117c
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor ebp, ebp
test byte [eax + 8], 6
jne 0x403b00
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x403b00
mov ebp, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebp, ebp
je 0x403b21
mov eax, dword [ecx + 8]
or eax, ebp
cmp dword [ecx + 0x28], 0
jne 0x403b19
or eax, 4
push 0
push eax
call fcn.004011e0
movzx edx, byte [esp + edi + 0x1c]
mov al, byte [esp + ebx + 0x1c]
mov byte [esp + ebx + 0x1c], dl
mov byte [esp + edi + 0x1c], al
movzx ecx, byte [esp + ebx + 0x1c]
movzx eax, al
add eax, ecx
and eax, 0x800000ff
jns 0x403b4a
dec eax
or eax, 0xffffff00
inc eax
movzx edx, byte [esp + eax + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
xor dl, byte [ecx + eax]
add eax, 1
sub dword [esp + 0x14], 1
mov byte [eax - 1], dl
mov dword [esp + 0x10], eax
jne 0x403a93
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406efa
add esp, 0x210
ret

Function at 0x406efa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e440]
jne 0x406f04
repz ret
jmp fcn.004103ee
Function at 0x421b9b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040e363
xor ebx, ebx
cmp dword [0x440c20], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x421c70
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x421bdb
xor eax, eax
jmp 0x421d34
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x421bd4
push eax
call fcn.0040e300
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x440c20], eax
call esi
push eax
call fcn.0040e300
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x440c24], eax
call esi
push eax
call fcn.0040e300
mov dword [0x440c28], eax
lea eax, [ebp - 8]
push eax
call fcn.004107ef
test eax, eax
pop ecx
pop ecx
je 0x421c3e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00408df7
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x421c70
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040e300
cmp eax, ebx
pop ecx
mov dword [0x440c30], eax
je 0x421c70
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040e300
pop ecx
mov dword [0x440c2c], eax
mov eax, dword [0x440c2c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x421ce9
cmp dword [0x440c30], esi
je 0x421ce9
push eax
call fcn.0040e36c
pop ecx
call eax
cmp eax, ebx
je 0x421cb6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x440c30]
call fcn.0040e36c
pop ecx
call eax
test eax, eax
je 0x421cb6
test byte [ebp - 0x18], 1
jne 0x421ce9
lea eax, [ebp - 0xc]
push eax
call fcn.0041089e
test eax, eax
pop ecx
je 0x421cd1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00408df7
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x421ce0
or dword [ebp + 0x10], 0x200000
jmp 0x421d1a
or dword [ebp + 0x10], 0x40000
jmp 0x421d1a
mov eax, dword [0x440c24]
cmp eax, esi
je 0x421d1a
push eax
call fcn.0040e36c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x421d1a
mov eax, dword [0x440c28]
cmp eax, esi
je 0x421d1a
push dword [ebp - 4]
push eax
call fcn.0040e36c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x440c20]
call fcn.0040e36c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
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 0x109bc774
Capabilities:
Encode data using xor

Disassembly:
jmp 0x109bc77e
pushal
call 0x109bc784
pop ebp
sub ebp, 0x10
sub ebp, 0x9bc774
mov al, byte [esp + 0x28]
cmp al, 1
je 0x109bc7a8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x109bc7b1
mov eax, 0x9bc774
add eax, ebp
add eax, 0x63
mov ecx, 0x5b9
mov edx, 0x13d7f025
xor byte [eax], dl
inc eax
dec ecx
jne 0x109bc7c8
jmp 0x109bc7db
scasb al, byte es:[edi]
call 0x35b5748f
and eax, 0xdde4a425
and eax, 0xe8262525
scasb al, byte es:[edi]
lodsb al, byte [esi]
sbb dword [0xe4a42525], esp
frstor dword [0xe8262525]
popfd
and ah, byte [0xd9f2525]
and eax, 0xc7d22525
in eax, dx
scasb al, byte es:[edi]
movsb byte es:[edi], byte [esi]
sub dword [0xe0262525], esp
test al, 0x41
add ecx, ebx
lodsb al, byte [esi]
and dword [ecx], eax
test al, 0x41
add ecx, ebx
lodsb al, byte [esi]
and dword [ecx], eax
dec ebp
std
jns 0x109bc81a
and eax, 0x5c4fbc4d
and eax, 0x4d010924
or dword [ecx], eax
dec ebp
mov ch, 0xe7
sub dh, ch
int 0x20
and eax, 0xbcc2525
and eax, 0x71702525
js 0x109bc7dd
mov al, byte [0x2525252d]
scasb al, byte es:[edi]
mov al, 0x29
and eax, 0xa8ae2525
xor eax, 0xe4252525
int3

Function at 0x1a172a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1a172b2
pushal
call 0x1a172b8
pop ebp
sub ebp, 0x10
sub ebp, 0x16172a8
jmp 0x1a172ce
mov eax, 0x16172a8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0x18e46eba
xor byte [eax], dl
inc eax
dec ecx
jne 0x1a172e5
jmp 0x1a172f8
xor dword [edi + 0x31], esi
xor eax, dword [esi + 0x3bbababa]
jnp 0x1a17345
mov edx, 0x77b9baba
add bh, byte [edi + 0xbababa]
xchg edx, eax
mov edx, 0x584dbaba
mov ecx, 0xb63b3172
mov edx, 0x7fb9baba
aaa
ficomp word [esi - 0x6141ccba]
ljmp 0xd2ba
inc esi
xor edx, dword [esi - 0x6129c862]
mov edx, 0xbab23f31
mov edx, 0xb62f31ba
mov edx, 0x3731baba
stosb byte es:[edi], al
mov edx, 0x537bbaba
mov eax, 0x7839b88b
mov esi, 0x4e3fb5f3
inc ebp
inc ebp
inc ebp
out 0x78, eax
mov dh, 0xba
xor dword [esi], esi
sahf
mov esi, 0xd2bababa
scasb al, byte es:[edi]
dec esp
wait
mov edx, 0x85c62ed2
mov ebx, 0x379e96bb
ficomp word [esi - 0x6149ccba]
push edx
mov edi, 0x53bababa
mov dword [eax + 0x31efbaba], edi
push esi
inc ebp
iretd
Function at 0xd7e370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xd7e38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xda7074
push ecx
mov edi, eax
call fcn.00d92198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd7e3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00d9202e
push esi
call fcn.00d91fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret