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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x520811
dec al
je 0x52084c
dec al
je 0x520891
dec al
je 0x5208fa
jmp 0x520984
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x520984
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 0x520821
jmp 0x520984
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x520984
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]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x52085c
jmp 0x520984
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x520984
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 ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5208c0
xor ebp, ebp
jmp 0x5208d0
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5208d9
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5208a1
jmp 0x520984
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x520984
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, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x520953
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + 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 + 4], 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 + 4]
push eax
mov eax, ebp
pop edx
call fcn.0051d854
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x52090e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x525e84
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x608a8c
test esi, esi
jne 0x525e9e
xor eax, eax
jmp 0x525f8f
cmp dword [ebp], 0
jne 0x525ea9
call fcn.00525e14
xor ebx, 0xffffffff
cmp edi, 8
jb 0x525f69
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x525eb5
test edi, edi
jbe 0x525f8a
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x525f6d
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5649d4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.005649c0
test eax, eax
jne 0x5649f7
mov eax, esi
xor edx, edx
call fcn.00407160
jmp 0x564a8c
mov eax, ebx
call fcn.00564b2c
test al, al
je 0x564a3f
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.0040729c
test edi, edi
je 0x564a34
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
jmp 0x564a8c
mov eax, esi
xor edx, edx
call fcn.00407160
jmp 0x564a8c
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x564a83
mov eax, dword [ebp + 0x270]
call fcn.004368c8
test eax, eax
jle 0x564a71
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x270]
mov edx, edi
call fcn.00488a6c
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00407160
jmp 0x564a8c
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x278]
call fcn.00407160
jmp 0x564a8c
mov eax, esi
xor edx, edx
call fcn.00407160
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5653cc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov ebx, eax
mov esi, dword [ebx + 4]
mov eax, esi
mov edx, dword [0x512d2c]
call fcn.00405288
test al, al
je 0x5654dc
mov eax, esi
call fcn.00516ae0
call fcn.0045ccac
test al, al
jne 0x56540a
mov eax, esi
call fcn.00516ae0
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor eax, eax
mov dword [esp + 8], eax
mov eax, esi
call fcn.00516ae0
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov edi, dword [ebx + 0x1c]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x14], eax
mov eax, edi
call fcn.0058f8fc
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x4c]
mov dword [esp], eax
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.0056554c
push esi
lea esi, [esp + 0x48]
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, esi
call fcn.00516b08
and eax, 0x7f
mov dword [esp + 0x2c], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x5c]
mov byte [esp + 0x30], al
xor eax, eax
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 0x1b8]
mov byte [esp + 0x38], al
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.005903d8
test al, al
je 0x5654b0
mov eax, dword [ebx + 0x1c]
call fcn.0058f8fc
test eax, eax
je 0x5654b0
mov eax, dword [ebx + 0x1c]
call fcn.0058f8fc
mov eax, dword [eax + 0x88]
cmp byte [eax + 6], 0
jne 0x5654b4
xor eax, eax
jmp 0x5654b6
mov al, 1
mov byte [esp + 0x39], al
mov eax, ebx
call fcn.005651bc
mov dword [esp + 0x3c], eax
movzx eax, byte [0x5654e4]
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 0
mov eax, esp
call fcn.0053b908
add esp, 0x54
pop edi
pop esi
pop ebx
ret
Function at 0x566800
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.0040b00c
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageW
pop esi
pop ebx
ret
Function at 0x56e3c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x56e47e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406db8
mov eax, dword [0x602608]
cmp dword [eax], 2
jne 0x56e433
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004070ac
mov eax, dword [ebx]
call fcn.00406f94
push eax
mov eax, dword [ebx]
call fcn.00406f84
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00406f94
mov edx, eax
dec edx
mov eax, ebx
call fcn.004070ac
jmp 0x56e465
lea eax, [ebp - 0x7d2]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageW
lea edx, [ebp - 0x7d8]
lea eax, [ebp - 0x7d2]
call fcn.00415050
mov edx, dword [ebp - 0x7d8]
mov eax, ebx
call fcn.004073ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56e485
lea eax, [ebp - 0x7d8]
call fcn.00407150
ret
Function at 0x59e60c
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 + 0x70], 0
jne 0x59e624
mov eax, ebx
call fcn.0059e3a4
cmp dword [ebx + 0x68], 0
jne 0x59e631
mov eax, ebx
call fcn.0059e2fc
mov esi, dword [ebx + 0x70]
test esi, esi
je 0x59e7d8
cmp dword [ebx + 0x68], 0
je 0x59e7d8
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [esp], eax
mov eax, dword [ebx + 0x70]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0059e280
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x59e6a4
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x59e68d
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x59e699
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x59e6ba
call fcn.004b7904
mov esi, eax
jmp 0x59e6bd
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x59e6d2
or esi, 0xffffffff
jmp 0x59e6dc
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.004db76c
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.004db7a8
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.004adf74
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.004adfa8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0040b03c
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 + 0x68]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowLongW
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x70]
call fcn.0045cbac
call fcn.00457314
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.004b7904
push eax
mov eax, dword [0x601f1c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.004b7904
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 0x5a3864
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 [0x4ce824]
call fcn.004d4d58
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], pe_nt_image_headers32
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowLongW
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004d5d94
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004d6cc0
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.005c5df4
push eax
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.005c5e08
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0057dfdc
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 0x5a39a9
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 + 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_BitBlt
push 0x1fffffff
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.0040b00c
lea edx, [ebp - 0x30]
mov cl, 0xff
mov eax, dword [ebp - 0x10]
call fcn.00593238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a39b0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ReleaseDC
ret

Function at 0x5a39f8
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x5a3a08
call sub.user32.dll_FindWindowW
ret
Function at 0x5c1984
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 0x5c199c
mov eax, ebx
call fcn.005c11ec
cmp dword [ebx + 0x70], 0
jne 0x5c19a9
mov eax, ebx
call fcn.005c1148
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x5c1b5c
cmp dword [ebx + 0x70], 0
je 0x5c1b5c
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.005c0f90
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005c5df4
cmp eax, dword [esp]
je 0x5c1a2b
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005c5e08
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5c1a07
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.005c5df4
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5c1a20
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x5c1a3e
mov eax, dword [eax + 0x18]
call fcn.004b7904
mov esi, eax
jmp 0x5c1a41
mov esi, dword [ebx + 0x58]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x5c1a56
or esi, 0xffffffff
jmp 0x5c1a60
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.004db76c
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x70]
call fcn.004db7a8
mov edx, dword [esp]
mov eax, dword [ebx + 0x70]
call fcn.004adf74
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x70]
call fcn.004adfa8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0040b03c
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.004b7904
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x70]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x70]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowLongW
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x74]
call fcn.0045cbac
call fcn.00457314
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x70]
call fcn.004b7904
push eax
mov eax, dword [0x601f1c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x70]
call fcn.004b7904
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 0x5c1dc4
Capabilities:
Allocate or change rwx memory
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.004049d8
lea eax, [esp + 0x3c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x5c1ffa
push 0
push 0x5c2004
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5c1ffa
push 0
push 0x5c2020
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5c1ffa
push 0
push 0x5c203c
push 0
push eax
call sub.user32.dll_FindWindowExW
test eax, eax
je 0x5c1ffa
push 0
push 0x5c205c
push 0
push eax
call sub.user32.dll_FindWindowExW
mov ebp, eax
test ebp, ebp
je 0x5c1ffa
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageW
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x5c1ffa
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 0x5c1ffa
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x5c1ffa
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x5c1ffa
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x5c1fe6
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5c1fdc
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 0x5c1fdc
test byte [esp + 0x21], 0xd
jne 0x5c1fdc
movzx eax, byte [esp + 0x20]
and al, 8
cmp al, 8
je 0x5c1fdc
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 0x5c1fdc
cmp dword [esp + 0xc], 0
je 0x5c1fdc
mov eax, dword [0x60234c]
mov eax, dword [eax]
cmp byte [eax + 0xd3], 0
je 0x5c1f79
mov eax, dword [0x60234c]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x5c1f79
mov eax, dword [0x60234c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004b7904
mov dword [esp + 0x14], eax
jmp 0x5c1f8a
mov eax, dword [0x60234c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x5c1fdc
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageW
test eax, eax
je 0x5c1fb8
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 0x5c1fe6
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.0040b168
jmp 0x5c1fe6
cmp ebx, dword [esp + 4]
jl 0x5c1ed2
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 0x5c3e9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5c3f0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x6013bc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x5c3ef7
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.005c3e84
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c363c]
call fcn.005c4904
mov dword [0x601420], eax
mov eax, dword [ebp - 4]
call fcn.005c3e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c3f14
lea eax, [ebp - 8]
call fcn.0040a110
ret

Function at 0x5c3f3c
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffd4c
mov esi, 0x4008
test cl, cl
je 0x5c3f4f
or esi, 2
test dl, dl
je 0x5c3f58
or esi, 0
jmp 0x5c3f5b
or esi, 1
push esi
push 0x2b4
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [esp + 4]
add esp, 0x2b4
pop esi
ret

Function at 0x5c51f8
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffd4c
mov eax, esp
xor ecx, ecx
mov edx, 0x2b4
call fcn.004049d8
push 0x4001
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x5c5294
call sub.shell32.dll_SHGetFileInfoW
mov dword [0x6013b4], eax
cmp dword [0x6013b4], 0
je 0x5c528b
cmp dword [0x6013b8], 0
jne 0x5c528b
xor ecx, ecx
mov dl, 1
mov eax, dword [0x53c9d8]
call fcn.0053d980
mov dword [0x6013b8], eax
mov edx, dword [0x6013b4]
mov eax, dword [0x6013b8]
call fcn.004c6dec
mov dl, 1
mov eax, dword [0x6013b8]
call fcn.004c6d68
mov dl, 1
mov eax, dword [0x6013b8]
call fcn.0053f4e0
push 0xffffffffffffffff
mov eax, dword [0x6013b8]
call fcn.004c6e28
push eax
call sub.comctl32.dll_ImageList_SetBkColor
add esp, 0x2b4
ret

Function at 0x5c69d0
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 eax, ebx
call fcn.0041476c
test al, al
je 0x5c6a57
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.004049d8
or esi, 0x100
test esi, esi
jns 0x5c6a0b
call fcn.00404f2c
push esi
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.004071ec
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5c6a57
mov dl, 1
mov eax, dword [0x453590]
call fcn.0045e8a4
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0045ed38
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x5c6a57
mov eax, esp
call fcn.0041b3c8
mov eax, dword [esp]
add esp, 0x2b8
pop esi
pop ebx
ret
Function at 0x5dcd94
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5dcdc2
mov eax, ebx
call fcn.005dd848
cmp dword [ebx + 0x40], 0
je 0x5dcdbb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5dce33
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5dce25
cmp dword [ebx + 8], 0
je 0x5dcde4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5dcdf6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5dce25
cmp dword [ebx + 8], 0
je 0x5dcdd7
cmp eax, 3
je 0x5dce09
dec eax
jne 0x5dcdd7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5dcdd7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5dcdd7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5dce51
cmp dword [ebx + 0x14], 0xcc
je 0x5dce51
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005dce5c
pop ebx
ret