joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f3a0
Capabilities:
Log keystrokes

Disassembly:
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi], 5
mov dword [esi + 4], 5
mov word [esi + 8], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov word [esi + 0x18], bx
push ebx
mov dword [esi + 0x1a], ebx
mov word [esi + 0x1e], bx
push 0x5b
mov dword [esi + 0xc], 4
call edi
push ebx
push 0x10
mov byte [esi + 0x29], al
call edi
push ebx
push 0xa0
mov byte [esi + 0x26], al
call edi
push ebx
push 0xa1
mov byte [esi + 0x27], al
call edi
push ebx
push 0x11
mov byte [esi + 0x28], al
call edi
push ebx
push 0x12
mov byte [esi + 0x24], al
call edi
pop edi
mov byte [esi + 0x25], al
pop ebx
ret

Function at 0x40f520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00426660
xor eax, eax
nop
mov cl, byte [eax + 0x4a3238]
mov dl, byte [eax + 0x4a3230]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40f530
lea eax, [ebp - 8]
push 0x495840
push eax
call fcn.004138c0
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00412620
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.00414f74
add esp, 0x10
cmp eax, 0x18
jl 0x40f5f1
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f5c0
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f5de
cmp ecx, 0x14
je 0x42a129
inc edx
cmp edx, esi
jl 0x40f5a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.00415341
add esp, 0xc
jmp 0x40f574
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f5ff
inc ecx
jmp 0x40f5b2
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x40f614
add ecx, 2
jmp 0x40f5b2
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x42a121
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x42a110
add ecx, 4
jmp 0x40f5b2
add ecx, 5
cmp ecx, 0x14
jl 0x40f5a2
jmp 0x40f5b2
add ecx, 3
jmp 0x40f5b2
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.00415341
mov eax, dword [esi]
push eax
push 4
lea ecx, [ebp - 8]
push 1
push ecx
call fcn.00414f74
lea edx, [ebp - 8]
push str.TT
push edx
mov byte [ebp - 4], 0
call fcn.00414fa0
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40f5f6
Function at 0x40f6c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x4956f4
call fcn.0040f650
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.004138c0
push esi
call fcn.004110b6
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f780
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f7b0
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f714
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x498d6c
push eax
call fcn.00414c32
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x42beea
push edi
call fcn.0040f520
cmp eax, ebx
je 0x42bef4
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414cb6
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f773
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414f74
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044f2dc
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42bf20
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415252
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f773

Function at 0x40f780
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412a00
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x410640
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4a8588]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x4a8588]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x4a8580], eax
call esi
mov edx, dword [0x4a8580]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x4a857c], eax
call esi
mov eax, dword [0x4a8580]
push 0
push eax
call esi
pop esi
ret
Function at 0x4109d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 8]
push ecx
xor eax, eax
push 1
push eax
mov word [esi], ax
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a222
mov edx, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push eax
mov eax, dword [ebp - 8]
push edx
add edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410a43
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0x10]
jae 0x42a228
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push eax
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
xor edx, edx
mov word [edi + esi - 2], dx
jmp 0x410a2f

Function at 0x41b368
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a1dd0]
jne 0x41b372
repz ret
jmp fcn.00426326
Function at 0x4244bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a1dd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00418c2c
and dword [ebp - 0x14], 0
cmp dword [0x4a81bc], 0
mov dword [ebp - 0x18], eax
jne 0x42456f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x424617
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4936f0
push ebx
call edi
test eax, eax
je 0x424617
mov esi, dword [section..data]
push eax
call esi
push 0x4936e0
push ebx
mov dword [0x4a81bc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a81c0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a81c4], eax
call edi
push eax
call esi
mov dword [0x4a81cc], eax
test eax, eax
je 0x42456f
push 0x493698
push ebx
call edi
push eax
call esi
mov dword [0x4a81c8], eax
mov eax, dword [0x4a81c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x4a1004]
cmp eax, ecx
je 0x4245c8
cmp dword [0x4a81cc], ecx
je 0x4245c8
push eax
call esi
push dword [0x4a81cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4245c8
test ebx, ebx
je 0x4245c8
call edi
test eax, eax
je 0x4245bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4245bf
test byte [ebp - 8], 1
jne 0x4245c8
or dword [ebp + 0x10], 0x200000
jmp 0x4245fb
mov eax, dword [0x4a81c0]
cmp eax, dword [ebp - 0x18]
je 0x4245fb
push eax
call esi
test eax, eax
je 0x4245fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4245fb
mov eax, dword [0x4a81c4]
cmp eax, dword [ebp - 0x18]
je 0x4245fb
push eax
call esi
test eax, eax
je 0x4245fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a81bc]
call esi
test eax, eax
je 0x424617
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x424619
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b368
leave
ret
Function at 0x43440b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
cmp word [eax], 0
push ebx
push esi
push edi
je 0x43452c
push 0
push 0
push 3
push 0
push 0
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x434449
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43443e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 8]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0x487960
push 0
push 0
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43443e
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
mov eax, dword [ebp + 0x14]
jne 0x434505
cmp dword [eax], 0
jne 0x434505
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
push 0x2000
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x434533
mov dword [ebp + 0xc], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x434544
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push 0
mov dword [esi + 0x60], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434566
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push esi
or ecx, 0x50000000
push edi
mov edi, dword [ebp + 8]
test eax, 0x80000
je 0x434586
and eax, 0xfff7ffff
mov edx, dword [0x4b96f4]
push 0
push edx
mov edx, dword [ebp + 0x2c]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4345f1
cmp byte [ebp + 0x30], 0
je 0x4345d6
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x190], 0
jl 0x4345f1
cmp byte [edi + 0x19c], 0
je 0x4345f1
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x2c
Function at 0x434e7d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0x44
push 0
push 0x4ba5d8
call fcn.00412a00
push 0x10
push 0
push 0x4ba5c4
call fcn.00412a00
mov ecx, dword [ebp + 8]
add esp, 0x18
push 0x4ba5c4
push 0x4ba5d8
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4ba5d8], 0x44
mov dword [0x4ba604], 1
mov word [0x4ba608], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x434ef1
mov edx, dword [0x4ba5c4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
ret 4
Function at 0x43536b
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp eax, ecx
push edi
mov edi, dword [esi + 0xc]
setl byte [ebp + 0x13]
cmp edi, edx
setl byte [ebp - 1]
cmp byte [ebp + 0x13], 0
je 0x435399
mov dword [esi], eax
mov dword [esi + 8], ecx
cmp byte [ebp - 1], 0
je 0x4353a5
mov dword [esi + 4], edi
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x104]
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0043531f
mov eax, dword [ebp - 0x18]
add dword [esi], eax
add dword [esi + 8], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add dword [esi + 0xc], ecx
mov ebx, dword [esi + 0xc]
sub eax, dword [esi]
add dword [esi + 4], ecx
sub ebx, dword [esi + 4]
inc eax
push 0
mov dword [ebp + 0xc], eax
inc ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp + 0xc]
push ebx
mov edi, eax
push ecx
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 8]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dl, byte [ebp - 1]
mov dword [ebp - 0x10], eax
mov ecx, ebx
test dl, dl
je 0x43541b
neg ecx
cmp byte [ebp + 0x13], 0
mov eax, dword [ebp + 0xc]
je 0x435426
neg eax
test dl, dl
je 0x43542f
mov edx, dword [esi + 0xc]
jmp 0x435432
mov edx, dword [esi + 4]
cmp byte [ebp + 0x13], 0
mov dword [ebp + 8], edx
je 0x435451
mov esi, dword [esi + 8]
jmp 0x435453
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004110b6
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
push 0xcc0020
push ecx
mov ecx, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push ebx
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
push 0
mov ecx, ebx
neg ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
push 0
push esi
push edi
mov dword [ebp - 0x44], 0x28
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0x200001
mov dword [ebp - 0x34], 0
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x14]
push eax
mov dword [edx], eax
call fcn.00412ac9
add esp, 4
push 0
lea ecx, [ebp - 0x44]
push ecx
push eax
push ebx
push 0
push esi
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov edx, dword [ebp - 0x10]
push edx
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
test ebx, ebx
pop ebx
je 0x435440
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43550d
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
lea ebx, [ecx + edx]
mov edx, edi
imul edx, esi
add edx, edx
add esi, esi
or eax, 0xffffffff
add edx, edx
lea edi, [ecx + edi*4]
add esi, esi
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], ecx
movzx edi, byte [ecx + 2]
mov esi, eax
and esi, 0xff
xor esi, edi
movzx edi, byte [ecx + 1]
shr eax, 8
xor eax, dword [esi*4 + 0x4a2c88]
mov esi, eax
and esi, 0xff
xor esi, edi
movzx edi, byte [ecx]
shr eax, 8
xor eax, dword [esi*4 + 0x4a2c88]
add ecx, edx
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x4a2c88]
mov esi, dword [ebp + 0x14]
cmp ecx, ebx
jb 0x435596
add esi, dword [ebp + 0x10]
mov dword [ebp + 0x14], esi
mov ecx, esi
cmp esi, dword [ebp + 8]
jb 0x43553e
not eax
mov dword [ebp + 0x14], eax
fild dword [ebp + 0x14]
test eax, eax
jns 0x4355ad
fadd qword [0x49d928]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x435a27
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x435aba
lea ecx, [ecx]
lea edx, [esp + 0x3c]
push 0x495740
push edx
call fcn.004133a6
add esp, 8
test eax, eax
je 0x435aaa
lea eax, [esp + 0x3c]
push 0x49b784
push eax
call fcn.004133a6
add esp, 8
test eax, eax
je 0x435aaa
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x435ad4
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435a57
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x435ae6
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x10]
push edx
push 0x49b77c
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x435b6d
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x435b5d
lea eax, [esp + 0x3c]
push 0x495740
push eax
call fcn.004133a6
add esp, 8
test eax, eax
je 0x435b5d
lea ecx, [esp + 0x3c]
push 0x49b784
push ecx
call fcn.004133a6
add esp, 8
test eax, eax
je 0x435b5d
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00435a27
test al, al
je 0x435b7b
push 0x49b784
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435aff
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435b89
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0xa28
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa28]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x435bbb
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
lea eax, [ebp - 0xa28]
push eax
lea ecx, [ebp - 0x208]
push str.___s
push ecx
call fcn.00413505
lea edx, [ebp - 0x208]
push edx
call fcn.00412981
mov edi, eax
add esp, 0x10
cmp word [ebp + edi*2 - 0x20a], 0x5c
jne 0x435c05
cmp word [ebp + edi*2 - 0x20c], 0x3a
je 0x435c05
xor eax, eax
mov word [ebp + edi*2 - 0x20a], ax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x435c1f
cmp byte [ebp + 0x10], al
jne 0x435c1f
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push 0
push 0x2200000
push 3
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x435cd2
push 0x14
lea ecx, [ebp - 0x820]
push 0
push ecx
call fcn.00412a00
lea edx, [edi + edi]
mov word [ebp - 0x816], dx
mov eax, dword [ebp - 0x816]
push 0x104
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x810]
add eax, 2
push edx
mov dword [ebp - 0x820], 0xa0000003
mov word [ebp - 0x814], ax
call fcn.00413224
mov eax, dword [ebp - 0x816]
add esp, 0x18
push 0
add eax, 0xc
lea ecx, [ebp + 8]
push ecx
push 0
movzx edx, ax
push 0
add edx, 8
push edx
mov word [ebp - 0x81c], ax
lea eax, [ebp - 0x820]
push eax
push 0x900a4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
test eax, eax
jne 0x435ce4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x435fb8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x435fd0
cmp eax, 0x10000
jne 0x435ff4
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.00414f74
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
pop ebp
ret 4

Function at 0x43600f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x436040
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.00414526
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
pop ebp
ret 4