joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100622eb
Capabilities:
Create thread
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x10182cba
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101f6410]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x101
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov ebp, eax
push ebp
call ebx
test eax, eax
je 0x1006233f
push 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
call ebp
jmp 0x10062345
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0x168
push dword [esi + 4]
call edi
push eax
mov dword [esp + 0x18], eax
call ebx
test eax, eax
je 0x10062362
push 0
push dword [esp + 0x18]
call ebp
push 0x164
push dword [esi + 4]
call edi
push eax
mov dword [esp + 0x18], eax
call ebx
test eax, eax
je 0x1006237f
push 0
push dword [esp + 0x18]
call ebp
push 0x165
push dword [esi + 4]
call edi
push eax
mov dword [esp + 0x18], eax
call ebx
test eax, eax
je 0x1006239c
push 0
push dword [esp + 0x18]
call ebp
push 0x3f7
push dword [esi + 4]
call edi
mov ebp, eax
push ebp
mov dword [esp + 0x18], ebp
call ebx
test eax, eax
je 0x100623db
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 8
push 0
lea ecx, [esp + 0x20]
call fcn.10003821
push 0x19
push 1
push 0x40a
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x116
push dword [esi + 4]
call edi
mov edi, eax
push edi
call ebx
test eax, eax
je 0x10062440
mov eax, dword [0x101f3028]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], ebx
jne 0x1006240b
push 0xdb
jmp 0x10062421
cmp eax, 1
jne 0x10062417
push 0xdc
jmp 0x10062421
cmp eax, 2
jne 0x1006242a
push 0xdd
lea ecx, [esp + 0x18]
call fcn.100045b9
push dword [esp + 0x14]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x14]
call fcn.10003b75
jmp 0x10062442
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push 0x10061f4f
push ebx
push ebx
mov dword [esp + 0x30], ebx
call fcn.10147cdf
add esp, 0x18
push ebx
push 0x1e
push 0xa
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x24], ebx
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10

Function at 0x10062488
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x16a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.100622eb
xor eax, eax
pop esi
ret 0x10
Function at 0x10062ede
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
push edi
mov byte [ebp - 1], 1
jne 0x10062f2b
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x10062f52
shr eax, 2
test al, 1
je 0x10062f5b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10062f8e
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x101a7894
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x10062f8d
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret

Function at 0x1006335d
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x10182d17
call fcn.10145d80
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x101a78a4
mov dword [esi + 0x20], 0x101a78a0
lea edi, [esi + 0xe4]
push dword [edi]
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0xec]
call fcn.10003b75
mov ecx, edi
call fcn.10003b75
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x100633b3
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esi + 0x84]
call fcn.10062a1d
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.10062a1d
push dword [esi + 0x24]
mov dword [esi + 0x20], 0x101a7880
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esi + 0x14]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100633eb
push esi
call fcn.10143cda
call fcn.10145e58
ret
Function at 0x10065fd7
Capabilities:
Get graphical window text

Disassembly:
push 0x20
mov eax, 0x10183048
call fcn.10145d80
mov esi, ecx
test byte [esi + 0x34], 1
je 0x10065ff6
push dword [esi + 0x30]
call fcn.100659d1
pop ecx
jmp 0x10065ff9
mov eax, dword [esi + 0x30]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.10065c40
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
mov edi, 0x400
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000401e
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100041f7
push 0x420
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push dword [eax - 8]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_DrawTextW]
inc dword [ebp - 0x20]
test byte [esi + 0x34], 2
je 0x10066085
mov eax, dword [esi + 0x48]
add eax, dword [esi + 0x44]
add dword [ebp - 0x20], eax
push ebx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push 0x42
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [esi + 0x34], 1
je 0x100660d1
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
call fcn.10065c5c
call fcn.10145e58
ret
Function at 0x10066e24
Capabilities:
Check mutex on windows
Terminate thread

Disassembly:
push 8
mov eax, 0x1018317f
call fcn.10145d80
mov esi, ecx
push str.4389F869_D241_4d55_B61B_846DC2319405
push 0
mov ecx, 0x101f8c68
call fcn.10016a0b
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0xe4
lea ecx, [ebp - 0x10]
call fcn.100045b9
test edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x10066ec7
push 1
push edi
call ebx
cmp eax, 0x102
jne 0x10066eb9
mov eax, dword [0x101f3028]
mov dword [ebp + 0xc], eax
push 0xf8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.100045b9
push 0x40
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0xc]
call fcn.10003b75
jmp 0x10066fc4
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x34]
call fcn.10004cde
test eax, eax
je 0x10066f0e
mov eax, dword [0x101f3028]
mov dword [ebp - 0x14], eax
push 0xe3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100045b9
push 0x24
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
lea ecx, [ebp - 0x14]
je 0x10066eaf
mov byte [ebp - 4], 0
call fcn.10003b75
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
mov dword [esi + 0x50], 1
je 0x10066f53
push 0x2710
push eax
call ebx
cmp eax, 0x102
jne 0x10066f37
push edi
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov dword [esi + 0x5c], edi
je 0x10066f53
push edi
lea ecx, [eax + 0x24]
call fcn.1006553c
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add eax, 4
push dword [eax]
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
je 0x10066f7c
mov eax, dword [esi + 0x28]
push dword [eax + 4]
call ebx
mov eax, dword [esi + 0x28]
and dword [eax + 4], 0
mov eax, dword [esi + 0x2c]
add eax, 4
push dword [eax]
call edi
test eax, eax
je 0x10066f99
mov eax, dword [esi + 0x2c]
push dword [eax + 4]
call ebx
mov eax, dword [esi + 0x2c]
and dword [eax + 4], 0
mov eax, dword [esi + 0x30]
add eax, 4
push dword [eax]
call edi
test eax, eax
je 0x10066fb6
mov eax, dword [esi + 0x30]
push dword [eax + 4]
call ebx
mov eax, dword [esi + 0x30]
and dword [eax + 4], 0
movzx eax, word [ebp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x10]
call fcn.10003b75
xor eax, eax
call fcn.10145e58
ret 0x10
Function at 0x10067533
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x1018326f
call fcn.10145d80
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x1006757f
push 5
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x101f3028]
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push 0xf5
lea ecx, [ebp + 8]
call fcn.100045b9
push dword [ebp + 8]
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp + 8]
jmp 0x100675d9
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x101f3028]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], eax
push 0xf6
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.100045b9
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.10004662
add esp, 0xc
push dword [ebp - 0x14]
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x14]
call fcn.10003b75
call fcn.10145e58
ret 4
Function at 0x10068852
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
and dword [eax], 0
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10068876
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x155
push dword [esi + 4]
call edi
push 0x153
push dword [esi + 4]
mov ebx, eax
call edi
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
test eax, eax
setg cl
push ecx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10

Function at 0x10068f39
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x1018349a
call fcn.10145d80
mov edi, ecx
lea ebx, [edi + 4]
push 0
mov ecx, ebx
call fcn.1000e570
lea ecx, [edi + 0x7c]
push 1
call fcn.1006663d
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call esi
push eax
push 0xf
call esi
push eax
push 0
lea ecx, [edi + 0x7c]
call fcn.10065da6
push 0x154
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0x7c]
call fcn.10066591
push 0xf
call esi
push eax
push 0xf
call esi
push eax
push 0xff
lea ecx, [edi + 0x24]
call fcn.10065da6
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x157
push dword [ebx]
call esi
push eax
lea ecx, [edi + 0x24]
call fcn.10066591
push 0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x156
push dword [ebx]
call esi
mov ebx, eax
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0xfb
lea ecx, [ebp - 0x10]
call fcn.100045b9
push dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edi, 0x143
push edi
push ebx
call esi
push 0xfc
lea ecx, [ebp - 0x10]
call fcn.100045b9
push dword [ebp - 0x10]
push 0
push edi
push ebx
call esi
push 0xfd
lea ecx, [ebp - 0x10]
call fcn.100045b9
push dword [ebp - 0x10]
push 0
push edi
push ebx
call esi
push 0
push 0
push 0x14e
push ebx
call esi
lea ecx, [ebp - 0x10]
call fcn.10003b75
xor eax, eax
call fcn.10145e58
ret 0x10
Function at 0x1006a2a2
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0xc
mov eax, 0x1018378e
call fcn.10145d80
mov eax, dword [ebp + 0x47c]
xor ebx, ebx
mov dword [eax], ebx
call fcn.1006a1e3
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.1011de11
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10007845
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.10003b75
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100041f7
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1002a041
cmp eax, 0xffffffff
lea ecx, [ebp - 0x10]
je 0x1006a44c
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10011725
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10007845
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.10003b75
push str.space_
lea ecx, [ebp - 0x10]
call fcn.1001107f
mov word [ebp + 0x458], 0x5c
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x460], ebx
push 0x101a7a14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.10007b6e
push dword [eax]
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.10065442
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.10003b75
cmp esi, ebx
je 0x1006a430
lea ecx, [ebp]
call fcn.10065405
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jne 0x1006a424
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp]
call fcn.100670e8
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.100100f8
push dword [eax]
call esi
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x18]
jmp 0x1006a41b
lea ecx, [ebp]
call fcn.10065405
test eax, eax
jne 0x1006a424
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.100670e8
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.100100f8
push dword [eax]
call esi
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10003b75
lea ecx, [ebp]
call fcn.10064f30
test eax, eax
jne 0x1006a3e2
lea ecx, [ebp]
call fcn.10064f57
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.10064f57
lea ecx, [ebp - 0x10]
call fcn.10003b75
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x468
leave
ret 0x10
Function at 0x1006a478
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x101837e6
call fcn.10145d80
mov esi, ecx
cmp dword [esi + 0x20], 0
je 0x1006a687
movzx eax, word [ebp + 0xc]
dec eax
dec eax
je 0x1006a67c
sub eax, 0x151
jne 0x1006a687
mov eax, dword [0x101f3028]
mov dword [ebp + 0xc], eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 4], 0
mov edi, 0x155
push edi
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], eax
call fcn.1000401e
push dword [ebp - 0x14]
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.100041f7
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.10007ade
mov ecx, dword [esi + 0x20]
call fcn.10066fd6
test eax, eax
je 0x1006a539
push 5
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 4]
call ebx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x14]
call fcn.1001ecfc
jmp 0x1006a672
push 0x156
push dword [esi + 4]
call ebx
push 0x101a34b8
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.10007b11
xor ebx, ebx
push ebx
push ebx
push 0x147
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + 0x20]
add eax, 0x24
push eax
mov ecx, esi
call fcn.10069d21
lea ecx, [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.10003b75
cmp edi, 0xffffffff
je 0x1006a620
cmp edi, ebx
je 0x1006a5c6
cmp edi, 1
jne 0x1006a672
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xd4]
call fcn.10007845
mov ecx, dword [esi + 0x20]
call fcn.1006a1e3
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x1006a672
mov eax, dword [0x101f3028]
mov dword [ebp - 0x14], eax
push 0xea
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100045b9
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
push 0xe4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.100045b9
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x14]
jmp 0x1006a66d
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
push 0xeb
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.100045b9
mov eax, dword [0x101f3028]
mov dword [ebp - 0x14], eax
push 0xe4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.100045b9
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp + 0xc]
call fcn.10003b75
jmp 0x1006a687
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
call fcn.10145e58
ret 0x10
Function at 0x1006bd9c
Capabilities:
Check if file exists
Create thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
push dword [esi + 4]
xor ebp, ebp
mov dword [esp + 0xc], ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1006be26
push ebx
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi + 4], ebp
jle 0x1006bdef
push ebx
mov ecx, edi
call fcn.10024269
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006bde9
push ebx
mov ecx, edi
call fcn.10024269
push eax
lea ecx, [esi + 0x1e0]
call fcn.1003a823
inc ebx
cmp ebx, dword [edi + 4]
jl 0x1006bdc1
lea ecx, [esi + 0x1e0]
call fcn.10004cde
test eax, eax
pop edi
pop ebx
je 0x1006be26
push ebp
push ebp
push esi
push 0x1006b8da
push ebp
push ebp
mov dword [esp + 0x20], 1
call fcn.10147cdf
add esp, 0x18
push dword [esi + 0x188]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 8]
pop esi
pop ebp
pop ecx
ret 4

Function at 0x1006bf30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.1000e570
push ebx
push ecx
mov eax, esp
push ebx
push 0x56000000
push ebx
mov dword [eax], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
push dword [edi]
lea ebx, [esi + 0x20]
mov ecx, ebx
call fcn.1006567c
lea eax, [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x28]
add dword [ebp - 4], eax
push 0
push dword [edi]
call fcn.1006638e
mov ecx, dword [esi + 0x28]
push 1
lea eax, [ebp - 0x10]
push eax
add ecx, 4
call fcn.10061ca9
mov eax, dword [esi + 0x28]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [eax + 4]
call ebx
mov ecx, dword [esi + 0x2c]
push 0
push dword [edi]
call fcn.100663dd
mov ecx, dword [esi + 0x2c]
push 1
lea eax, [ebp - 0x10]
push eax
add ecx, 4
call fcn.10061ca9
mov eax, dword [esi + 0x2c]
push 0
push dword [eax + 4]
call ebx
mov ecx, dword [esi + 0x30]
push 0
push dword [edi]
call fcn.1006642c
mov ecx, dword [esi + 0x30]
push 1
lea eax, [ebp - 0x10]
push eax
add ecx, 4
call fcn.10061ca9
mov eax, dword [esi + 0x30]
push 0
push dword [eax + 4]
call ebx
mov eax, dword [esi + 0x48]
push dword [eax]
mov ecx, esi
call fcn.100675e6
cmp dword [esi + 0x64], 0
jle 0x1006c027
mov ecx, dword [esi + 0x28]
lea edi, [esi + 0x60]
push edi
call fcn.1006bd9c
mov ecx, edi
call fcn.10024521
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x1006c32e
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
mov dword [esi], 0x101a8308
je 0x1006c350
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
push dword [esi + 0x30]
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
pop edi
je 0x1006c36f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x58]
call fcn.10003b75
lea ecx, [esi + 0x54]
call fcn.10003b75
lea ecx, [esi + 0x50]
call fcn.10003b75
lea ecx, [esi + 0x4c]
call fcn.10003b75
lea ecx, [esi + 0x48]
call fcn.10003b75
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1006c3a5
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esi + 0x3c]
call fcn.10003b75
lea ecx, [esi + 0x38]
call fcn.10003b75
lea ecx, [esi + 0x34]
call fcn.10003b75
lea ecx, [esi + 0x24]
call fcn.1006c30b
mov esi, dword [esi + 0x14]
test esi, esi
je 0x1006c3d2
push esi
call fcn.10143cda
pop esi
ret

Function at 0x1006c6f5
Capabilities:
Create thread
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x10183bee
call fcn.10145d80
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.1000e570
mov eax, dword [esi + 0x50]
cmp dword [eax - 8], ebx
je 0x1006c74c
lea eax, [ebp - 0x10]
push str.bdbar
push eax
call fcn.1011f647
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], ebx
call fcn.10007845
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x24]
call fcn.10007845
lea eax, [ebp - 0x14]
push str.bdbar
push eax
call fcn.1011f647
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.10007845
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea eax, [esi + 0x58]
push eax
lea ecx, [esi + 0x2c]
call fcn.10007845
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [esi + 0x24]
push eax
push 0x1006c669
push ebx
push ebx
mov dword [ebp - 0x18], ebx
call fcn.10147cdf
add esp, 0x18
push ebx
push 0x64
push 1
push dword [edi]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x10a
push dword [edi]
call esi
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0xe5
push dword [edi]
call esi
push 0
push eax
call ebx
push 0xe4
push dword [edi]
call esi
push 0
push eax
call ebx
push 1
push dword [edi]
call esi
push 0
push eax
call ebx
xor eax, eax
call fcn.10145e58
ret 0x10