joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5282e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x5282f6
jmp 0x528330
mov eax, dword [0x56b020]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
je 0x52830b
jmp 0x528330
mov eax, dword [0x56b020]
cmp byte [eax + 0x11c], 0
je 0x52831b
jmp 0x528330
mov eax, dword [0x56b8b0]
mov edx, dword [0x56b8b0]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x56b8b0]
mov edx, dword [0x56b8b0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
je 0x52834c
jmp 0x52842a
mov eax, dword [0x56b020]
cmp byte [eax + 0x11c], 0
je 0x52835f
jmp 0x52842a
mov eax, dword [0x56b8b0]
mov edx, dword [0x56b8b0]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.00550060
mov eax, dword [0x56b020]
cmp dword [eax + 0x170], 0
jne 0x528384
jmp 0x5283f0
push 0x10
push 0
mov eax, dword [0x56b020]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x56b020]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x56b020]
mov eax, dword [eax + 0x170]
push dword [eax + 0x12c]
push 0
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x56b020]
mov eax, dword [eax + 0x170]
call fcn.004695e0
test al, al
jne 0x5283dd
jmp 0x5283f0
push 0
mov eax, dword [0x56b020]
call fcn.00488d90
push eax
call sub.user32.dll_ShowWindow
nop
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x56b020]
call fcn.0048c190
jmp 0x5284c8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x528435
jmp 0x528482
mov eax, dword [ebp - 4]
mov edx, dword [0x56b020]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
je 0x52844b
jmp 0x528482
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x56b020]
call fcn.0048c190
jmp 0x5284c8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x52848d
jmp 0x5284c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
jne 0x5284a1
jmp 0x5284c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x56b8b0]
mov edx, dword [0x56b8b0]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52f170
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
jne 0x52f19e
jmp 0x52f20c
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jg 0x52f1ba
jmp 0x52f20c
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
xor eax, eax
push fcn.0052f150
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0052f150
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52f910
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.0052f8f0
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x52f963
jmp 0x52f9e0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.004bead0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.004bea20
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.004bf1e0
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.004c0690
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x52fa37
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.0052f8d0
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0052f8d0
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0052f8f0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5504b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.00550490
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040c250
cmp dword [ebp - 0xc], 0
jg 0x5504fc
jmp 0x55051c
mov eax, dword [ebp - 0xc]
lea eax, [eax + 1]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x55050f
mov eax, 0x5d8a40
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
nop
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040c250
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040c990
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x550545
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x550551
mov eax, 0x5d8a40
call fcn.0043daf0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00550490
mov esp, ebp
pop ebp
ret
Function at 0x551b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x5cc7f0
call fcn.004100e0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00551b80
push ebp
push 0x415b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x34]
mov edx, 0
call fcn.0040a4d0
mov eax, dword [ebp - 0xc]
mov edx, fcn.0052c4b0
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov dx, 0
call fcn.0040ae20
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x30]
call fcn.0040a4d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.0054fb20
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00552220
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
je 0x551c95
jmp 0x551cb4
mov eax, dword [ebp - 4]
call fcn.0046e500
test al, al
je 0x551ca3
jmp 0x551cb4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00551b80
mov esp, ebp
pop ebp
ret
Function at 0x43bf70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
mov eax, 0x55555556
push esi
lea ecx, [ebp*4]
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 4]
push ecx
call dword [fcn.004376f0]
add esp, 4
mov esi, eax
test eax, eax
jne 0x43bfa3
pop esi
or eax, 0xffffffff
pop ebp
ret
xor ecx, ecx
push edi
test ebp, ebp
jle 0x43c030
mov edi, dword [esp + 0x10]
push ebx
xor edx, edx
mov dl, byte [ecx + edi]
inc ecx
shl edx, 8
cmp ecx, ebp
jge 0x43bfc7
xor ebx, ebx
mov bl, byte [ecx + edi]
add edx, ebx
inc ecx
shl edx, 8
cmp ecx, ebp
jge 0x43bfd6
xor ebx, ebx
mov bl, byte [ecx + edi]
add edx, ebx
mov ebx, edx
inc ecx
sar ebx, 0x12
and ebx, 0x3f
mov bl, byte [ebx + 0x4020a8]
mov byte [esi], bl
mov ebx, edx
sar ebx, 0xc
and ebx, 0x3f
mov bl, byte [ebx + 0x4020a8]
mov byte [esi + 1], bl
mov ebx, edx
sar ebx, 6
and ebx, 0x3f
and edx, 0x3f
cmp ecx, ebp
mov bl, byte [ebx + 0x4020a8]
mov byte [esi + 2], bl
mov dl, byte [edx + 0x4020a8]
mov byte [esi + 3], dl
jle 0x43c01d
mov byte [esi + 3], 0x3d
lea edx, [ebp + 1]
cmp ecx, edx
jle 0x43c028
mov byte [esi + 2], 0x3d
add esi, 4
cmp ecx, ebp
jl 0x43bfb3
pop ebx
mov ecx, dword [esp + 0x18]
mov byte [esi], 0
mov edi, eax
mov dword [ecx], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop esi
mov eax, ecx
pop ebp
ret

Function at 0x43c050
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
inc ebx
push ebx
call dword [fcn.004376f0]
mov ecx, ebx
mov ebp, eax
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
xor eax, eax
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x43c09c
mov cl, byte [eax + ebp]
xor cl, 0x19
sub cl, 0x7a
mov byte [eax + ebp], cl
inc eax
cmp eax, ebx
jl 0x43c08b
lea edx, [esp + 0x14]
push edx
push ebx
push ebp
call fcn.0043bf70
push ebp
call dword [0x4376f4]
mov eax, dword [esp + 0x24]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43db40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x596989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0xee
mov dword [esp + 0x18], esi
call fcn.0057c6bc
mov ecx, dword [0x4051a4]
lea edi, [esi + 0x60]
mov dword [esp + 0x28], 0
mov dword [edi], ecx
mov edx, dword [0x4051a4]
lea ebp, [esi + 0x64]
mov dword [ebp], edx
mov eax, dword [0x4051a4]
mov dword [esi + 0x68], eax
push 0
push ecx
mov bl, 3
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4023f4
mov byte [esp + 0x34], bl
mov dword [esi], 0x4182f8
call fcn.0057b087
push ecx
mov byte [esp + 0x34], 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4023e8
call fcn.0057b087
mov byte [esp + 0x34], bl
call fcn.0043d560
mov ecx, eax
add ecx, 0xc0
call fcn.00446530
push ecx
mov dword [esi + 0x5c], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5bf6ec
call fcn.0057b087
push ecx
mov byte [esp + 0x30], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4023e0
call fcn.0057b087
push ecx
mov byte [esp + 0x34], 7
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4023e8
call fcn.0057b087
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], bl
push ecx
call fcn.0043d560
mov ecx, eax
add ecx, 0xc0
call fcn.00446460
push eax
mov ecx, edi
mov byte [esp + 0x2c], 9
call fcn.0057b152
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0057b019
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4023d8
call fcn.0057b087
push ecx
mov byte [esp + 0x30], 0xa
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4023cc
call fcn.0057b087
push ecx
mov byte [esp + 0x34], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4023e8
call fcn.0057b087
lea edx, [esp + 0x3c]
mov byte [esp + 0x34], bl
push edx
call fcn.0043d560
mov ecx, eax
add ecx, 0xc0
call fcn.00446460
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 0xd
call fcn.0057b152
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0057b019
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5bf6ec
call fcn.0057b087
push ecx
mov byte [esp + 0x30], 0xe
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4023c4
call fcn.0057b087
push ecx
mov byte [esp + 0x34], 0xf
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4023e8
call fcn.0057b087
lea eax, [esp + 0x3c]
mov byte [esp + 0x34], bl
push eax
call fcn.0043d560
mov ecx, eax
add ecx, 0xc0
call fcn.00446460
push eax
lea ecx, [esi + 0x68]
mov byte [esp + 0x2c], 0x11
call fcn.0057b152
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0057b019
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4

Function at 0x43e990
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x160
cmp eax, 0xffffffff
jne 0x43e9a6
mov eax, 0x80
jmp 0x43e9a8
or al, 0x80
mov edx, dword [esp + 0x164]
push 0x4010
lea ecx, [esp + 4]
push 0x160
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 4]
add esp, 0x160
ret
Function at 0x440160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x596d67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov edi, 1
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edi
call fcn.0057ad8e
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.00574487
cmp eax, 0xffffffff
jne 0x4401c8
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0057ad8e
mov dword [esp + 0x14], edi
jmp 0x44028a
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.0057440f
mov bl, 3
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00574487
cmp eax, 0xffffffff
jne 0x4401fd
push 0x5bf6ec
lea ecx, [esp + 0x10]
call fcn.0057b1a2
jmp 0x440268
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0057440f
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0057b152
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.0057b019
lea edx, [esp + 0x18]
push edi
push edx
lea ecx, [esp + 0x14]
call fcn.00574393
mov eax, dword [eax]
push 0x4024a8
push eax
call dword [fcn.00437700]
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.0057b019
test bl, bl
je 0x440268
push 0x4024a8
lea ecx, [esp + 0x10]
call fcn.0057b3f5
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0057ad8e
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x24], 2
call fcn.0057b019
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.0057b019
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.0057b019
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x440e60
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x596ddb
push eax
mov dword fs:[0], esp
sub esp, 0x354
xor eax, eax
push ebx
mov ebx, dword [esp + 0x368]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x41
lea edi, [esp + 0x15c]
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + ebx - 1], 0x5c
je 0x440eb1
mov edi, 0x4024a8
mov dword [esp + 0x14], edi
jmp 0x440ebd
mov dword [esp + 0x14], 0x5bf6ec
mov edi, dword [esp + 0x14]
push edi
push ebx
lea eax, [esp + 0x164]
push 0x4024dc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x15c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
jne 0x440efa
xor al, al
jmp 0x441044
cmp byte [esp + 0x48], 0x2e
je 0x441027
test byte [esp + 0x1c], 0x10
je 0x440f3d
lea eax, [esp + 0x48]
lea ecx, [esp + 0x260]
push eax
push edi
push ebx
push 0x4024d4
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [esp + 0x260]
mov ecx, esi
push edx
call fcn.00440e60
jmp 0x441027
mov eax, dword [0x4051a4]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x48]
lea edx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x4024d4
push edx
mov dword [esp + 0x380], 0
call fcn.0057482f
mov eax, dword [esi + 0xb4]
mov ebp, dword [esi + 0xac]
add esp, 0x14
test eax, eax
jne 0x440fb6
mov eax, dword [esi + 0xbc]
push 0xc
lea ecx, [esi + 0xb8]
push eax
push ecx
call fcn.00576370
mov ecx, dword [esi + 0xbc]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x440fb6
inc ecx
mov edx, dword [esi + 0xb4]
mov dword [eax], edx
mov dword [esi + 0xb4], eax
sub eax, 0xc
dec ecx
jne 0x440fa2
mov edi, dword [esi + 0xb4]
push 1
mov eax, dword [edi]
mov dword [esi + 0xb4], eax
mov dword [edi + 4], ebp
mov dword [edi], 0
mov edx, dword [esi + 0xb0]
lea ebp, [edi + 8]
inc edx
push ebp
mov dword [esi + 0xb0], edx
call fcn.005748e0
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.0057b152
mov eax, dword [esi + 0xac]
test eax, eax
je 0x440fff
mov dword [eax], edi
jmp 0x441005
mov dword [esi + 0xa8], edi
lea ecx, [esp + 0x10]
mov dword [esi + 0xac], edi
mov dword [esp + 0x36c], 0xffffffff
call fcn.0057b019
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440efa
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x360
ret 4
Function at 0x441f00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 9
mov ecx, dword [esi + 0x654]
add ecx, 0x24
call fcn.0043be00
mov ecx, dword [esi + 0x654]
push 1
add ecx, 0x24
mov ebp, eax
call fcn.0043be00
mov edi, dword [eax + 4]
mov edx, dword [eax]
xor ecx, ecx
xor ebx, ebx
or ecx, edi
or edx, ebx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edx
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x654]
mov edx, dword [eax + 4]
add ecx, 0x24
mov dword [esp + 0x1c], edx
call fcn.0043bc40
push ebx
push 0x80
push 3
push ebx
push 2
mov edi, eax
push 0x40000000
lea ecx, [esi + 0x60]
push ebx
sub edi, 9
call fcn.0057b449
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
lea eax, [esp + 0x14]
push 0
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x10], 0
lea edx, [esp + 0x18]
push 0
push edx
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jg 0x441fc3
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 0xf
mov dword [esp + 0x10], ecx
jl 0x441fa1
cmp dword [esp + 0x10], 0xf
jne 0x441ffe
test eax, eax
jg 0x441ffe
lea eax, [esi + 0x60]
push 0x40253c
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0057b2ae
mov ecx, dword [eax]
mov edx, dword [esi + 0x1c]
push 0x30
push 0x4024f0
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.0057b019
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x80]
add edx, eax
mov dword [esi + 0x80], edx
mov ecx, dword [esi + 0x84]
adc ecx, 0
mov dword [esi + 0x84], ecx
mov ecx, esi
call fcn.004422f0
mov al, byte [esi + 0x5c]
test al, al
je 0x442043
mov ecx, esi
call fcn.004422c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x21], ecx
mov dword [esp + 0x25], edx
mov edx, dword [esi + 0x654]
lea ecx, [esp + 0x20]
push 9
push ecx
mov ecx, dword [esi + 0x658]
push edx
mov byte [esp + 0x2c], 7
call fcn.004476c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4423e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x596f60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esi + 0x7f4], 1
mov eax, dword [0x4051a4]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x7bc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push ecx
mov dword [esp + 0x38], 0
call ebx
cmp eax, 1
push 0
push 0
jbe 0x44245a
mov edx, dword [esi + 0x7bc]
push 0x1032
push edx
call ebx
push eax
lea eax, [esp + 0x14]
push 0x402600
push eax
call fcn.0057482f
add esp, 0xc
jmp 0x4424d7
mov ecx, dword [esi + 0x7bc]
push 0x1042
push ecx
call ebx
lea edi, [esi + 0x7a0]
push 0
lea edx, [esp + 0x18]
push eax
push edx
mov ecx, edi
call fcn.00575d3d
mov eax, dword [esi + 0x7bc]
push 0
push 0
push 0x1042
push eax
mov byte [esp + 0x38], 1
call ebx
push eax
mov ecx, edi
call fcn.00575de2
cmp eax, 1
jne 0x4424b2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0x4025d4
push edx
jmp 0x4424c1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push 0x4025bc
push ecx
call fcn.0057482f
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.0057b019
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x1c]
push 0x24
push 0x4025b0
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x4425d6
push 0
mov ecx, esi
call fcn.00441060
mov ecx, dword [esi + 0x7bc]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebx
lea ebp, [eax + 1]
test ebp, ebp
je 0x4425b5
mov edx, dword [esi + 0x7bc]
lea edi, [ebp - 1]
push 2
push edi
push 0x100c
push edx
call ebx
lea ebp, [eax + 1]
push 0
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esi + 0x7a0]
call fcn.00575d3d
push eax
lea eax, [esi + 0x668]
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.0057b248
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 4
call fcn.0057b019
push edi
lea ecx, [esi + 0x7a0]
call fcn.00575de2
test eax, eax
je 0x442594
push 0x5c
lea ecx, [esp + 0x18]
call fcn.0057b41c
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.00442b50
jmp 0x44259f
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.0057b019
test ebp, ebp
jne 0x44251c
push 1
mov ecx, esi
call fcn.00441060
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4024ac
call fcn.0057b087
mov ecx, esi
call fcn.0043f2c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0057b019
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret