joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ee08
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [ecx]
and edx, 7
cmp dword [ebp + 0xc], 5
jb 0x40ef58
add dword [ebp + 0x10], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0xc]
lea edi, [ecx + eax - 4]
cmp esi, edi
jae 0x40ee48
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x40ee48
inc esi
jmp 0x40ee39
mov eax, esi
sub eax, ecx
cmp esi, edi
mov dword [ebp - 8], eax
jae 0x40ef38
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x40ee7d
xor edx, edx
mov cl, byte [esi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x40eeaa
cmp cl, 0xff
je 0x40eeaa
and edx, 3
shl edx, 1
or edx, 1
inc eax
jmp 0x40ee2c
dec ecx
shl edx, cl
and edx, 7
je 0x40ee63
movzx ecx, byte [edx + 0x41a68c]
mov edi, esi
sub edi, ecx
cmp byte [edx + 0x41a684], 0
mov cl, byte [edi + 4]
je 0x40eea5
test cl, cl
je 0x40eea5
cmp cl, 0xff
jne 0x40ee63
mov dword [ebp - 4], eax
jmp 0x40ee72
xor ebx, ebx
mov bh, cl
mov bl, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x40eed3
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x40eeda
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x40ef0e
movzx edi, byte [edx + 0x41a68c]
push 0x18
mov eax, ebx
shl edi, 3
pop ecx
sub ecx, edi
shr eax, cl
test al, al
je 0x40eef9
cmp al, 0xff
jne 0x40ef0b
push 0x20
mov eax, dword [ebp - 8]
pop ecx
push 1
sub ecx, edi
pop edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x40eec5
mov eax, dword [ebp - 8]
mov ecx, ebx
mov byte [esi + 1], bl
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
add eax, 5
jmp 0x40ee2c
mov esi, eax
push 3
sub esi, dword [ebp - 4]
pop edi
lea ecx, [esi - 1]
shl edx, cl
and edx, 7
cmp edi, esi
sbb ecx, ecx
pop edi
not ecx
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
pop ebx
mov dword [edx], ecx
leave
ret 0x14

Function at 0x410866
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.004138ef
mov ecx, dword [ebp + 8]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.00410803
pop ebp
ret 0xc

Function at 0x41128b
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x41990c
call fcn.00412c40
sub esp, 0xc
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
lea edi, [esi + 0x68]
lea ecx, [edi + 0xc]
call fcn.00408522
push 0
push 0x1f4
mov ecx, edi
call fcn.00409735
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.00410857
lea eax, [ebp - 0x18]
push 0x45
push eax
call fcn.0040b416
push dword [eax]
and dword [ebp - 4], 0
push dword [esi + 0x6c]
call fcn.0040b436
push dword [ebp - 0x18]
call fcn.00408c15
pop ecx
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4db48c
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x1e8c28c]
shr edi, cl
test dword [ebx], esp
or ebp, dword [edx + 0x78]
mov bh, 0x66
xor edi, dword [ecx + edx - 0x2a]
scasd eax, dword es:[edi]
mov eax, 0x327ca072
jl 0x4db4d6
mov eax, dword [0xae54ef08]
sub dl, byte [edx]
sub dword [eax + ebx*2 - 0x39a2daa9], edx
cmp cl, byte [eax - 0x56ad4ff6]
dec edi
cmp bl, byte gs:[ebp + 0x69189ab1]
push edi
and eax, 0x883ac65d
or dh, byte [eax + 0x654fa952]
cmp bl, byte [ebp + 0x69189ab1]
pop es
inc edi
mov bh, 0xe4
scasd eax, dword es:[edi]
adc dl, byte fs:[ecx]
pushfd
mov fs, word [edi + 0x6588f4d8]
xchg esp, eax
pop edi
sti
mov byte [0x5178b2ff], al
push ecx
aad 0x21
fidivr dword [esi]
and eax, 0x992c785b
xchg ecx, eax
adc byte [0x3097461e], bh
pushal
push 0x42
jbe 0x4db4ae
dec esp
mov dword [esp + edx*4 + 0x78f68b64], ebx
pop ebx
fstp xword [0x9ff6b904]
imul esi, dword [ecx], 0xffffffa7
fxch st(7)
jle 0x4db4a2
mov eax, 0x73473fe9
mov ebp, 0x80877e51
mov al, 0xa1
mov ch, byte ss:[edi + edi*8 - 0x6ba8ba17]
push ecx
out dx, al
add al, 0xf0
and al, 0x74
invalid
Function at 0x6f2bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffa4
mov esi, dword [ebp + 8]
add esi, 0xffffff9c
xor eax, eax
push ebp
push 0x6f2d6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x60]
call fcn.004de218
mov eax, dword [eax + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
call fcn.0059f194
call fcn.006d8a8c
mov edx, dword [ebp + 8]
mov dword [edx - 0x6c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x6c], 0
je 0x6f2c34
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
mov eax, dword [eax + 0x6c]
call fcn.004d7484
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x60]
call fcn.004de218
mov eax, dword [eax + 0x40]
pop edx
call fcn.004d748c
mov eax, dword [ebp + 8]
mov dword [eax - 0x70], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
call fcn.004d72c4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.004207bc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
push eax
push 0x5c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x60]
call fcn.004de218
call fcn.004d8e30
push eax
call sub.gdi32.dll_GetObjectW
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
call fcn.004d7374
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
call fcn.004d73b0
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
call fcn.004d73b0
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
call fcn.004d73b0
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x10]
call fcn.004d7484
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectW
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x60]
call fcn.004de218
mov eax, dword [eax + 0x40]
pop edx
call fcn.004d7260
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x60]
call fcn.004de218
mov eax, dword [eax + 0x40]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x74]
mov ecx, edx
shl edx, 6
add edx, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xb0]
mov edx, dword [ecx + edx*4 + 0xb0]
call fcn.004d6ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f2d73
lea eax, [ebp - 4]
call fcn.00407684
ret
Function at 0x6f82c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5a5a88]
call fcn.005ad884
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0xffffff9e
mov eax, dword [ebp - 8]
call fcn.005056c8
mov edx, 0xffffffec
call fcn.0040f520
or eax, 0x80
or eax, 0x8000000
push eax
mov eax, dword [ebp - 8]
call fcn.005056c8
mov edx, 0xffffffec
pop ecx
call fcn.0040f7e8
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005ae8f0
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005af8b4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.007142d0
push eax
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.007142e4
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xa8]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
call fcn.006e4008
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6f840b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004de218
call fcn.004d8e30
push eax
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040ce48
lea edx, [ebp - 0x30]
mov cl, 0xff
mov eax, dword [ebp - 0x10]
call fcn.0067956c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f8412
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
ret

Function at 0x6f845c
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x6f846c
call sub.user32.dll_FindWindowW
ret
Function at 0x712538
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x74], 0
jne 0x712550
mov eax, ebx
call fcn.00711d74
cmp dword [ebx + 0x70], 0
jne 0x71255d
mov eax, ebx
call fcn.00711cc4
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x712718
cmp dword [ebx + 0x70], 0
je 0x712718
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [esp], eax
mov eax, dword [ebx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00711b0c
lea eax, [esp + 0x14]
xor edx, edx
call fcn.007142d0
cmp eax, dword [esp]
je 0x7125de
lea eax, [esp + 0x14]
xor edx, edx
call fcn.007142e4
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x7125bb
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.007142d0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x7125d4
adc edx, 0
lea eax, [esp + 0x18]
pop ecx
call fcn.0040cfec
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x7125f1
mov eax, dword [eax + 0x18]
call fcn.005056c8
mov esi, eax
jmp 0x7125f4
mov esi, dword [ebx + 0x58]
mov edx, 0xffffffec
mov eax, esi
call fcn.0040f520
and eax, 8
cmp eax, 8
jne 0x71260d
or esi, 0xffffffff
jmp 0x712617
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x70]
call fcn.005b4000
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x70]
call fcn.005b403c
mov edx, dword [esp]
mov eax, dword [ebx + 0x70]
call fcn.004fbdc8
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x70]
call fcn.004fbdfc
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0040ced8
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x70]
call fcn.005056c8
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov eax, dword [ebx + 0x70]
call fcn.005056c8
mov edx, 0xffffffec
call fcn.0040f520
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
mov eax, dword [ebx + 0x70]
call fcn.005056c8
mov edx, 0xffffffec
pop ecx
call fcn.0040f7e8
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x74]
call fcn.004de218
call fcn.004d8e30
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x70]
call fcn.005056c8
push eax
mov eax, dword [0x770910]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x70]
call fcn.005056c8
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x712964
Capabilities:
Execute shellcode via indirect call
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.004054d0
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo_1
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x712b9a
push 0
push 0x712ba4
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x712b9a
push 0
push 0x712bc0
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x712b9a
push 0
push 0x712bdc
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x712b9a
push 0
push 0x712bfc
push 0
push eax
call sub.user32.dll_FindWindowExW
mov ebp, eax
test ebp, ebp
je 0x712b9a
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageW
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x712b9a
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x712b9a
mov eax, dword [esp + 8]
push eax
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
mov edi, eax
test edi, edi
je 0x712b9a
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.KERNEL32.DLL_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x712b9a
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x712b86
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x712b7c
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x20]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x712b7c
test byte [esp + 0x21], 0xd
jne 0x712b7c
movzx eax, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x712b7c
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push eax
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x712b7c
cmp dword [esp + 0xc], 0
je 0x712b7c
mov eax, dword [0x770e40]
mov eax, dword [eax]
cmp byte [eax + 0xd7], 0
je 0x712b19
mov eax, dword [0x770e40]
mov eax, dword [eax]
cmp dword [eax + 0x48], 0
je 0x712b19
mov eax, dword [0x770e40]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
call fcn.005056c8
mov dword [esp + 0x14], eax
jmp 0x712b2a
mov eax, dword [0x770e40]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x712b7c
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x712b58
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x712b86
lea eax, [esp + 0x2c]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
call fcn.0040d010
jmp 0x712b86
cmp ebx, dword [esp + 4]
jl 0x712a72
push 0x8000
push 0
push esi
push edi
call sub.KERNEL32.DLL_VirtualFreeEx
push edi
call sub.KERNEL32.DLL_CloseHandle_1
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x712a31
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.004054d0
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo_1
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x712b9a
push 0
push 0x712ba4
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x712b9a
push 0
push 0x712bc0
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x712b9a
push 0
push 0x712bdc
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x712b9a
push 0
push 0x712bfc
push 0
push eax
call sub.user32.dll_FindWindowExW
mov ebp, eax
test ebp, ebp
je 0x712b9a
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageW
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x712b9a
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x712b9a
mov eax, dword [esp + 8]
push eax
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
mov edi, eax
test edi, edi
je 0x712b9a
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.KERNEL32.DLL_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x712b9a
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x712b86
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x712b7c
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x20]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x712b7c
test byte [esp + 0x21], 0xd
jne 0x712b7c
movzx eax, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x712b7c
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push eax
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x712b7c
cmp dword [esp + 0xc], 0
je 0x712b7c
mov eax, dword [0x770e40]
mov eax, dword [eax]
cmp byte [eax + 0xd7], 0
je 0x712b19
mov eax, dword [0x770e40]
mov eax, dword [eax]
cmp dword [eax + 0x48], 0
je 0x712b19
mov eax, dword [0x770e40]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
call fcn.005056c8
mov dword [esp + 0x14], eax
jmp 0x712b2a
mov eax, dword [0x770e40]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x712b7c
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x712b58
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x712b86
lea eax, [esp + 0x2c]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
call fcn.0040d010
jmp 0x712b86
cmp ebx, dword [esp + 4]
jl 0x712a72
push 0x8000
push 0
push esi
push edi
call sub.KERNEL32.DLL_VirtualFreeEx
push edi
call sub.KERNEL32.DLL_CloseHandle_1
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x714cac
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd48
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov dl, 1
mov eax, ebx
call fcn.004200e0
test al, al
je 0x714d35
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.004054d0
or esi, 0x100
test esi, esi
jns 0x714ce9
call fcn.00405864
push esi
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.004083a0
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x714d35
mov dl, 1
mov eax, dword [0x4d5710]
call fcn.004dfe44
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.004e027c
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x714d35
mov eax, esp
call fcn.00427698
mov eax, dword [esp]
add esp, 0x2b8
pop esi
pop ebx
ret
Function at 0x73fec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004054d0
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov ax, word [ebp - 8]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x73ff39
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.user32.dll_WaitForInputIdle
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x73ffe4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407768
xor eax, eax
push ebp
push 0x7400eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
mov eax, dword [0x770e40]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x7400c3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x7400ac
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x740055
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowTextW
test eax, eax
je 0x740098
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x20e]
mov ecx, 0xff
call fcn.0040845c
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 4]
call fcn.00408744
jne 0x740098
mov byte [ebp - 5], 1
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x74003e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7400ca
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret
Function at 0x7400fc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb9c
xor edx, edx
mov dword [ebp - 0x45c], edx
mov dword [ebp - 0x464], edx
mov dword [ebp - 0x460], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407768
xor eax, eax
push ebp
push 0x7402a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
mov eax, 2
call fcn.0063333c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x74027a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24c], 0x22c
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 0xc]
call fcn.0063335c
mov dword [ebp - 0x14], eax
jmp 0x740253
call sub.KERNEL32.DLL_GetCurrentProcessId
cmp eax, dword [ebp - 0x244]
je 0x740242
mov eax, dword [ebp - 0x244]
push eax
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x740242
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00410bf8
test eax, eax
je 0x740239
push 0x104
lea ecx, [ebp - 0x456]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00410c28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x740239
lea eax, [ebp - 0x460]
lea edx, [ebp - 0x456]
mov ecx, 0x105
call fcn.0040845c
mov eax, dword [ebp - 0x460]
lea edx, [ebp - 0x45c]
call fcn.0041eae8
mov eax, dword [ebp - 0x45c]
push eax
lea edx, [ebp - 0x464]
mov eax, dword [ebp - 4]
call fcn.0041eae8
mov edx, dword [ebp - 0x464]
pop eax
call fcn.00408744
jne 0x740239
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 0xc]
call fcn.0063337c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x740173
mov al, byte [ebp - 5]
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x740281
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret