joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470e80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ce8e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004c1575
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4d0054]
push eax
mov ecx, edi
call fcn.004c6c0e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004c816d
test eax, eax
je 0x470f9c
mov ecx, dword [esp + 0x3c]
call fcn.004c6c3b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4d0548]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x470f60
push edi
mov ecx, esi
call fcn.004c42a2
mov ecx, esi
call fcn.00471140
cmp dword [esp + 0x38], 1
jne 0x470f95
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004c43dd
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x473180
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4731b3
push esi
call fcn.004813f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4731ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x473239
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x473222
mov eax, dword [esi + 8]
test eax, eax
je 0x4731d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47321e
cmp eax, 2
je 0x473222
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4731ca
cmp eax, 3
je 0x4731fd
cmp eax, 1
jne 0x4731ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4731ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4731ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00473260
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x473248
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00473260
add esp, 4
pop esi
ret
Function at 0x497440
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9700
push 0x4b138c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004af470
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49a660
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x546d68]
xor edx, edx
cmp eax, edx
jne 0x49a686
xor eax, eax
mov byte [eax + 0x546c68], al
inc eax
cmp eax, 0x100
jl 0x49a66e
mov dword [0x546d68], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x546c68
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49a717
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x49a6ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x49a6b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49a790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x49a7e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x49a7ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf22e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004a1ab0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4f992c
call fcn.004bfcde
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4a1223
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004bfcde
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4a121c
push 0
mov ecx, eax
call fcn.00498290
mov dword [esi + 0xc], eax
jmp 0x4a1225
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4a1225
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x56fbf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x56fd52
cmp edi, esi
je 0x56fd52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x56fd42
add edi, 4
jmp 0x56fca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x56fcb8
mov dword [ebp - 4], 2
jmp 0x56fcd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x56fccf
mov dword [ebp - 4], 1
jmp 0x56fcd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x56fd52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x56fd10
mov byte [ecx + 2], 0x3d
jmp 0x56fd1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x56fd2c
mov byte [ecx], 0x3d
jmp 0x56fd32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x56fca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x12ddf6f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x120680f
mov eax, 0x5a4d
test ax, si
cmp dx, sp
cmp word [ecx], ax
je 0x1311776
sub eax, eax
pop esi
mov esp, ebp
jmp 0x128059f
mov edi, dword [edx + ecx + 0x18]
stc
test edi, edi
jmp 0x13d5a57
js 0x1253b82
jmp 0x13c8a0c
ja 0x1217b7f
mov eax, esi
sub eax, dword [edx + ecx + 0x10]
jmp 0x1387adf
dec edi
mov dword [ebp - 0xc], eax
jmp 0x123538f
pop ebp
ret
jne 0x120680f
mov edx, dword [eax + ecx + 0x78]
mov dword [ebp - 4], edx
cmp si, ax
test edx, edx
jmp 0x13c8f49
push ebp
mov ebp, esp
shl cx, cl
adc ch, bh
rol ch, 0xf6
mov ecx, dword [ebp + 8]
sub esp, 0x114
push esi
clc
test sp, 0x5e15
test ecx, ecx
jmp 0x1337222
mov eax, dword [ecx + 0x3c]
clc
test ax, si
cmp si, dx
cmp dword [eax + ecx], 0x4550
jmp 0x12b0797
je 0x120680f
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x12067f5
mov dword [ebp - 8], eax
jmp 0x139d7bd
push ebx
test bp, dx
cmp dl, 0x6a
push edi
cmp esi, edi
mov dword [ebp - 0x10], eax
cmp ax, dx
cmp ax, 0x5bfb
mov dword [ebp - 8], 0xffffffff
cmp esi, 0xffff
jmp 0x1244d72
jmp 0x1253b82
je 0x120680f
mov eax, dword [eax + ecx + 0x7c]
jmp 0x1398210
je 0x1253b82
mov eax, dword [edx + ecx + 0x20]
cmc
add eax, ecx
test di, dx
xor ebx, ebx
jmp 0x12743ef
Function at 0x401ef9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c4a0
push ebx
push esi
mov esi, 0x1fff
xor ebx, ebx
push esi
lea eax, [ebp - 0x2003]
push ebx
push eax
mov byte [ebp - 0x2004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push CoInitialize
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
leave
ret

Function at 0x40248e
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi], 0
jne 0x402523
push edi
push 0x40d76c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptAcquireContextW
push eax
mov dword [esi], eax
call edi
push str.CryptReleaseContext
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.CryptCreateHash
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.CryptGetHashParam
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.CryptHashData
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.CryptDestroyHash
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.CryptDecrypt
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.CryptDeriveKey
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.CryptImportKey
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.CryptDestroyKey
push dword [esi]
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
pop edi
ret
Function at 0x40305b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push dword [ebp + 0xc]
call fcn.00404812
test eax, eax
pop ecx
je 0x40313c
push dword [ebp + 0xc]
call fcn.00404457
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 4], eax
je 0x40313c
push ebx
push esi
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, esi
jbe 0x403131
mov eax, 0x1388
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea edi, [ebx + 0xa]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
call fcn.004056d7
mov esi, dword [ebp - 0x1c]
push ebx
push esi
push dword [ebp - 4]
call fcn.00404de9
push 8
push 0
add esi, ebx
push esi
call sub.msvcrt.dll_memset
imul ebx, ebx, 3
add esp, 0x18
mov edi, ebx
lea esi, [ebp - 0x10]
call fcn.004056d7
shr ebx, 1
push ebx
push dword [ebp - 0x10]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push 0
push CoInitialize
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402c61
lea esi, [ebp - 0x28]
call fcn.004056c2
lea esi, [ebp - 0x10]
call fcn.004056c2
lea esi, [ebp - 0x1c]
call fcn.004056c2
pop edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret 8
Function at 0x404489
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcslen
pop ecx
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
leave
ret

Function at 0x404610
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor esi, esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test ebp, ebp
je 0x40466d
push ebx
push edi
push ebp
call sub.msvcrt.dll_wcslen
pop ecx
lea ebx, [eax + eax + 2]
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40466b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebp
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
neg esi
sbb esi, esi
neg esi
pop edi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x404678
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.00404457
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x40470a
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4046f3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4046f3
shr esi, 1
and word [edi + esi*2], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x4046fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x404713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x404812
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x404a6e
Capabilities:
Get common file path

Disassembly:
cmp word [0x4111f0], 0
push esi
mov esi, 0x4111f0
jne 0x404a8f
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [0x4113fc], eax
push esi
push dword [esp + 0xc]
call sub.msvcrt.dll_wcscpy
mov eax, dword [0x4113fc]
pop ecx
pop ecx
pop esi
ret
Function at 0x404c77
Capabilities:
Create process on windows

Disassembly:
push 5
mov eax, 0x40d3d0
push eax
push eax
push dword [esp + 0x14]
push 0x40dc20
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x405518
Capabilities:
Enumerate files on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x405544
lea eax, [esi + 0x28c]
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
mov dword [esp + 4], ecx
jmp 0x40555f
lea ecx, [esi + 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov dword [esp + 4], eax
jne 0x405566
call fcn.004055b1
cmp dword [esp + 4], 0
je 0x4055aa
push ebx
push ebp
push edi
lea edi, [esi + 0x4dc]
lea ebx, [esi + 0x2b8]
add esi, 0x764
push esi
call sub.msvcrt.dll_wcslen
push ebx
mov ebp, eax
call sub.msvcrt.dll_wcslen
lea eax, [eax + ebp + 1]
cmp eax, 0x143
pop ecx
pop ecx
jae 0x4055a3
push ebx
push esi
mov eax, edi
call fcn.004049f4
pop ecx
pop ecx
jmp 0x4055a7
and word [edi], 0
pop edi
pop ebp
pop ebx
mov eax, dword [esp + 4]
pop esi
pop ecx
ret

Function at 0x405cdf
Capabilities:
Read .ini file

Disassembly:
and word [esi], 0
push 0x410b68
push dword [esp + 0xc]
push esi
push 0x40d3d0
push dword [esp + 0x14]
push 0x410d78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, esi
ret

Function at 0x405d04
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c4a0
and word [ebp - 0x2004], 0
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x410b68
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x40d3d0
push dword [ebp + 8]
push 0x410d78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x405d73
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_wcscpy
pop ecx
xor eax, eax
pop ecx
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x405d77
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c4a0
and word [ebp - 0x2004], 0
push esi
push edi
push 0x2000
lea eax, [ebp - 0x2002]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x410b68
push edi
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x40d3d0
push dword [ebp + 8]
mov esi, 0x410d78
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2004], 0
je 0x405dde
cmp dword [ebp + 0x10], 0
jne 0x405dde
xor eax, eax
jmp 0x405dec
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
leave
ret
Function at 0x40613f
Capabilities:
Read .ini file

Disassembly:
push dword [esp + 4]
call fcn.00404812
test eax, eax
pop ecx
je 0x4061c6
push esi
push edi
push dword [esp + 0xc]
mov edi, 0x410b68
push edi
call sub.msvcrt.dll_wcscpy
push str.general
mov esi, 0x410d78
push esi
call sub.msvcrt.dll_wcscpy
add esp, 0x10
push edi
push 0
push 0x40dccc
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
dec eax
neg eax
sbb eax, eax
inc eax
push 0x3f
push str.charset
mov esi, 0x410e00
mov dword [0x410dfc], eax
call fcn.00405cdf
push 0x3f
push str.TranslatorName
mov esi, 0x410e80
call fcn.00405cdf
push 0xff
push str.TranslatorURL
mov esi, 0x410f00
call fcn.00405cdf
add esp, 0x18
pop edi
pop esi
ret

Function at 0x407088
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040c4a0
push ebx
push esi
mov esi, 0x1fff
xor ebx, ebx
push esi
lea eax, [ebp - 0x2003]
push ebx
push eax
mov byte [ebp - 0x2004], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2004]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
leave
ret
Function at 0x407d8f
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push ebp
push esi
mov esi, eax
xor ebp, ebp
cmp dword [esi + 0x2a4], ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x407e39
cmp dword [esi + 0x2ac], ebp
je 0x407e07
push 0x2b0
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x24], ebp
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x4001
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebp
push 0x40d3d0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push dword [esi + 0x290]
mov dword [esi + 0x298], eax
call edi
jmp 0x407e39
push 1
push 1
push 0x19
push 0x10
push 0x10
call ebx
push 1
lea ebp, [esi + 0x298]
push eax
mov dword [ebp], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [ebp]
push 1
push 0x1003
push dword [esi + 0x290]
call edi
xor ebp, ebp
cmp dword [esi + 0x2a8], ebp
je 0x407e71
push 1
push 1
push 0x19
push 0x20
push 0x20
call ebx
push 1
lea ebp, [esi + 0x29c]
push eax
mov dword [ebp], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push dword [ebp]
push 0
push 0x1003
push dword [esi + 0x290]
call edi
push 1
push 1
push 0x19
push 0x10
pop ebp
push ebp
push ebp
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [esi + 0x294], eax
call ebx
push 0x1000
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x85
push eax
call ebp
push 0
mov dword [esp + 0x14], eax
call ebx
push 0x1000
push 0x10
push 0x10
push 0
push 0x86
push eax
call ebp
push 0
push dword [esi + 0x294]
mov ebx, eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
push dword [esi + 0x294]
call ebp
push dword [esp + 0x14]
push ebx
push dword [esi + 0x294]
call ebp
push dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
call ebp
push ebx
call ebp
mov eax, dword [esi + 0x294]
mov esi, dword [esi + 0x290]
push eax
push 0
push 0x1208
push esi
call fcn.004027d5
pop ecx
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2bc
ret
Function at 0x4091bf
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov esi, eax
lea eax, [ebp - 0x410]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4091f1
push edi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
and word [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x40e298
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [esi + 0x694]
push 1
push 1
lea ecx, [ebp - 0x208]
push ecx
push eax
push 2
pop edx
call fcn.00409087
test eax, eax
je 0x409276
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x409251
lea eax, [ebp - 0x208]
push eax
call fcn.00404678
pop ecx
jmp 0x409257
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x409269
push dword [esi + 0x208]
mov ecx, eax
call fcn.004044d0
pop ecx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
leave
ret