joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7743d191
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x7743d1ea
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7743d191
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x7743d1a0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x77842e43
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x7743d1f1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77424067
cmp eax, dword [ebp + 0xc]
pop eax
je 0x7743d290
add edi, 4
add eax, 2
dec ecx
jne 0x7743d1d6
call 0x7743d23d
loope 0x7743d233
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x7743d28d
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x7743d29e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x7743d251
cmp eax, ecx
ja 0x7743d251
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x7743d2db
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7743d2d1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77424546
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x7743d1a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x7743d1ea
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7743d191
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x7743d1a0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x77842e43
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x7743d1f1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77424067
cmp eax, dword [ebp + 0xc]
pop eax
je 0x7743d290
add edi, 4
add eax, 2
dec ecx
jne 0x7743d1d6
call 0x7743d23d
loope 0x7743d233
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x7743d28d
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x7743d29e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x7743d251
cmp eax, ecx
ja 0x7743d251
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x7743d2db
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7743d2d1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77424546
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10008030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1000803f
pop dword [ebp - 0x3c]
mov eax, 0xaf85a112
sub eax, 0x9f8520d3
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x8503f235
add dword [ebp - 0x4c], 0xc94e5316
mov dword [ebp - 0x48], 0x4f774b75
sub dword [ebp - 0x48], 0x1d43ff30
mov dword [ebp - 0x44], 0xed1b36d3
sub dword [ebp - 0x44], 0xa0cef2a5
mov dword [ebp - 0x40], 0xd1bc45cd
add dword [ebp - 0x40], 0x2e43ba33
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x9c310233
add eax, 0x73d2ee01
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x8d423077
sub dword [ebp - 0x4c], 0x18cfc721
mov dword [ebp - 0x48], 0xf3e39e90
add dword [ebp - 0x48], 0x4d88c2e5
mov dword [ebp - 0x44], 0x61202f86
sub dword [ebp - 0x44], 0xfdb0c31a
mov dword [ebp - 0x40], 0x1d9c7089
sub dword [ebp - 0x40], 0x1d9c7089
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xbbeb3d20
sub eax, 0xabe74cd4
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x4779f
push 0
call eax
mov ecx, 0x4d8b
mov edi, eax
mov ebx, 0x3078617c
add ebx, 0xdf8cec84
add ebx, dword [ebp - 0x3c]
mov esi, 0xd1ab6977
add esi, 0x8ec9f49e
sub dword [ebp - 4], 0x91ebdea6
mov edx, dword [ebx]
add dword [ebp - 0x14], edx
xor edx, esi
add dword [ebp - 0x10], 0x2d0ecff1
mov dword [edi], edx
xor dword [ebp - 0x14], eax
add edi, 0x672bb4ed
sub edi, 0x672bb4e9
add ebx, 0x547fa650
sub ebx, 0x547fa64c
loop 0x1000815b
add eax, 0x8343f964
sub eax, 0x8342d065
mov ebx, eax
add eax, 0x45a1b846
sub eax, 0x45a1b841
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x1000e703
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x1001802c]
test eax, eax
je 0x1000e742
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000e742
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000e742
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000e742
cmp dword [ecx + 0x74], 0xe
jbe 0x1000e742
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10016e40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10016e6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10016e6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push 0x5040d1
push 0x504088
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x408780
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0x414
call fcn.00444aad
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x4087a3
push eax
jmp 0x4087a8
push 0x466680
push esi
call edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4087bd
push eax
lea eax, [esi + 0x208]
push eax
jmp 0x4087c9
push 0x466680
lea ecx, [esi + 0x208]
push ecx
call edi
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x408750
push 0
mov dword [esi + 0x410], edx
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ecx
ret

Function at 0x4094a0
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x477b14]
push esi
push 0x104
push 0x47be70
push 0
mov dword [esp + 0x420], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 4]
push eax
push 0x104
mov word [0x47bc58], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x20c]
push ecx
push 0x47bc58
lea edx, [esp + 0xc]
push 0x47be70
push edx
call fcn.00420b00
add esp, 0x10
push 0x47bc58
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x47bc58
push 0x47ba50
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x47bc58
push str._sAppData
push 0x47b848
call esi
push 0x47b848
call fcn.00420820
add esp, 0x10
test eax, eax
jne 0x40954c
push eax
push 0x47b848
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x47b848
push 0x466e70
push 0x47b640
call esi
push 0x47bc58
push str._sSDPlugins
push 0x47ae20
call esi
push 0x47b848
push str._spindata.bin
push 0x47b230
call esi
mov ecx, dword [esp + 0x438]
add esp, 0x24
mov eax, 1
pop esi
call fcn.00444c27
add esp, 0x414
ret
Function at 0x409990
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x850
mov eax, dword [0x477b14]
push esi
push edi
mov dword [esp + 0x854], eax
push 0x104
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x250]
push str._s_regsvr32.exe
push edx
call esi
mov eax, dword [esp + 0x868]
add esp, 0xc
test eax, eax
push 0x47bc58
je 0x4099f0
push str._i__s___sSDCtrls.dll_
lea eax, [esp + 0x45c]
push eax
jmp 0x4099fd
push str._u__s___sSDCtrls.dll_
lea ecx, [esp + 0x45c]
push ecx
call esi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 8]
lea edx, [esp + 0x24c]
lea eax, [esp + 0x454]
push ecx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x28], 1
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x854]
pop edi
pop esi
call fcn.00444c27
add esp, 0x850
ret
Function at 0x40e540
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x477b14]
push ebx
mov dword [esp + 0x21c], eax
push esi
push edi
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea esp, [esp]
mov byte [esp + eax + 0x10], al
inc eax
cmp eax, 0x100
jb 0x40e580
mov edi, dword [ebp + 0x14]
xor eax, eax
xor ecx, ecx
test edi, edi
je 0x40e5c0
mov esi, dword [ebp + 0x10]
lea ebx, [ebx]
cmp eax, edi
jne 0x40e5a6
xor eax, eax
mov dl, byte [eax + esi]
inc eax
mov byte [esp + ecx + 0x118], dl
inc ecx
cmp ecx, 0x100
jb 0x40e5a0
jmp 0x40e5de
cmp eax, 7
jne 0x40e5c7
xor eax, eax
mov dl, byte [eax + str.alberto]
inc eax
mov byte [esp + ecx + 0x118], dl
inc ecx
cmp ecx, 0x100
jb 0x40e5c0
xor esi, esi
xor eax, eax
mov cl, byte [esp + eax + 0x10]
xor edx, edx
mov dl, byte [esp + eax + 0x118]
xor ebx, ebx
mov bl, cl
add eax, 4
add ebx, esi
add edx, ebx
and edx, 0xff
mov esi, edx
mov dl, byte [esp + esi + 0x10]
mov byte [esp + eax + 0xc], dl
mov byte [esp + esi + 0x10], cl
mov cl, byte [esp + eax + 0xd]
xor edx, edx
mov dl, byte [esp + eax + 0x115]
xor ebx, ebx
mov bl, cl
add ebx, esi
add edx, ebx
and edx, 0xff
mov esi, edx
mov dl, byte [esp + esi + 0x10]
mov byte [esp + eax + 0xd], dl
mov byte [esp + esi + 0x10], cl
mov cl, byte [esp + eax + 0xe]
xor edx, edx
mov dl, byte [esp + eax + 0x116]
xor ebx, ebx
mov bl, cl
add ebx, esi
add edx, ebx
and edx, 0xff
mov esi, edx
mov dl, byte [esp + esi + 0x10]
mov byte [esp + eax + 0xe], dl
mov byte [esp + esi + 0x10], cl
mov cl, byte [esp + eax + 0xf]
xor edx, edx
mov dl, byte [esp + eax + 0x117]
xor ebx, ebx
mov bl, cl
add ebx, esi
add edx, ebx
and edx, 0xff
cmp eax, 0x100
mov esi, edx
mov dl, byte [esp + esi + 0x10]
mov byte [esp + eax + 0xf], dl
mov byte [esp + esi + 0x10], cl
jb 0x40e5e2
mov ecx, dword [ebp + 0xc]
xor edi, edi
xor esi, esi
xor eax, eax
test ecx, ecx
jbe 0x40e6eb
mov edx, dword [ebp + 8]
xor ebx, ebx
inc esi
and esi, 0xff
mov cl, byte [esp + esi + 0x10]
mov bl, cl
add ebx, edi
and ebx, 0xff
mov edi, ebx
mov bl, byte [esp + edi + 0x10]
mov byte [esp + esi + 0x10], bl
xor ebx, ebx
mov byte [esp + edi + 0x10], cl
mov bl, byte [esp + esi + 0x10]
add ebx, ecx
and ebx, 0xff
mov cl, byte [esp + ebx + 0x10]
mov bl, byte [eax + edx]
xor bl, cl
mov ecx, dword [ebp + 0xc]
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jb 0x40e6a4
mov ecx, dword [esp + 0x224]
call fcn.00444c27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e700
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call ebp
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.00445884
add esp, 4
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
mov edi, eax
push edi
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
push esi
push edi
call fcn.0040e540
mov ecx, dword [esp + 0x30]
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call ebp
push 0
lea edx, [esp + 0x18]
push edx
push esi
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00445979
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x40e890
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x477b14]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push str.PINDATAADR
push ebx
mov dword [esp + 0x28], eax
mov esi, ecx
call ebp
mov ecx, dword [0x47c9a4]
push 0xa
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.004453e1
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push ebx
call ebp
push 0x466ae8
push ebx
call ebp
cmp esi, 0xffffffff
lea eax, [esp + 0xc]
push 0xa
push eax
jne 0x40e8f6
mov ecx, dword [edi + 0x78c]
push ecx
call fcn.004453e1
add esp, 0xc
lea edx, [esp + 0xc]
push edx
jmp 0x40e919
mov edx, dword [edi + 0x25c]
mov ecx, esi
imul ecx, ecx, 0x12c
mov eax, dword [edx + ecx + 0xdc]
push eax
call fcn.004453e1
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push ebx
call ebp
push 0x46748c
push ebx
call ebp
mov eax, dword [0x47c9a8]
test eax, eax
jne 0x40e951
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push 0x47b230
mov dword [0x47c9a4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x47c9a8], eax
cmp esi, 0xffffffff
lea edx, [esp + 8]
push 0
push edx
jne 0x40e97a
mov ecx, dword [edi + 0x78c]
mov edx, dword [edi + 0x788]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [edi + 0x78c]
jmp 0x40e9ab
mov ecx, dword [edi + 0x25c]
imul esi, esi, 0x12c
mov edx, dword [ecx + esi + 0xdc]
add ecx, esi
mov ecx, dword [ecx + 0xd0]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [edi + 0x25c]
mov eax, dword [esi + edx + 0xdc]
add dword [0x47c9a4], eax
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
call fcn.00444c27
add esp, 0x1c
ret
Function at 0x410060
Capabilities:
Delete file

Disassembly:
sub esp, 0x218
mov eax, dword [0x477b14]
push esi
mov dword [esp + 0x218], eax
lea eax, [esp + 0x10]
push 0x47b848
push eax
call fcn.00422210
add esp, 8
push str.SDPlugins.ini
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
xor esi, esi
push edx
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x490d64], esi
mov dword [esp + 0xc], esi
jle 0x410204
push ebx
push ebp
push edi
mov edi, 0x480500
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.DXAxHost.dll
push eax
call esi
test eax, eax
je 0x4101cb
mov ecx, dword [edi]
push 0x467f0c
push ecx
call esi
test eax, eax
je 0x4101cb
mov eax, dword [edi + 0x324]
test eax, eax
je 0x4101cb
mov eax, dword [0x47c0fc]
xor ebp, ebp
test eax, eax
jle 0x4101cb
lea esp, [esp]
mov eax, dword [esp + 0x230]
test eax, eax
mov edx, dword [0x47c0f8]
mov esi, dword [edx + ebp*4]
jne 0x41012e
mov eax, dword [esi + 0xb20]
test eax, eax
je 0x410162
mov eax, dword [esi + 0x578]
xor ebx, ebx
test eax, eax
jle 0x410162
lea edi, [esi + 0x390]
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41016e
mov eax, dword [esi + 0x578]
inc ebx
add edi, 4
cmp ebx, eax
jl 0x410140
mov eax, dword [0x47c0fc]
inc ebp
cmp ebp, eax
jl 0x410110
jmp 0x4101cb
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x41019b
lea eax, [esp + 0x1c]
push 0x467f08
push eax
call fcn.00445e77
push eax
push str._SDPlugins__r_n
mov dword [esp + 0x24], eax
call fcn.00445daa
mov esi, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x124]
push eax
call fcn.00422210
lea ecx, [esp + 0x128]
push esi
push ecx
call fcn.00445daa
push esi
push 0x467ef4
call fcn.00445daa
add esp, 0x18
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, dword [0x490d64]
inc eax
add edi, 0x32c
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
jl 0x4100c2
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop ebp
pop ebx
je 0x410204
push eax
call fcn.00445d59
add esp, 4
mov ecx, dword [esp + 0x218]
pop esi
call fcn.00444c27
add esp, 0x218
ret
Function at 0x413b50
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x477b14]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x680]
push edi
mov dword [esp + 0x67c], eax
lea eax, [esp + 0x474]
push str._s.fon
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x1c], 0
add esp, 0xc
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x413caf
lea eax, [esp + 0x24c]
push eax
call ebx
cmp eax, 4
jle 0x413c91
lea ecx, [esp + 0x24c]
push ecx
push edi
lea edx, [esp + 0x20]
push 0x466684
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [0x47cbd8]
mov eax, dword [0x47cbdc]
add esp, 0x10
cmp esi, eax
je 0x413c13
mov eax, dword [esi]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x413c91
mov eax, dword [0x47cbdc]
add esi, 4
cmp esi, eax
jne 0x413bf1
lea ecx, [esp + 0x18]
push ecx
call ebx
lea edx, [eax + eax + 2]
push edx
call fcn.00445884
mov esi, eax
add esp, 4
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [0x47cbd8]
test edx, edx
mov edi, dword [0x47cbdc]
je 0x413c6d
mov ecx, dword [0x47cbe0]
mov eax, edi
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x413c6d
mov eax, edi
add eax, 4
mov dword [edi], esi
mov dword [0x47cbdc], eax
jmp 0x413c7f
lea ecx, [esp + 0x14]
push ecx
push 1
push edi
mov ecx, 0x47cbd4
call fcn.004109a0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.GDI32.dll_AddFontResourceW]
mov edi, dword [esp + 0x680]
lea eax, [esp + 0x220]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x413bb3
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x413cd8
push edi
lea ecx, [esp + 0x474]
push str._s.ttf
push ecx
mov dword [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x413b8f
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00444c27
add esp, 0x66c
ret
Function at 0x4153a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x416c10
Capabilities:
Get common file path

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push eax
call fcn.004086f0
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 4]
push ecx
mov esi, eax
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
push eax
push ecx
push esi
call fcn.00416a20
add esp, 0xc
pop esi
pop ecx
ret