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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x64fbad
dec al
je 0x64fbe8
dec al
je 0x64fc2c
dec al
je 0x64fc9e
jmp 0x64fd39
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x64fd39
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x64fbbd
jmp 0x64fd39
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x64fd39
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x64fbf8
jmp 0x64fd39
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x64fd39
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x64fc5f
xor edx, edx
mov dword [esp + 4], edx
jmp 0x64fc74
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x64fc8c
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x64fc3c
jmp 0x64fd39
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x64fd39
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x64fd05
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.0064cb60
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x64fcba
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x65f628
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409db8
mov eax, dword [ebp - 8]
call fcn.00409db8
xor eax, eax
push ebp
push 0x65f6fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x65f66b
sub ecx, 4
mov ecx, dword [ecx]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x65f677
sub ebx, 4
mov ebx, dword [ebx]
mov eax, ecx
cdq
idiv ebx
test eax, eax
jl 0x65f691
inc eax
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040ab54
dec ebx
jne 0x65f683
mov eax, dword [ebp - 4]
test eax, eax
je 0x65f69d
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x65f6d9
mov esi, 1
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov edx, dword [ebp - 0xc]
movzx edx, word [edx + esi*2 - 2]
xor ax, dx
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x14]
movzx edx, word [ebp - 0xe]
call fcn.0040a968
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.0040ab54
inc esi
dec ebx
jne 0x65f6a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65f703
lea eax, [ebp - 0x14]
call fcn.00409cd4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00409d34
ret
Function at 0x6604e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00409db8
xor eax, eax
push ebp
push 0x660642
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6de978]
mov eax, dword [eax]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
mov eax, dword [0x6dec8c]
mov eax, dword [eax]
sub eax, 1
jb 0x66052a
je 0x66052e
jmp 0x660537
xor ebx, ebx
jmp 0x660537
mov eax, dword [0x6de550]
mov eax, dword [eax]
mov ebx, eax
mov eax, dword [0x6de80c]
mov eax, dword [eax + esi*4 - 4]
mov edx, 0x660660
call fcn.0040ace4
je 0x660566
mov eax, dword [0x6de80c]
mov eax, dword [eax + esi*4 - 4]
mov edx, dword [0x6de978]
mov edx, dword [edx]
call fcn.0065fe40
xor edx, edx
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, 0x660694
call fcn.0040ace4
jne 0x660580
mov eax, dword [0x6deaa4]
mov eax, dword [eax + esi*8 - 8]
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, 0x6606d8
call fcn.0040ace4
jne 0x6605a7
mov edx, dword [0x6de978]
mov edx, dword [edx]
mov eax, dword [0x6dea88]
mov eax, dword [eax]
call fcn.0065fe40
xor edx, edx
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x66062c
xor eax, eax
push ebp
push 0x660625
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
push 0x3000
push 0x200
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
mov ebx, esi
mov eax, dword [0x6deb48]
mov eax, dword [eax]
call fcn.006281ec
test ebx, ebx
ja 0x6605f8
mov eax, ebx
xor edx, edx
mov ecx, dword [0x6de550]
cmp edx, dword [ecx + 4]
jne 0x6605f6
cmp eax, dword [ecx]
jbe 0x660602
mov dword [ebp - 8], esi
call fcn.004094c4
jmp 0x66062c
xor eax, eax
mov dword [ebp - 8], eax
call fcn.004094c4
jmp 0x66062c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x660649
lea eax, [ebp - 4]
call fcn.00409cd4
ret
Function at 0x660728
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00409db8
xor eax, eax
push ebp
push 0x6608d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [0x6de978]
mov eax, dword [eax]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
mov eax, dword [0x6dec8c]
mov eax, dword [eax]
sub eax, 1
jb 0x660775
je 0x66077e
jmp 0x660785
mov dword [ebp - 0x10], 0x10000
jmp 0x660785
mov dword [ebp - 0x10], 0x100000
mov eax, dword [0x6de80c]
mov eax, dword [eax + ebx*4 - 4]
mov edx, 0x6608f4
call fcn.0040ace4
je 0x6607b8
mov eax, dword [0x6de80c]
mov eax, dword [eax + ebx*4 - 4]
mov edx, dword [0x6de978]
mov edx, dword [edx]
call fcn.0065fe40
xor edx, edx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, 0x660928
call fcn.0040ace4
jne 0x6607da
mov eax, dword [0x6deaa4]
mov edx, dword [eax + ebx*8 - 8]
mov dword [ebp + 8], edx
mov edx, dword [eax + ebx*8 - 4]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, 0x66096c
call fcn.0040ace4
jne 0x660805
mov edx, dword [0x6de978]
mov edx, dword [edx]
mov eax, dword [0x6dea88]
mov eax, dword [eax]
call fcn.0065fe40
xor edx, edx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x6608bd
xor eax, eax
push ebp
push 0x6608b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp edi, 0x1869f
je 0x66089f
push 0x40
push 0x3000
push 0x200
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
mov ebx, esi
mov eax, dword [0x6deb48]
mov eax, dword [eax]
call fcn.006281ec
test ebx, ebx
jbe 0x66086f
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [0x6de550]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x66086b
cmp eax, dword [esp]
pop edx
pop eax
jb 0x660881
mov eax, dword [ebp - 0x10]
xor edx, edx
add eax, dword [ebp + 8]
adc edx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
inc edi
test ebx, ebx
ja 0x66088d
cmp ebx, 0x400000
jbe 0x660897
mov dword [ebp - 8], esi
call fcn.004094c4
jmp 0x6608bd
cmp edi, 0x1869f
jne 0x660825
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6608bd
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6608da
lea eax, [ebp - 4]
call fcn.00409cd4
ret
Function at 0x6609bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x6609c5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409db8
mov eax, dword [ebp + 0xc]
call fcn.00409db8
mov eax, dword [ebp + 8]
call fcn.00409db8
xor eax, eax
push ebp
push 0x660d53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6de978]
mov eax, dword [eax]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x20], eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 0xc]
call fcn.00660134
mov dword [ebp - 0x58], 0x40
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
push 2
mov eax, dword [ebp + 0x10]
mov esi, eax
push esi
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_VirtualProtectEx
mov eax, dword [ebp - 8]
mov edx, 0x660d70
call fcn.0040ace4
jne 0x660a8c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.00425498
cdq
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.006616b0
mov bl, 1
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 2
push esi
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_VirtualProtectEx
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x660d1e
xor eax, eax
push ebp
push 0x660ad7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00409cd4
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.00425458
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0040a0fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x660ade
lea eax, [ebp - 0x10]
call fcn.00409cd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x660d5a
lea eax, [ebp - 0x78]
mov edx, 6
call fcn.00409d34
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00409d34
lea eax, [ebp + 8]
mov edx, 2
call fcn.00409d34
ret

Function at 0x6615fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x661615
shr ecx, 2
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x66160e
mov eax, esp
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [0x6de978]
mov eax, dword [eax]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x40
lea eax, [esi + 1]
push eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add eax, dword [ebp + 8]
adc edx, dword [ebp + 0xc]
mov edi, eax
push edi
push ebx
call sub.kernel32.dll_VirtualProtectEx
lea eax, [ebp - 8]
push eax
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
inc esi
push esi
push edi
push ebx
call sub.kernel32.dll_VirtualProtectEx
push ebx
call sub.kernel32.dll_CloseHandle
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x663054
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409db8
xor eax, eax
push ebp
push 0x6631d5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0065ef68
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0065ef88
mov ebx, eax
jmp 0x6631a1
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040a9fc
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.00425e38
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.004242c8
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.004242c8
mov edx, dword [ebp - 0x240]
pop eax
call fcn.0040ace4
je 0x663178
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.0040a9fc
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.004242c8
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.004242c8
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040ace4
jne 0x663192
push 0
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0065efa8
mov ebx, eax
test ebx, ebx
jne 0x6630d3
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6631dc
lea eax, [ebp - 0x24c]
mov edx, 7
call fcn.00409d34
lea eax, [ebp - 4]
call fcn.00409cd4
ret

Function at 0x6632f4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409db8
xor eax, eax
push ebp
push 0x66337c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00407860
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x663398
mov edx, dword [ebp - 4]
call fcn.0040abac
mov eax, dword [ebp - 0x28]
call fcn.0040a944
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x663383
lea eax, [ebp - 0x28]
call fcn.00409cd4
lea eax, [ebp - 4]
call fcn.00409cd4
ret
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x818030]
jne 0x40107a
repz ret
jmp fcn.00401e51

Function at 0x408b0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d5a
and dword [ebp - 4], 0
cmp dword [0x81a848], 0
mov ebx, eax
jne 0x408bbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c6d
push eax
call fcn.00404ce8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81a848], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81a84c], eax
call esi
push eax
call fcn.00404ce8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81a850], eax
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x81a858], eax
test eax, eax
je 0x408bbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ce8
pop ecx
mov dword [0x81a854], eax
mov eax, dword [0x81a854]
cmp eax, ebx
je 0x408c14
cmp dword [0x81a858], ebx
je 0x408c14
push eax
call fcn.00404d63
push dword [0x81a858]
mov esi, eax
call fcn.00404d63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408c14
test edi, edi
je 0x408c14
call esi
test eax, eax
je 0x408c0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408c0b
test byte [ebp - 0xc], 1
jne 0x408c14
or dword [ebp + 0x10], 0x200000
jmp 0x408c4d
mov eax, dword [0x81a84c]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c4d
mov eax, dword [0x81a850]
cmp eax, ebx
je 0x408c4d
push eax
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81a848]
call fcn.00404d63
pop ecx
test eax, eax
je 0x408c6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40adb0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x420
mov eax, dword [0x818030]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x2ff823c]
push ebx
mov ebx, dword [0x2ff7f60]
push esi
mov esi, dword [0x818f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40adf1
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ff823c]
mov dword [0x81a9ec], esi
cmp eax, 0x114e
jne 0x40ae1b
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2ff823c]
cmp eax, 0x2f
jne 0x40ae3b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
call fcn.0040aca0
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401070
add esp, 0x420
ret
Function at 0x100829f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101558a0]
jne 0x100829fa
repz ret
jmp fcn.10083c9c

Function at 0x10084e6b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10082038
and dword [ebp - 4], 0
cmp dword [0x10157554], 0
mov ebx, eax
jne 0x10084f1c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10084fcd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10084fcd
push eax
call fcn.10081fc6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10157554], eax
call esi
push eax
call fcn.10081fc6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10157558], eax
call esi
push eax
call fcn.10081fc6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1015755c], eax
call esi
push eax
call fcn.10081fc6
pop ecx
mov dword [0x10157564], eax
test eax, eax
je 0x10084f1c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10081fc6
pop ecx
mov dword [0x10157560], eax
mov eax, dword [0x10157560]
cmp eax, ebx
je 0x10084f74
cmp dword [0x10157564], ebx
je 0x10084f74
push eax
call fcn.10082041
push dword [0x10157564]
mov esi, eax
call fcn.10082041
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10084f74
test edi, edi
je 0x10084f74
call esi
test eax, eax
je 0x10084f6b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10084f6b
test byte [ebp - 0xc], 1
jne 0x10084f74
or dword [ebp + 0x10], 0x200000
jmp 0x10084fad
mov eax, dword [0x10157558]
cmp eax, ebx
je 0x10084fad
push eax
call fcn.10082041
pop ecx
test eax, eax
je 0x10084fad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10084fad
mov eax, dword [0x1015755c]
cmp eax, ebx
je 0x10084fad
push eax
call fcn.10082041
pop ecx
test eax, eax
je 0x10084fad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10157554]
call fcn.10082041
pop ecx
test eax, eax
je 0x10084fcd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10084fcf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10085fd6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10155260], 0
mov byte [0x10155264], 0
mov edi, dword [0x10155254]
add edi, 0xe84
mov dword [0x10155258], edi
mov dword [0x1015525c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10086036
xor eax, eax
mov dword [0x1015525c], 0
mov dword [ebp - 0x20], eax
jmp 0x10086068
mov eax, dword [ebp - 0x1c]
mov dword [0x10155258], 0x8b8
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1015525c]
add eax, 1
mov dword [0x1015525c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10086036
jmp 0x10086025
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10155268], 0
mov edi, dword [0x10155260]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10155268], esi
mov dword [0x10155254], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x10155260], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10155264], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10155264]
mov esi, dword [0x10155260]
mov byte [ebx + esi], cl
mov esi, dword [0x1015525c]
add esi, 1
mov dword [0x1015525c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10086068
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100862ce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101504bf]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10155254], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10085f39
mov dword [0x10155254], 0x1b9e
call fcn.10086571
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10085e0f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x100863f7
mov eax, dword [ebp - 0x3c]
mov dword [0x10155254], 0x505
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10155254], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100861a0
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x10155254], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x28], ecx
mov dword [0x10155258], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x100863f7
mov eax, dword [0x10155254]
mov ecx, dword [ebp - 0x44]
add ecx, 0x1795
add eax, 0x2182
mov dword [0x10155254], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret