joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dc8f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5dc907
add esp, 0xfffffff0
call fcn.00408e1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c2968
mov eax, dword [0x61e178]
cmp byte [eax], 0
jne 0x5dc934
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x61e57c]
cmp word [eax + 2], 0
jne 0x5dc94e
mov eax, dword [0x61e57c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005dedb4
mov eax, dword [0x61e6ec]
cmp word [eax + 2], 0
jne 0x5dc968
mov eax, dword [0x61e6ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005df1cc
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x50c610]
call fcn.0051318c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5df778
mov dl, 1
mov eax, dword [0x481e9c]
call fcn.004087f8
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x481e9c]
call fcn.004087f8
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x511780]
call fcn.0051d760
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5dcb58
mov eax, dword [0x61e3e0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051dc7c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5dfa64
mov dl, 1
mov eax, dword [0x481e9c]
call fcn.004087f8
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x61e3e0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00427870
test eax, eax
je 0x5dca7b
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004276c8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00427854
test eax, eax
je 0x5dca93
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b0f4
push ebx
push 0x5de788
call fcn.005d0e9c
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x61e178]
cmp byte [eax], 0
jne 0x5dcae4
mov eax, ebx
call fcn.005dcd20
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005dfe0c
mov eax, ebx
call fcn.005e0948
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5dcb4f
call fcn.00408e74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5dd050
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5dd0f2
cmp dword [ebx + 0xac], 0
jne 0x5dd0ec
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5dcf90
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5dd0ec
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5dd0b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5dd0ec
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004ac974
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5dd0c1
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5dd434
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x625c7c]
cmp dword [eax + 0x190], 0
je 0x5dd59d
test bl, bl
jne 0x5dd4f0
cmp dword [esi + 0xb4], 0
jne 0x5dd4e5
mov eax, esi
call fcn.005e0798
push eax
push 0x5dd334
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5dd4b6
mov eax, dword [0x625c7c]
cmp byte [eax + 0xeb], 0
je 0x5dd4b6
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5dd497
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5dd4b6
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5dd49f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5dd4e5
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac974
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5dd4c5
inc dword [esi + 0xb4]
jmp 0x5dd59d
cmp dword [esi + 0xb4], 0
jle 0x5dd59d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5dd59d
cmp dword [esi + 0x58], 0
je 0x5dd552
mov eax, dword [0x625c7c]
cmp byte [eax + 0xeb], 0
je 0x5dd552
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5dd533
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5dd552
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5dd53b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5dd581
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac974
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5dd561
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5cd994]
call fcn.0040d3dc
pop edi
pop esi
pop ebx
ret
Function at 0x5de394
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5de3f1
cmp byte [ebx + 0xeb], 0
jne 0x5de3f1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a774
mov eax, dword [esi]
test eax, eax
je 0x5de3de
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5de3fe
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a9cc
jmp 0x5de3fe
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a9cc
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5e0020
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5e0091
mov eax, esi
call fcn.00542990
test al, al
je 0x5e0091
mov eax, dword [ebx + 0x98]
call fcn.00542528
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e0091
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5e0082
push 0
mov eax, dword [ebx + 0x98]
call fcn.00542528
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005387cc
jmp 0x5e0091
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005dfe2c
pop esi
pop ebx
ret
Function at 0x5e5c50
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5e5cd6
mov eax, dword [ebx + 8]
call fcn.00542528
mov ecx, eax
mov dl, 1
mov eax, dword [0x5513a8]
call fcn.0053c05c
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.00557f60
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5e5520
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00542528
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00542528
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5e5d58
mov eax, dword [ebx + 8]
call fcn.00542528
mov ecx, eax
mov dl, 1
mov eax, dword [0x5513a8]
call fcn.0053c05c
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.00557f60
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5e556c
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00542528
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00542528
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5e5dd6
mov eax, dword [ebx + 8]
call fcn.00542528
mov ecx, eax
mov dl, 1
mov eax, dword [0x551e9c]
call fcn.0053c05c
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00542528
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00542528
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5f96b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5f9889
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.005fa588
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0042edf4
cmp al, 2
jne 0x5f9716
dec esi
mov eax, ebx
call fcn.005fa59c
test al, al
je 0x5f981a
test esi, esi
jge 0x5f972b
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.005fa588
mov eax, dword [ebp - 0x208]
test eax, eax
je 0x5f974a
sub eax, 4
mov eax, dword [eax]
cmp edi, eax
jge 0x5f977b
lea edx, [ebp - 0x20c]
mov eax, ebx
call fcn.005fa588
mov eax, dword [ebp - 0x20c]
movzx eax, word [eax + edi*2 - 2]
mov edx, dword [0x61e988]
cmp ax, 0xff
ja 0x5f9778
movzx eax, ax
bt dword [edx], eax
jae 0x5f977b
inc edi
mov eax, dword [ebx + 0x364]
cmp esi, eax
jl 0x5f9789
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.005f99a4
cmp edi, esi
je 0x5f9812
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
push esi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x200]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop esi
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
mov byte [ebp - 0x1ef], 0
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.00542528
push eax
call sub.user32.dll_SendMessageW
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.00542528
push eax
call sub.user32.dll_SendMessageW
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x354], esi
jmp 0x5f9869
test esi, esi
jge 0x5f9820
xor esi, esi
lea edx, [ebp - 0x210]
mov eax, ebx
call fcn.005fa588
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x5f983c
sub eax, 4
mov eax, dword [eax]
cmp eax, esi
jg 0x5f985e
lea edx, [ebp - 0x214]
mov eax, ebx
call fcn.005fa588
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x5f985c
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.005f99a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9890
lea eax, [ebp - 0x214]
mov edx, 5
call fcn.0040a63c
pop eax
jmp eax
Function at 0x602ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.0040a6d0
xor eax, eax
push ebp
push 0x602bff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040a5dc
mov byte [ebp - 0x11], 0
push 0xa
mov eax, dword [ebp - 4]
call fcn.0040b040
push eax
mov eax, dword [0x622634]
push eax
call sub.kernel32.dll_FindResourceW
mov edi, eax
test edi, edi
jne 0x602b21
push 0x602c1c
push dword [ebp - 4]
push 0x602c64
mov eax, dword [ebp + 8]
mov edx, 3
call fcn.0040b32c
jmp 0x602bd8
push edi
mov eax, dword [0x622634]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0xc], eax
push edi
mov eax, dword [0x622634]
push eax
call sub.kernel32.dll_SizeofResource
test ebx, ebx
jge 0x602b54
mov ebx, eax
sub ebx, dword [esi]
sub eax, dword [esi]
cmp ebx, eax
jle 0x602b69
mov eax, dword [ebp + 8]
mov edx, 0x602c74
call fcn.0040a9cc
jmp 0x602bd8
xor edx, edx
push ebp
push 0x602bbb
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 0xc], 0
je 0x602b87
mov eax, ebx
call fcn.00406fec
mov dword [ebp - 8], eax
cmp dword [esi], 0
jne 0x602b91
mov eax, dword [ebp - 0xc]
jmp 0x602ba5
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esi]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.004071bc
add dword [esi], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x602bd2
mov eax, dword [ebp + 8]
cmp dword [eax], 0
cmp byte [ebp - 0x11], 0
je 0x602be7
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x602c06
lea eax, [ebp - 4]
call fcn.0040a5dc
pop eax
jmp eax
Function at 0x604744
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 0x80004001
mov esi, 2
mov ebx, 0x625f28
mov edi, dword [ebp - 4]
cmp dword [ebx], 0
je 0x6047c2
lea eax, [ebp - 0x111]
push eax
push 0
push 0
push edi
push 0
call dword [ebx]
test eax, eax
je 0x6047c8
cmp eax, 1
jne 0x6047c2
or edi, 0x8000
lea eax, [ebp - 0x111]
push eax
push 0
push 0
push edi
push 0
call dword [ebx]
test eax, eax
je 0x6047c8
cmp eax, 1
jne 0x6047c2
or edi, 0x4000
lea eax, [ebp - 0x111]
push eax
push 1
push 0xffffffffffffffff
push edi
push 0
call dword [ebx]
test eax, eax
je 0x6047c8
add ebx, 8
dec esi
jne 0x604768
test eax, eax
jne 0x6047f3
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.0040b0dc
and edi, 0x8000
cmp edi, 0x8000
mov eax, dword [ebp - 8]
sete byte [eax]
jmp 0x60482e
push 0
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x111]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x604826
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.0040b0dc
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x60482e
mov eax, dword [ebp - 0xc]
call fcn.0040a5dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60922c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a6d0
mov eax, dword [ebp - 8]
call fcn.0040a6d0
xor eax, eax
push ebp
push 0x6093cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b2a4
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00426e2c
test al, al
jne 0x6093ae
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [0x625f54]
call fcn.0040b2a4
mov edx, dword [0x61e18c]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
call fcn.0040b2a4
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040b040
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040b040
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp ebx, 0xffffffff
je 0x609369
cmp esi, 0xffffffff
je 0x609369
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_GetFileTime
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push esi
call sub.kernel32.dll_GetFileTime
push ebx
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_CompareFileTime
dec eax
jne 0x60934e
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.0040b040
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b040
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x6093ae
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.0040b040
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040b040
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x6093ae
cmp ebx, 0xffffffff
je 0x60938f
push ebx
call sub.kernel32.dll_CloseHandle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.0040b040
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b040
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x6093ae
push esi
call sub.kernel32.dll_CloseHandle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.0040b040
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040b040
push eax
call sub.kernel32.dll_CopyFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6093d2
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040a63c
pop eax
jmp eax
Function at 0x6093d8
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a6d0
mov eax, dword [ebp - 8]
call fcn.0040a6d0
mov ebx, dword [ebp + 8]
add ebx, 0xfffffd80
mov esi, dword [ebp + 8]
add esi, 0xfffffd78
mov edi, dword [ebp + 8]
add edi, 0xfffffd84
xor eax, eax
push ebp
push 0x6095c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov dword [eax - 0x274], 0x1ff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x270]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x274]
mov eax, dword [ebp - 4]
call fcn.004271c0
test eax, eax
jne 0x609599
mov eax, dword [ebp + 8]
inc dword [eax - 0x278]
mov eax, edi
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x25c]
call fcn.0040aa14
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.0042748c
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0040aa14
mov eax, dword [0x61e64c]
push dword [eax]
push 0x6095e0
push dword [ebp - 8]
push dword [ebx]
mov eax, edi
mov edx, 4
call fcn.0040b32c
mov eax, dword [0x61e724]
push dword [eax]
push dword [ebp - 8]
push dword [ebx]
mov eax, dword [ebp + 8]
add eax, 0xfffffd7c
mov edx, 3
call fcn.0040b32c
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x284]
call fcn.0040b040
push eax
mov eax, dword [edi]
call fcn.0040b040
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x609523
mov eax, dword [esi]
push dword [eax + 0x4dc]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4714
call fcn.006076b0
push dword [ebp - 0x14]
push 0x609604
mov eax, dword [esi]
add eax, 0x4dc
mov edx, 3
call fcn.0040b32c
jmp 0x609539
push 0x20
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x284]
call fcn.0040b040
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x278]
mov eax, dword [esi]
mov eax, dword [eax + 0x454]
call fcn.00566338
mov edx, dword [ebx]
mov eax, dword [esi]
mov eax, dword [eax + 0x458]
call fcn.0053891c
mov eax, dword [esi]
mov eax, dword [eax + 0x458]
call fcn.00538f10
mov eax, dword [0x61e6b0]
mov eax, dword [eax]
call fcn.005de964
mov eax, dword [ebp + 8]
add eax, 0xfffffd90
call fcn.00427210
test eax, eax
je 0x60945a
mov eax, dword [ebp + 8]
add eax, 0xfffffd90
call fcn.00427234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6095ca
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a63c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a63c
pop eax
jmp eax
Function at 0x60d35c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a6d0
mov eax, dword [ebp - 8]
call fcn.0040a6d0
mov eax, dword [ebp + 0xc]
call fcn.0040a6d0
xor eax, eax
push ebp
push 0x60d3f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1e8]
mov edx, dword [ebp + 0xc]
call fcn.0042773c
push eax
lea eax, [ebp - 0x148]
mov edx, dword [ebp - 8]
call fcn.0042773c
push eax
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 4]
call fcn.0042773c
push eax
push 0
push ebx
call sub.shell32.dll_ShellExecuteW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60d3fb
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a63c
lea eax, [ebp + 0xc]
call fcn.0040a5dc
pop eax
jmp eax
Function at 0x405302
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004055b1
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405336
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423f08], eax
jmp 0x4054ca
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x405354
test eax, eax
je 0x405475
test byte [ebp + 0xc], 2
je 0x405475
mov esi, 0x421480
push edi
push esi
call fcn.004059dd
test ebx, ebx
je 0x405371
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405377
push edi
call fcn.00405517
cmp byte [edi], 0
jne 0x405385
cmp byte [0x421480], 0x5c
jne 0x405390
push 0x409010
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40546b
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004054fb
cmp byte [eax], 0
je 0x4053d6
cmp byte [ebp - 0x18], 0
je 0x4053d6
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x4053ec
mov al, byte [esi + 1]
test al, al
je 0x40544a
cmp al, 0x2e
jne 0x4053ec
cmp byte [esi + 2], 0
je 0x40544a
push esi
push ebx
call fcn.004059dd
test byte [ebp - 0x148], 0x10
je 0x405411
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x40544a
push dword [ebp + 0xc]
push edi
call fcn.00405302
jmp 0x40544a
push edi
call fcn.00405695
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405442
test byte [ebp + 0xc], 4
je 0x40543a
push edi
push 0xfffffffffffffff1
call fcn.00404d7b
push 0
push edi
call fcn.0040572b
jmp 0x40544a
inc dword [0x423f08]
jmp 0x40544a
push edi
push 0xfffffffffffffff2
call fcn.00404d7b
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4053b4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x405475
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x4054ca
cmp dword [ebp - 8], esi
jne 0x40548a
inc dword [0x423f08]
jmp 0x4054ca
push edi
call fcn.00405cd8
test eax, eax
je 0x4054ca
push edi
call fcn.004054d0
push edi
call fcn.00405695
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4054c2
test byte [ebp + 0xc], 4
je 0x405482
push edi
push 0xfffffffffffffff1
call fcn.00404d7b
push esi
push edi
call fcn.0040572b
jmp 0x4054ca
push edi
push 0xffffffffffffffe5
call fcn.00404d7b
pop edi
pop esi
leave
ret 8