joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61e7391c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov edx, dword [ebx + 0x10]
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], str.SELECT_t._Q_FROM__Q._Q_AS_t_WHERE_t._Q_MATCH_id
mov dword [esp], eax
mov dword [esp + 0xc], edx
call sym._sqlite3Fts5Mprintf
test eax, eax
mov esi, eax
je 0x61e7398e
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_prepare_v2
mov dword [ebp - 0x20], eax
mov dword [esp], esi
call sym.sqlite3.dll_sqlite3_free
cmp dword [ebp - 0x20], 1
jne 0x61e739a3
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x61e739b0
xor edi, edi
xor esi, esi
jmp 0x61e739f5
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e739aa
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int64
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x61e73a83
cmp edx, dword [ecx + 0x14]
jne 0x61e739e8
cmp eax, dword [ecx + 0x10]
je 0x61e739ed
mov ecx, dword [ecx + 4]
jmp 0x61e739d6
mov eax, dword [ecx]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
jne 0x61e73a3c
test esi, esi
jne 0x61e73a3c
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_finalize
test eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
jne 0x61e73a74
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], str.no_such_fts5_table:__s._s
mov dword [esp + 4], eax
call sym.sqlite3.dll_sqlite3_mprintf
mov dword [ebp - 0x20], 1
mov dword [ebx + 8], eax
cmp dword [ebp - 0x20], 0
jne 0x61e73a74
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x20]
shl edx, 4
add edx, 0x48
call sym._sqlite3Fts5MallocZero
test eax, eax
je 0x61e73a74
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0xc]
mov dword [eax + 8], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 4], edx
lea edx, [eax + 0x48]
mov dword [eax + 0x24], edx
lea edx, [edx + ecx*8]
mov dword [eax + 0x28], edx
jmp 0x61e73a8a
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_finalize
xor eax, eax
jmp 0x61e73a8a
mov eax, dword [pe_dos_header]
ud2
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x61e77adc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x4c
mov eax, dword [eax + 0x14]
mov dword [esp], str.SELECT_1_FROM__Q.sqlite_master_WHERE_tbl_name_q_stat
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
call sym.sqlite3.dll_sqlite3_mprintf
test eax, eax
je 0x61e77b6e
mov edi, eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_prepare_v2
test eax, eax
jne 0x61e77b5e
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_finalize
test eax, eax
jne 0x61e77b5e
cmp esi, 0x64
sete byte [ebx + 0xe5]
mov dword [esp], edi
mov dword [ebp - 0x2c], eax
call sym.sqlite3.dll_sqlite3_free
mov eax, dword [ebp - 0x2c]
jmp 0x61e77b73
mov eax, 7
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x61e77b7b
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax + 0xe5], 2
mov dword [eax + 0x34], 0
jne 0x61e77b97
pop ebp
jmp sym._fts3SetHasStat.part.536
xor eax, eax
pop ebp
ret
Function at 0x61e7fcd1
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x14], 0
mov dword [ebp + 8], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0xc], ebx
pop ebx
pop ebp
jmp sym._rtreeInit

Function at 0x61e7fcfe
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x14], 1
mov dword [ebp + 8], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0xc], ebx
pop ebx
pop ebp
jmp sym._rtreeInit
Function at 0x61e874b0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x61e9aa8c
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable

Function at 0x61e87510
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x61e9c938]
test esi, esi
jle 0x61e875fd
mov edi, dword [0x61e9c93c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x61e87544
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x61e875f6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x61e87530
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x61e8763a
lea ebx, [esi + esi*2]
mov esi, dword [0x61e9c93c]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x61e9c93c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x61e8761a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x61e875ef
sub eax, 0x40
and eax, 0xffffffbf
je 0x61e875ef
mov eax, dword [esp + 0x20]
add ebx, dword [0x61e9c93c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x61e87604
add dword [0x61e9c938], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x61e8754e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x61e9c93c]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
Function at 0x410340
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x4103e0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x410392
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4de6fc]
xor eax, edx
inc esi
cmp esi, edi
jl 0x410373
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x4103bb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4de6fc]
xor eax, edx
inc esi
cmp esi, edi
jl 0x41039e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x414fa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [0x4e08b4], 0
push 0x4e0958
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov ecx, 0x27
mov esi, 0x4e0958
mov edi, 0x4e08b8
rep movsd dword es:[edi], dword [esi]
cmp dword [0x4e09c4], 0x500
jb 0x414ff7
cmp dword [0x4e09c8], 0x2d0
jae 0x415018
push 0
mov ecx, 0x51ca6a0
call fcn.00414f30
push eax
push 0x4cfdd0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004a49d4
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x41504d
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
jmp 0x415022
mov eax, dword [ebp - 0xa8]
add eax, 1
xor ecx, ecx
mov edx, 0x9c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a0b10
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], 0
imul ecx, dword [ebp - 0xa8], 0x9c
add ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x4150c0
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x41508b
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xac], 0
jmp 0x4150e5
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xa8]
jge 0x4151e6
imul eax, dword [ebp - 0xac], 0x9c
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + eax + 0x6c], 0x500
jne 0x4151e1
imul edx, dword [ebp - 0xac], 0x9c
mov eax, dword [ebp - 0xa4]
cmp dword [eax + edx + 0x70], 0x2d0
jne 0x4151e1
imul ecx, dword [ebp - 0xac], 0x9c
mov edx, dword [ebp - 0xa4]
cmp dword [edx + ecx + 0x68], 0x20
jne 0x4151e1
push 0x4e0958
imul eax, dword [ebp - 0xac], 0x9c
add eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4151e1
push 2
imul ecx, dword [ebp - 0xac], 0x9c
add ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x4151e1
imul esi, dword [ebp - 0xac], 0x9c
add esi, dword [ebp - 0xa4]
mov ecx, 0x27
mov edi, 0x4e0958
rep movsd dword es:[edi], dword [esi]
mov dword [0x4e0954], 1
cmp dword [ebp - 0xa4], 0
je 0x4151df
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004a0b0b
add esp, 4
mov dword [ebp - 0xa4], 0
jmp 0x415214
jmp 0x4150d6
cmp dword [ebp - 0xa4], 0
je 0x415214
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004a0b0b
add esp, 4
mov dword [ebp - 0xa4], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret
Function at 0x43aad0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1b4], ecx
push 0x64
lea eax, [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x234]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x19c], 0
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x1a4], edx
cmp dword [ebp - 0x1a4], 0xc8
jae 0x43ab48
jmp 0x43ab4d
call fcn.004a0c3a
mov eax, dword [ebp - 0x1a4]
mov byte [ebp + eax - 0xcc], 0
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [ebp - 0x1b8]
jge 0x43ac60
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x194]
and eax, 0xff
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0x81
jl 0x43ab9e
cmp dword [ebp - 0x1a0], 0x9f
jle 0x43abbe
cmp dword [ebp - 0x1a0], 0xe0
jl 0x43ac4c
cmp dword [ebp - 0x1a0], 0xfc
jg 0x43ac4c
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x198]
mov al, byte [ebp + edx - 0x194]
mov byte [ebp + ecx - 0xcc], al
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x198]
add edx, 1
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x198]
mov dl, byte [ebp + ecx - 0x194]
mov byte [ebp + eax - 0xcc], dl
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a8], ecx
cmp dword [ebp - 0x1a8], 0xc8
jae 0x43ac39
jmp 0x43ac3e
call fcn.004a0c3a
mov edx, dword [ebp - 0x1a8]
mov byte [ebp + edx - 0xcc], 0
mov eax, dword [ebp - 0x198]
add eax, 1
mov dword [ebp - 0x198], eax
jmp 0x43ab5b
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x43ac73
jmp 0x43acb4
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x64
jle 0x43acb4
mov eax, 1
imul ecx, eax, 0x64
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp - 0x1ac], 0xc8
jae 0x43aca1
jmp 0x43aca6
call fcn.004a0c3a
mov edx, dword [ebp - 0x1ac]
mov byte [ebp + edx - 0xcc], 0
mov ecx, 0x4e0c40
call fcn.0041fb90
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0xcc]
push eax
imul ecx, dword [ebp + 8], 0x44df8
mov edx, dword [ebp - 0x1b0]
lea eax, [edx + ecx + 9]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43ace9
jmp 0x43ad12
lea ecx, [ebp - 0xcc]
push ecx
imul edx, dword [ebp + 8], 0x44df8
mov eax, dword [ebp - 0x1b0]
lea ecx, [eax + edx + 9]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x4e0c40
call fcn.0046e440
mov ecx, dword [ebp - 0x1b4]
call fcn.00438810
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 4
Function at 0x453d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c044d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0
push 0x4d1cd4
mov eax, dword [ebp - 0x30]
add eax, 0x28
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004a737c
add esp, 0xc
test eax, eax
je 0x453d76
or eax, 0xffffffff
jmp 0x453e12
mov ecx, dword [ebp + 8]
call fcn.00412b10
push eax
lea ecx, [ebp - 0x28]
call fcn.00426a90
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
push edx
push 1
lea ecx, [ebp - 0x28]
call fcn.00412b10
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00412b10
push eax
call fcn.004a7165
add esp, 0x10
push 0x4d1ce4
lea ecx, [ebp - 0x28]
call fcn.0041bad0
mov eax, dword [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x28]
call fcn.00412b10
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00412b10
push eax
call fcn.004a7165
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004a6ec2
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412b30
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 8

Function at 0x453e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c048d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
push str.a__ccsUTF_8
mov eax, dword [ebp - 0x34]
add eax, 0x28
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004a737c
add esp, 0xc
test eax, eax
je 0x453e86
or eax, 0xffffffff
jmp 0x453f0f
push 0x4d1cf8
lea ecx, [ebp - 0x28]
call fcn.00426a90
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp + 8]
jge 0x453ec1
push 0x4d1cfc
lea ecx, [ebp - 0x28]
call fcn.00453f30
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x453ea1
mov ecx, dword [ebp - 0x30]
push ecx
push 1
lea ecx, [ebp - 0x28]
call fcn.00412b10
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00412b10
push eax
call fcn.004a7165
add esp, 0x10
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a6ec2
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412b30
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 4
Function at 0x4541b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c04cd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x28]
call fcn.0041baf0
mov dword [ebp - 4], 0
push 0x4d1d00
mov ecx, dword [ebp + 8]
call fcn.00412b10
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004a7335
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x45422b
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412b30
mov eax, dword [ebp - 0x3c]
jmp 0x4542e4
cmp dword [ebp - 0x30], 0
jne 0x45424f
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412b30
mov eax, dword [ebp - 0x40]
jmp 0x4542e4
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00454170
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jbe 0x4542a6
push 0
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00454e50
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 2
lea ecx, [ebp - 0x28]
call fcn.00454ea0
push eax
call fcn.004ac21d
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x28]
call fcn.00454e50
lea ecx, [ebp - 0x28]
call fcn.00454ee0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a6ec2
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x24], 0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.00454fd0
mov dword [ebp - 0x48], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412b30
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 4
Function at 0x45f380
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ecx
mov eax, dword [0x4d21f4]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x109], 0x61
jmp 0x45f3bc
mov cl, byte [ebp - 0x109]
add cl, 1
mov byte [ebp - 0x109], cl
movsx edx, byte [ebp - 0x109]
cmp edx, 0x7a
jg 0x45f457
push 5
movzx eax, byte [ebp - 0x109]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.0045f470
movzx ecx, al
cmp ecx, 1
jne 0x45f452
mov edx, 1
imul eax, edx, 0
mov cl, byte [ebp - 0x109]
mov byte [ebp + eax - 0x114], cl
push 0
push 0
push 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x110]
add ecx, 0x38
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 0x38]
mov edx, dword [eax + 0xc]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45f452
mov al, byte [ebp - 0x109]
jmp 0x45f459
jmp 0x45f3ad
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret

Function at 0x45f470
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [0x4d2208]
mov dword [ebp - 4], eax
mov ecx, 1
imul edx, ecx, 0
mov al, byte [ebp + 8]
mov byte [ebp + edx - 4], al
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, dword [ebp + 0xc]
jne 0x45f4a3
mov al, 1
jmp 0x45f4a5
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x460800
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x410], ecx
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x584], ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x588], eax
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x584], 9
je 0x460855
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x584], 0xd
jne 0x460899
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x588]
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 9
jl 0x46087d
cmp dword [ebp - 0x414], 0x10
jle 0x46087b
jmp 0x46087d
jmp 0x460897
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x588], 1
je 0x460897
mov ecx, dword [ebp - 0x410]
call fcn.00460390
jmp 0x4608c3
mov ecx, dword [ebp - 0x410]
call fcn.004607d0
push str.cgpSaveThumbChange.png
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
movzx edx, byte [ebp + 0x10]
cmp edx, 1
jne 0x4608dc
mov ecx, dword [ebp - 0x410]
call fcn.00460a20
jmp 0x460a06
lea ecx, [ebp - 0x40c]
call fcn.00412360
push 0x304
push 0
lea eax, [ebp - 0x40c]
push eax
call fcn.004a20f0
add esp, 0xc
mov dword [ebp - 0x40c], 0x1964
xorps xmm0, xmm0
movss dword [ebp - 0x3f0], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x3ec], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d0], 0x500
mov dword [ebp - 0x3cc], 0x2d0
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3c0], 0x500
mov dword [ebp - 0x3bc], 0x2d0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x424]
call fcn.004112b0
mov ecx, dword [eax]
mov dword [ebp - 0x3e0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3dc], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3d8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x408], 0x6d
mov byte [ebp - 0x3fc], 1
lea eax, [ebp - 0x40c]
push eax
mov ecx, 0x5252170
call fcn.00440050
push ecx
movss xmm0, dword [0x4d6260]
movss dword [esp], xmm0
push 0xc8
mov ecx, dword [ebp - 0x40c]
push ecx
mov ecx, 0x5252170
call fcn.00444a20
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 0xc