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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [0x7f7170]
push edi
test ecx, ecx
je 0x67b5cb
mov eax, dword [ecx]
push 0xe1
push dword [ebx + 4]
call dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x409
push dword [ebx + 4]
call edi
push 0x547
push dword [ebx + 4]
mov dword [ebx + 0x2c], eax
call edi
push 0x540
push dword [ebx + 4]
mov dword [ebx + 0x30], eax
call edi
push 0
push eax
call fcn.005bb840
add esp, 8
call fcn.00580690
test eax, eax
jne 0x67b612
call fcn.005b0e70
test eax, eax
jne 0x67b683
push esi
push 0x784
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x785
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x56a
push dword [ebx + 4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x14], xmm0
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
sub edi, dword [ebp - 0x10]
sub esi, dword [ebp - 0x14]
push 0x56a
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 6
lea ecx, [edi - 0x28]
push ecx
push esi
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov ecx, ebx
call fcn.0067b250
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
mov dword [ebx + 0x28], 1
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret 0x10

Function at 0x67bdc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1278
call fcn.006b59e0
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x75da04
mov esi, ecx
mov dword [ebp - 0x1274], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
mov ecx, esi
call fcn.0067bf40
mov edi, eax
test edi, edi
je 0x67be54
mov ebx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push 0
push 0
push 0xffffffffffffffff
push edi
call ebx
xor esi, esi
mov dword [ebp - 0x1278], eax
test eax, eax
jle 0x67be4b
lea esp, [esp]
push 0x104
lea eax, [ebp - 0x270]
push eax
push esi
push edi
call ebx
mov ecx, dword [ebp - 0x1274]
lea eax, [ebp - 0x270]
push eax
call fcn.0042a6a0
inc esi
cmp esi, dword [ebp - 0x1278]
jl 0x67be20
push edi
call dword [sym.imp.SHELL32.dll_DragFinish]
jmp 0x67be99
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1270], ax
lea eax, [ebp - 0x126e]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x1270]
mov ecx, esi
push 0x800
push eax
push ebx
call fcn.0067beb0
push 0x32
lea eax, [ebp - 0x1270]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret 0x18
Function at 0x67bf40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push str.GetHDrop_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
movdqu xmmword [ebp - 0x20], xmm0
mov eax, 0xf
lea edx, [ebp - 0xc]
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0x20], ax
mov eax, dword [ebp + 8]
push edx
lea edx, [ebp - 0x20]
mov dword [ebp - 4], 0
push edx
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 1
call dword [ecx + 0xc]
mov ecx, dword [ebp - 8]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov eax, ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x67d0d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push edi
push 0
mov edi, ecx
push 0
push 0
push eax
mov dword [edi + 4], 0
mov dword [edi], eax
call ebx
push 0
lea eax, [ebp - 0x38]
push eax
push 0x1e
lea esi, [edi + 8]
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x67d1e8
push 1
push 0
push 0
push dword [edi]
call ebx
mov dword [edi + 4], eax
mov ecx, 0x75dab0
mov edx, 0xc
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x67d1e8
add esi, 4
add ecx, 4
sub edx, 4
jae 0x67d133
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
push 0
push 0
push dword [edi]
mov esi, eax
call ebx
mov dword [ebp - 0x38], eax
mov dword [edi + 4], eax
test esi, esi
je 0x67d1e8
cmp dword [ebp - 0x3c], 0x18
jne 0x67d1e8
movdqu xmm0, xmmword [ebp - 0x1c]
lea edx, [ebp - 0x34]
mov eax, 0x75dac0
mov esi, 0xc
movdqu xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [ebp - 0x24], xmm0
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x67d1ca
add edx, 4
add eax, 4
sub esi, 4
jae 0x67d1a0
mov eax, dword [ebp - 0x38]
pop edi
pop esi
add eax, 0xffffffe8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
mov eax, ecx
or eax, dword [ebp - 8]
je 0x67d1e8
push 1
push 0
lea eax, [ecx - 0x18]
push eax
push dword [edi]
call ebx
mov dword [edi + 4], eax
jmp 0x67d148
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
Function at 0x67d200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor esi, esi
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push 0
push eax
test esi, esi
jne 0x67d252
push 4
lea eax, [ebp - 8]
push eax
push edi
call ebx
cmp dword [ebp - 0xc], 4
jae 0x67d26b
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 1]
push eax
push edi
call ebx
cmp dword [ebp - 0xc], 1
jb 0x67d249
mov al, byte [ebp - 1]
shr dword [ebp - 8], 8
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
bswap eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and eax, 0xffe00000
cmp eax, 0xffe00000
jne 0x67d2ad
test ecx, 0x60000
je 0x67d2ad
mov eax, ecx
and eax, 0xc00
cmp eax, 0xc00
je 0x67d2ad
shr ecx, 0xc
and ecx, 0xf
je 0x67d2ad
cmp ecx, 0xf
jne 0x67d2c3
inc esi
cmp esi, 0x10000
jl 0x67d222
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
pop edi
add ecx, esi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x67d2e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x67d32a
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x10]
push 0x78d9cc
push eax
call fcn.006bc440
add esp, 0xc
test eax, eax
jne 0x67d36f
movzx esi, byte [ebp - 0xa]
movzx eax, byte [ebp - 9]
and esi, 0x7f
shl esi, 7
and eax, 0x7f
or esi, eax
movzx eax, byte [ebp - 8]
shl esi, 7
and eax, 0x7f
or esi, eax
movzx eax, byte [ebp - 7]
shl esi, 7
and eax, 0x7f
or esi, eax
add esi, 0xa
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push edi
call fcn.0067d200
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop edi
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x67d970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov edi, edi
mov eax, dword [esi + 8]
mov edi, edx
mov ecx, dword [eax + 0x2f]
add ecx, dword [eax + 0x2b]
sub ecx, dword [esi + 0xc]
cmp ecx, edx
cmovb edi, ecx
test ebx, ebx
je 0x67d9b4
push 0
lea eax, [ebp + 8]
push eax
push edi
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x67da4e
mov edi, dword [ebp + 8]
jmp 0x67d9c4
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp + 8], edi
mov edx, dword [ebp + 0xc]
add dword [esi + 0xc], edi
sub edx, edi
mov dword [ebp + 0xc], edx
test ebx, ebx
je 0x67d9d5
add ebx, edi
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x2f]
add eax, dword [ecx + 0x2b]
cmp eax, dword [esi + 0xc]
ja 0x67da3c
mov eax, dword [ecx + 0x1f]
test eax, eax
je 0x67d9ef
mov dword [esi + 8], eax
jmp 0x67da3c
push 0x33
call fcn.00428650
mov edi, eax
add esp, 4
test edi, edi
je 0x67da25
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov word [edi + 0x18], 0
mov byte [edi + 0x1a], 0
mov dword [edi + 0x1b], 0
mov dword [edi + 0x1f], 0
jmp 0x67da27
xor edi, edi
push edi
push dword [esi + 8]
mov ecx, esi
call fcn.0067da60
test eax, eax
je 0x67da4e
mov edx, dword [ebp + 0xc]
mov dword [esi + 8], edi
test edx, edx
jne 0x67d980
pop edi
pop esi
lea eax, [edx + 1]
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x67da60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push 0
push 0
test ebx, ebx
jne 0x67da80
push ebx
jmp 0x67da87
mov eax, dword [ebx + 0x2f]
add eax, dword [ebx + 0x27]
push eax
push dword [ecx]
call esi
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
push 1
push 0
push 0
push dword [eax]
call esi
mov dword [edi + 0x23], eax
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp - 4]
push 0x1b
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x67dac1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push 4
push str.OggS
push edi
call fcn.006bc440
add esp, 0xc
test eax, eax
jne 0x67dab6
mov al, byte [edi + 0x1a]
test al, al
je 0x67db02
movzx esi, al
push esi
call fcn.006b6815
add esp, 4
mov dword [edi + 0x1b], eax
lea ecx, [ebp - 8]
push 0
push ecx
push esi
push eax
mov eax, dword [ebp - 4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x67dab6
mov eax, dword [edi + 0x23]
xor ecx, ecx
movzx esi, byte [edi + 0x1a]
add eax, 0x1b
add eax, esi
mov dword [edi + 0x2f], 0
mov dword [edi + 0x27], eax
test esi, esi
jle 0x67db34
mov ebx, dword [edi + 0x1b]
xor edx, edx
movzx eax, byte [ebx + ecx]
inc ecx
add edx, eax
mov dword [edi + 0x2f], edx
cmp ecx, esi
jl 0x67db23
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x67db52
mov eax, dword [ebx + 0x2f]
add eax, dword [ebx + 0x2b]
mov dword [edi + 0x2b], eax
mov eax, 1
mov dword [ebx + 0x1f], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x2b], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x67dc60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x729855
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CSyncParam.0
call fcn.00429050
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.00429050
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00429050
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 2
call fcn.00429050
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 3
call fcn.00429050
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 4
call fcn.00429050
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 5
call fcn.00429050
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 6
call fcn.00429050
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.00429050
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 8
call fcn.00429050
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 9
call fcn.00429050
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xa
call fcn.00429050
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xb
call fcn.00429050
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xc
call fcn.00429050
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xd
call fcn.00429050
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xe
call fcn.00429050
mov dword [esi + 0x38], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x681df0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x729f06
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CSyncLyricsCache.0
mov eax, dword [edi + 8]
mov dword [ebp - 4], 1
test eax, eax
je 0x681e37
push eax
call fcn.006b5369
add esp, 4
lea ecx, [edi + 4]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0
call fcn.00440e40
lea ecx, [edi + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x681ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x729f40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], vtable.CSyncLyricsCache::CSync.0
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x681f29
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 8], 0
mov byte [ebp - 4], 1
je 0x68201d
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x68201d
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00428690
mov ecx, esi
call fcn.006823f0
test eax, eax
je 0x68201d
push 0
call fcn.006b698d
push dword [esi + 8]
mov dword [ebp + 0xc], eax
push 1
push 8
push edi
mov dword [ebp - 0x18], edx
call fcn.006b6232
add esp, 0x14
cmp eax, 1
jb 0x68201d
mov eax, dword [ebp + 0xc]
sub eax, dword [edi]
cmp eax, 0xe10
jge 0x68201d
lea eax, [edi + 8]
mov ecx, esi
push eax
call fcn.006822d0
test eax, eax
je 0x68201d
lea eax, [edi + 0xc]
mov ecx, esi
push eax
call fcn.006822d0
test eax, eax
je 0x68201d
lea eax, [edi + 0x10]
mov ecx, esi
push eax
call fcn.006822d0
test eax, eax
je 0x68201d
lea eax, [edi + 0x14]
mov ecx, esi
push eax
call fcn.006822d0
test eax, eax
je 0x68201d
lea eax, [edi + 0x18]
mov ecx, esi
push eax
call fcn.006822d0
test eax, eax
je 0x68201d
lea eax, [edi + 0x1c]
mov ecx, esi
push eax
call fcn.006822d0
test eax, eax
je 0x68201d
lea eax, [edi + 0x20]
mov ecx, esi
push eax
call fcn.006822d0
test eax, eax
je 0x68201d
add edi, 0x24
mov ecx, esi
push edi
call fcn.006822d0
test eax, eax
je 0x68201d
mov ecx, edi
call fcn.004290e0
test eax, eax
jle 0x68201d
mov esi, 1
jmp 0x68201f
xor esi, esi
test ebx, ebx
je 0x68202a
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6822d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x682307
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
push esi
push eax
call fcn.006b765f
add esp, 4
mov dword [ebp - 0xd4], eax
xor esi, esi
push edi
lea ebx, [ebx]
push dword [ebx + 8]
xor eax, eax
push 0x64
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xd0]
push 2
push eax
call fcn.006b6232
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x6823ce
lea ecx, [edi + edi]
cmp ecx, 0xca
jae 0x6823e3
xor eax, eax
mov word [ebp + ecx - 0xd0], ax
lea eax, [ebp - 0xd0]
mov ecx, dword [ebp - 0xd8]
push eax
call fcn.00428e00
cmp word [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
je 0x68238e
add eax, 2
inc esi
cmp word [eax], 0
jne 0x682384
lea ecx, [ebp - 0xd0]
sub eax, ecx
sar eax, 1
cmp eax, edi
jge 0x682320
mov eax, dword [ebp - 0xd4]
push 0
lea eax, [eax + esi*2]
add eax, 2
push eax
push dword [ebx + 8]
call fcn.006b724c
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
call fcn.006b87e0
int3

Function at 0x682480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov byte [ebp - 1], 0
mov eax, dword [esi + 8]
test eax, eax
jne 0x68249b
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push eax
call fcn.00429100
push eax
call fcn.006b965f
push dword [esi + 8]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.006b5539
add esp, 0x18
cmp eax, 1
jb 0x682492
push dword [esi + 8]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.006b5539
add esp, 0x10
cmp eax, 1
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x683030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x68314b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00682df0
add esp, 8
test eax, eax
jne 0x6830a7
cmp dword [ebp + 0x14], 0
je 0x68308a
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0x18], 0
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
je 0x6830d3
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, dword [ebp - 0x24]
sub eax, edi
cmp eax, edx
jle 0x6830d3
lea ecx, [edx + edi]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x14], 0
je 0x683101
mov eax, dword [ebp - 0xc]
sub ecx, edi
sub eax, dword [ebp - 0x14]
push 0x14
push ecx
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.00682d20
jmp 0x68310c
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.00682c40
add esp, 8
pop edi
test eax, eax
je 0x683067
push eax
push dword [ebp + 0x10]
push esi
call dword [sym.imp.USER32.dll_AnimateWindow]
test eax, eax
je 0x683158
push 0x581
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
push 1
push 0x578
call dword [sym.imp.USER32.dll_SetLastErrorEx]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret

Function at 0x683340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x727c08
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00429100
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
setae bl
call fcn.00428810
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x683560
Capabilities:
Get common file path
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b8
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x104
lea eax, [ebp - 0x61c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push dword [ebx + 4]
call esi
lea ecx, [ebp - 0x688]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x688]
mov byte [ebp - 0x673], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 1
push eax
push 0x30
push dword [ebx + 4]
mov dword [ebx + 0x30], eax
call esi
push 0x208
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x683606
lea eax, [ebp - 0x414]
mov ecx, 7
mov esi, 0x75df30
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x683656
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
mov dword [ebx + 0x28], 0
call edi
mov dword [ebx + 0x28], eax
test eax, eax
jne 0x683656
push 0x6a
push esi
call edi
mov dword [ebx + 0x28], eax
push dword [ebx + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0x172
push dword [ebx + 4]
call edi
test esi, esi
je 0x683676
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebx + 0x28]
push 2
push 0x172
push dword [ebx + 4]
call edi
mov eax, dword [0x7e86b4]
mov edx, dword [0x7e86ac]
sub eax, edx
mov ecx, dword [0x7e86a8]
push 0
push dword [0x801a50]
push 0
push dword [ebx + 4]
push eax
mov eax, dword [0x7e86b0]
sub eax, ecx
push eax
push edx
push ecx
push 1
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x34], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x62c]
push eax
push dword [ebx + 4]
movdqu xmmword [ebp - 0x62c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x30
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.006b47d0
mov eax, dword [ebx + 4]
add esp, 0xc
movdqu xmm0, xmmword [ebp - 0x62c]
mov dword [ebp - 0x6b0], eax
mov eax, dword [0x801a54]
mov dword [ebp - 0x698], eax
lea eax, [ebp - 0x6b8]
push eax
push 0
push 0x432
push dword [ebx + 0x34]
mov dword [ebp - 0x6b8], 0x30
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x6ac], 0x3e9
movdqu xmmword [ebp - 0x6a8], xmm0
mov dword [ebp - 0x694], 0x790eb0
call edi
push 0
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 0x50], 1
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x6852a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72a36b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x21c]
call fcn.00429050
xor eax, eax
mov dword [ebp - 4], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x555
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 5
push 0
push 0
test eax, eax
je 0x68532a
lea eax, [ebp - 0x218]
jmp 0x685334
mov ecx, 0x7f75fc
call fcn.00429100
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 0x10