joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b0e0
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 0x46b183
test eax, eax
jbe 0x46b183
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46b183
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 0x46b12e
xor esi, esi
jmp 0x46b134
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46b15f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00409210
add esi, eax
push esi
mov ebx, esi
call fcn.00409210
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46b140
pop ebp
test edi, edi
pop edi
jne 0x46b183
test ebx, ebx
je 0x46b183
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047e940
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x46b2c5
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 0x46b3dd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46b3dd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00490712
mov esi, eax
test esi, esi
je 0x46b3dd
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 0x46b3dd
mov ecx, esi
call fcn.0046b230
cmp edi, eax
jge 0x46b3dd
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 0x46b363
mov dword [esp + 0x34], 1
jmp 0x46b3be
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46b3dd
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.0046a830
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 0x4910b5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4910ed
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.0048f103
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048f0db
jmp 0x4910f9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49292d
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 0x49296f
call fcn.00498e4b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49296f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x492966
xor eax, eax
jmp 0x492977
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049297d
pop edi
pop esi
pop ebx
ret 4

Function at 0x49937b
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 0x4993a9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4993c7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004992e1
jmp 0x4993c7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4993c7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004992e1
test edi, edi
mov eax, edi
jne 0x4993b1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x49bbf2
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x49bc1a
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x49bc2b
push 2
call edi
test ax, ax
jge 0x49bc2b
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004906eb
cmp dword [esi + 0x30], ebx
jne 0x49bd05
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004906eb
cmp eax, dword [esp + 0x34]
jne 0x49bd05
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x49bca1
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x49bce6
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x49bd05
cmp eax, 0x205
je 0x49bd05
cmp eax, 0x201
je 0x49bd05
cmp eax, 0x204
je 0x49bd05
cmp eax, ebx
jne 0x49bccc
cmp dword [esp + 0x1c], 0x1b
je 0x49bd05
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x5e98f4]
jbe 0x49bcfb
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x49bc5e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x410c90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
das
mov dword [edi - 0xe], esp
xchg esp, eax
dec esp
mov ebx, 0xd8c5ba4a
or al, 0x80
cmp dword [eax - 0x7645dc10], ebp
mov dword [ebx - 0x5d], esp
pop ebp
sbb al, 0x92
cmp bl, dl
loop 0x410c3c
add dword [eax], edx
mov dh, 0xb4
sal edx, cl
xor eax, 0xe09a8c37
add byte [edx], al
adc byte [ebx + 0x49], 0xa6
xchg ebx, eax
imul edi, dword [ebp - 0x7f623a8], 0x37a8165
in al, 0x89
mov al, byte [0x84c8a66]
mov ebx, 0xeb285330
bound ebx, qword [si]
pop esi
invalid
Function at 0x52ed84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x66333c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x52ee48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x52edbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x52ee5f
dec edx
je 0x52eea0
jmp 0x52eefd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x52eefd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x52ef60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x52ef7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x52f08f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x52efb0
je 0x52effc
sub ecx, 0x2b
je 0x52eff2
sub ecx, 4
je 0x52eff7
dec ecx
sub ecx, 0xa
jb 0x52efe1
jmp 0x52efff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x52efc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x52efd0
jmp 0x52efff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x52efff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x52efff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x52efff
mov byte [eax], 0x3e
jmp 0x52efff
mov byte [eax], 0x3f
jmp 0x52efff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x52ef8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x52f04f
cmp byte [esp + 3], 0xff
jne 0x52f04f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x52f087
cmp dl, 0xff
je 0x52f087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x52ef88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x52f11c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x6747a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x52f138
shr eax, 1
xor eax, 0xedb88320
jmp 0x52f13a
shr eax, 1
dec edx
jne 0x52f12b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x52f124
pop ebx
ret
Function at 0x52f150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x52f159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00526a38
xor eax, eax
push ebp
push 0x52f239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0052f11c
mov eax, dword [0x673e0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00524e7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00525218
call fcn.00524ba8
test eax, eax
jne 0x52f216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00524fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x52f210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x6747a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x52f1ec
cmp dword [ebp - 8], 0
jne 0x52f1c3
lea eax, [ebp - 0x154]
call fcn.00524fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f240
lea eax, [ebp - 4]
call fcn.00526588
ret

Function at 0x53a718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x53a738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x53a726
pop edi
pop esi
pop ebx
ret
Function at 0x542fd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x674cb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x669670]
mov eax, dword [esi*4 + 0x6696b0]
xor eax, dword [esp]
call fcn.00542f70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.00542fac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x669680]
mov eax, dword [esi*4 + 0x6696c0]
xor eax, dword [esp]
call fcn.00542f70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.00542fac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x669690]
mov eax, dword [esi*4 + 0x6696d0]
xor eax, dword [esp]
call fcn.00542f70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.00542fac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x6696a0]
mov eax, dword [esi*4 + 0x6696e0]
xor eax, dword [esp]
call fcn.00542f70
mov edi, eax
mov eax, edi
call fcn.00542fac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x542fe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x543138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x54316d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x543193
inc ebx
cmp ebx, 0xf
jne 0x54317d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x54314f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x13001a0a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1300b060]
jne 0x13001a14
repz ret
jmp fcn.130033ec

Function at 0x1300649c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1300b060]
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.13002e96
and dword [ebp - 0x14], 0
cmp dword [0x1300c860], 0
mov dword [ebp - 0x18], eax
jne 0x1300654f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x130065f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x130065f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1300c860], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1300c864], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1300c868], eax
call edi
push eax
call esi
mov dword [0x1300c870], eax
test eax, eax
je 0x1300654f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1300c86c], eax
mov eax, dword [0x1300c86c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x130065a8
cmp dword [0x1300c870], ecx
je 0x130065a8
push eax
call esi
push dword [0x1300c870]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x130065a8
test ebx, ebx
je 0x130065a8
call edi
test eax, eax
je 0x1300659f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1300659f
test byte [ebp - 8], 1
jne 0x130065a8
or dword [ebp + 0x10], 0x200000
jmp 0x130065db
mov eax, dword [0x1300c864]
cmp eax, dword [ebp - 0x18]
je 0x130065db
push eax
call esi
test eax, eax
je 0x130065db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x130065db
mov eax, dword [0x1300c868]
cmp eax, dword [ebp - 0x18]
je 0x130065db
push eax
call esi
test eax, eax
je 0x130065db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1300c860]
call esi
test eax, eax
je 0x130065f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x130065f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.13001a0a
leave
ret
Function at 0x40d93c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 8], ecx
jbe 0x40d9a6
nop dword [eax]
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebx + edi]
movzx eax, dl
add eax, ecx
movzx ecx, al
mov dword [ebp - 8], ecx
movzx eax, byte [ecx + edi]
mov byte [ebx + edi], al
mov byte [ecx + edi], dl
movzx ecx, byte [ebx + edi]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x40d993
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ecx + edi]
mov ecx, dword [ebp - 4]
xor byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 8]
cmp esi, dword [ebp + 8]
jb 0x40d95c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3f2b4612
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x10d91d58
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40114c
Capabilities:
Query or enumerate registry value

Disassembly:
add al, 0x10
inc eax
add byte [edx], cl
push es
push ebx
je 0x40107b
imul ebp, dword [esi + 0x67], 0x401058
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop eax
adc byte [eax], al
add al, 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, 0x36
inc eax
add byte [eax], bl
inc eax
add byte [esi + esi], bl
inc eax
add byte [eax], ah
inc eax
add byte [esi + esi], dl
inc eax
add byte [ebx + esi + 0x33a80040], cl
inc eax
add ah, ah
xor eax, dword [eax]
pop es
push esp
dec edi
bound ebp, qword [edx + 0x65]
arpl word [esp + 0x10], si
inc eax
add byte [edi], al
pop es
push esp
dec edi
bound ebp, qword [edx + 0x65]
arpl word [eax + ebx*2 + 0x10], si
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], al
push ebx
jns 0x4010ee
je 0x4010e2
insd dword es:[edi], dx
add byte [eax], al
test byte [eax], dl
inc eax
add byte [edi], cl
or cl, byte [ecx + 0x49]
outsb dx, byte [esi]
je 0x4010f0
jb 0x4010f3
popal
arpl word [ebp], sp
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
rol byte [eax], 0
add byte [eax], al
add byte [eax], al
inc esi
push es
push ebx
jns 0x40111c
je 0x401110
insd dword es:[edi], dx
add eax, dword [eax]
invalid
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, al
add byte [eax], al
add byte [eax], al
add byte [eax], al
inc esi
rcl dword [eax]
inc eax
add byte [eax], cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebp + 0x114c0040], cl
inc eax
add ch, bl
adc byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
dec esp
adc dword [eax], eax
or al, 0
add byte [eax], al
or al, 0x10
inc eax
add byte [esi + esi], cl
inc eax
add byte [eax], ch
push ebp
inc eax
add byte [edx*2 + 0x36200040], dh
inc eax
add byte [esi + esi], dl
inc eax
add byte [ebp + edx*2 + 0x40], al
add byte [eax - 0x1bffbfcd], ch
xor eax, dword [eax]
adc dword [ecx + ecx*2 + 0x6e], edx
je 0x4011b7
jb 0x4011ba
popal
arpl word [ebp + 0x64], sp
dec edi
bound ebp, qword [edx + 0x65]
arpl word [ebx + ecx*4 - 0x40], si
invalid