joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b741
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x114c]
mov eax, 0x114c
call fcn.10102790
push 0xffffffffffffffff
push 0x10139c2f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x1148], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp dword [section..Shared], ebx
mov dword [ebp - 4], ebx
jne 0x1003b90c
call fcn.100dcb4c
test eax, eax
je 0x1003b90c
xor esi, esi
inc esi
mov dword [section..Shared], esi
cmp dword [edi + 0x44], ebx
jne 0x1003b7c7
lea ecx, [ebp - 0x1c]
call fcn.1001c3eb
mov eax, esi
jmp 0x1003b917
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push str.SoftwareBaiduBaiduToolbarcrashtabs
mov ecx, 0x1019ee20
mov dword [ebp - 0x10], ebx
call fcn.100101c4
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], ebx
je 0x1003b7b8
push 0xfe
lea eax, [ebp + 0x104a]
push ebx
push eax
mov dword [ebp - 0x20], ebx
mov word [ebp + 0x1048], bx
call fcn.101027c0
push 0x1046
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x2c], 0x80
mov dword [ebp - 0x24], ebx
mov word [ebp], bx
call fcn.101027c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x1048]
push eax
mov edi, 0x824
push ebx
jmp 0x1003b899
inc dword [ebp - 0x20]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000587e
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1001e3c9
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.100015d9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x1048]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], 0x80
push dword [ebp - 0x10]
mov dword [ebp - 0x28], edi
call esi
test eax, eax
je 0x1003b84d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareBaiduBaiduToolbarcrashtabs
mov ecx, 0x1019ee20
call fcn.100101c4
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp - 0x18], ebx
jle 0x1003b900
mov esi, dword [ebp - 0x30]
add esi, 0x30
mov eax, dword [ebp - 0x18]
dec eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001be44
push eax
mov ecx, esi
call fcn.1001e3c9
mov eax, dword [ebp - 0x18]
dec eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003b1e3
cmp dword [ebp - 0x18], ebx
jg 0x1003b8cf
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x3c], 1
lea ecx, [ebp - 0x1c]
call fcn.1001c3eb
xor eax, eax
jmp 0x1003b917
lea ecx, [ebp - 0x1c]
call fcn.1001c3eb
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1148]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x114c
leave
ret
Function at 0x1003ddb2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 0x94]
xor eax, eax
cmp dword [edx - 8], eax
je 0x1003ddf0
push esi
lea edx, [ebp - 4]
push edx
push eax
push ecx
push 0x1003dcac
push eax
push eax
mov dword [ebp - 4], eax
call fcn.1010370a
add esp, 0x18
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret 4
Function at 0x1004276b
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004277e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
ret 0x10

Function at 0x10042e84
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x204], 0
push ebx
push esi
push edi
push 0x1fe
lea eax, [ebp - 0x202]
push 0
push eax
mov esi, ecx
call fcn.101027c0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0xe5
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push eax
call ebx
lea eax, [ebp - 0x204]
push eax
lea ecx, [esi + 0x24]
call fcn.10001cbf
push 0xe4
push dword [esi + 4]
call edi
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push eax
call ebx
lea eax, [ebp - 0x204]
push eax
lea ecx, [esi + 0x28]
call fcn.10001cbf
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.101018a3
leave
ret 0x10

Function at 0x10042f34
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x184]
sub esp, 0x204
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x180], eax
and word [ebp - 0x80], 0
push ebx
push esi
push edi
push 0x1fe
lea eax, [ebp - 0x7e]
push 0
push eax
mov esi, ecx
call fcn.101027c0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0xe4
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x100
lea ecx, [ebp - 0x80]
push ecx
push eax
call ebx
lea eax, [ebp - 0x80]
push eax
lea ecx, [esi + 0x30]
call fcn.10001cbf
push 0xe5
push dword [esi + 4]
call edi
push 0xff
lea ecx, [ebp - 0x80]
push ecx
push eax
call ebx
lea eax, [ebp - 0x80]
push eax
lea ecx, [esi + 0x24]
call fcn.10001cbf
push 0xe6
push dword [esi + 4]
call edi
push 0xff
lea ecx, [ebp - 0x80]
push ecx
push eax
call ebx
lea eax, [ebp - 0x80]
push eax
lea ecx, [esi + 0x28]
call fcn.10001cbf
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp + 0x180]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.101018a3
add ebp, 0x184
leave
ret 0x10
Function at 0x100432a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 4]
xor edi, edi
push edi
mov ecx, ebx
call fcn.1000bbaa
push 8
call fcn.10102177
cmp eax, edi
pop ecx
je 0x100432d9
mov ecx, dword [0x1019a028]
mov dword [eax], ecx
mov ecx, dword [0x1019a028]
mov dword [eax + 4], ecx
mov edi, eax
lea eax, [esi + 0x24]
push eax
mov ecx, edi
call fcn.10005459
lea eax, [esi + 0x28]
push eax
lea ecx, [edi + 4]
call fcn.10005459
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push 0x1004311f
push eax
push eax
mov dword [ebp - 4], eax
call fcn.1010370a
add esp, 0x18
push 0
push 0x1f4
push 1
push dword [ebx]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x10044e97
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x14
mov eax, 0x1013b28a
call fcn.101018e5
mov esi, ecx
push 0xd1
push dword [esi + 4]
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
and dword [ebp - 4], 0
and dword [ebp - 0x20], 0
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
mov dword [ebp - 0x1c], edi
neg ecx
or ecx, eax
push ecx
call fcn.10100af4
or dword [ebp - 4], 0xffffffff
pop ecx
mov ebx, eax
jmp 0x10044f18
test ebx, ebx
je 0x10044f42
inc edi
push edi
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
lea ecx, [esi + 0x28]
call fcn.10001cbf
push ebx
call fcn.10101095
pop ecx
push 1
push dword [esi + 4]
jmp 0x10044fd5
and word [ebp], 0
push 0x1fe
lea eax, [ebp + 2]
push 0
push eax
call fcn.101027c0
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
mov ebx, 0x100
push ebx
lea eax, [ebp]
push eax
push 0x96
push dword [0x1019fa94]
call edi
and word [ebp + 0x200], 0
push 0x1fe
lea eax, [ebp + 0x202]
push 0
push eax
call fcn.101027c0
add esp, 0xc
push ebx
lea eax, [ebp + 0x200]
push eax
push 0x97
push dword [0x1019fa94]
call edi
push 0x40
push ecx
mov eax, esp
lea ecx, [ebp + 0x200]
mov dword [ebp - 0x14], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [ebp]
mov dword [eax], ecx
mov dword [ebp - 0x14], esp
push dword [esi + 4]
call fcn.10018835
add esp, 0x10
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
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 + 0x400]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x404
leave
ret 0x10
Function at 0x10045120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ecx + 4]
push 0x165
push dword [esi]
mov dword [ecx + 0x28], 2
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 4], eax
push dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call ebx
test eax, eax
je 0x1004517a
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.100450bc
push 0x168
push dword [esi]
call edi
push eax
mov dword [ebp - 4], eax
call ebx
test eax, eax
je 0x100451a6
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.10018757
push 5
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x164
push dword [esi]
call edi
push eax
mov dword [ebp - 4], eax
call ebx
test eax, eax
je 0x100451d1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.100450bc
push 0x16a
push dword [esi]
call edi
push eax
mov dword [ebp - 4], eax
call ebx
test eax, eax
je 0x100451fd
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.10018757
push 5
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f7
push dword [esi]
call edi
mov esi, eax
push esi
call ebx
test eax, eax
je 0x10045218
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1004521d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ecx + 4]
push 0x168
push dword [esi]
mov dword [ecx + 0x28], 1
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 4], eax
push dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call ebx
test eax, eax
je 0x1004528c
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.100450bc
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x169
push dword [esi]
call edi
push eax
mov dword [ebp - 4], eax
call ebx
test eax, eax
je 0x100452be
cmp dword [ebp - 8], 0
je 0x100452b3
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
call fcn.10018757
push 5
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f7
push dword [esi]
call edi
mov esi, eax
push esi
call ebx
test eax, eax
je 0x100452d9
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10045487
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x1013b2e5
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1019c8c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea esi, [ecx + 4]
push 0
mov ecx, esi
call fcn.1000bbaa
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x168
push dword [esi]
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov ebp, eax
push ebp
call ebx
test eax, eax
je 0x100454e8
push 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
call ebp
jmp 0x100454ee
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0x169
push dword [esi]
call edi
push eax
mov dword [esp + 0x18], eax
call ebx
test eax, eax
je 0x1004550a
push 0
push dword [esp + 0x18]
call ebp
push 0x16a
push dword [esi]
call edi
push eax
mov dword [esp + 0x18], eax
call ebx
test eax, eax
je 0x10045526
push 0
push dword [esp + 0x18]
call ebp
push 0x101
push dword [esi]
call edi
push eax
mov dword [esp + 0x18], eax
call ebx
test eax, eax
je 0x10045559
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push eax
push 0x170
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f7
push dword [esi]
call edi
push eax
mov dword [esp + 0x18], eax
call ebx
test eax, eax
je 0x10045575
push 0
push dword [esp + 0x18]
call ebp
push 0x116
push dword [esi]
call edi
mov esi, eax
mov eax, dword [0x1019a028]
mov dword [esp + 0x14], eax
and dword [esp + 0x24], 0
push esi
call ebx
test eax, eax
je 0x100455d1
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x100455a7
push 0xd5
jmp 0x100455bd
cmp eax, 1
jne 0x100455b3
push 0xd6
jmp 0x100455bd
cmp eax, 2
jne 0x100455c6
push 0xd7
lea ecx, [esp + 0x18]
call fcn.1000201d
push dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x14]
call fcn.100015d9
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 0x100456ef
Capabilities:
Create thread
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x1013b32b
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1019c8c8]
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 0x10045743
push 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
call ebp
jmp 0x10045749
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 0x10045766
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 0x10045783
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 0x100457a0
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 0x100457df
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 8
push 0
lea ecx, [esp + 0x20]
call fcn.10001285
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 0x10045844
mov eax, dword [0x1019a028]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], ebx
jne 0x1004580f
push 0xdb
jmp 0x10045825
cmp eax, 1
jne 0x1004581b
push 0xdc
jmp 0x10045825
cmp eax, 2
jne 0x1004582e
push 0xdd
lea ecx, [esp + 0x18]
call fcn.1000201d
push dword [esp + 0x14]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x14]
call fcn.100015d9
jmp 0x10045846
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push 0x10045353
push ebx
push ebx
mov dword [esp + 0x30], ebx
call fcn.1010370a
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 0x1004588c
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.100456ef
xor eax, eax
pop esi
ret 0x10
Function at 0x100462ee
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 0x1004633b
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 0x10046362
shr eax, 2
test al, 1
je 0x1004636b
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 0x1004639e
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x1004639d
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 0x1004676d
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x1013b388
call fcn.101018b2
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x101599f4
mov dword [esi + 0x20], 0x101599f0
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.100015d9
mov ecx, edi
call fcn.100015d9
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x100467c3
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esi + 0x84]
call fcn.10045e2d
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.10045e2d
push dword [esi + 0x24]
mov dword [esi + 0x20], 0x101599d0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esi + 0x14]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100467fb
push esi
call fcn.100ffb54
call fcn.1010198a
ret
Function at 0x100494bf
Capabilities:
Get graphical window text

Disassembly:
push 0x20
mov eax, 0x1013b6b9
call fcn.101018b2
mov esi, ecx
test byte [esi + 0x34], 1
je 0x100494de
push dword [esi + 0x30]
call fcn.10048dcd
pop ecx
jmp 0x100494e1
mov eax, dword [esi + 0x30]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.100490e2
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 [0x1019a028]
mov dword [ebp - 0x10], eax
mov edi, 0x400
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001a82
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10001c5b
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 0x1004956d
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 0x100495b9
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.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100490fe
call fcn.1010198a
ret
Function at 0x1004a4d7
Capabilities:
Check mutex on windows
Terminate thread

Disassembly:
push 8
mov eax, 0x1013b7f0
call fcn.101018b2
mov esi, ecx
push str.4389F869_D241_4d55_B61B_846DC2319405
push 0
mov ecx, 0x1019ee80
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0xe4
lea ecx, [ebp - 0x10]
call fcn.1000201d
test edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x1004a57a
push 1
push edi
call ebx
cmp eax, 0x102
jne 0x1004a56c
mov eax, dword [0x1019a028]
mov dword [ebp + 0xc], eax
push 0xf8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1000201d
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.100015d9
jmp 0x1004a677
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x34]
call fcn.10002742
test eax, eax
je 0x1004a5c1
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
push 0xe3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000201d
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 0x1004a562
mov byte [ebp - 4], 0
call fcn.100015d9
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
mov dword [esi + 0x50], 1
je 0x1004a606
push 0x2710
push eax
call ebx
cmp eax, 0x102
jne 0x1004a5ea
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 0x1004a606
push edi
lea ecx, [eax + 0x24]
call fcn.10048938
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 0x1004a62f
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 0x1004a64c
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 0x1004a669
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.100015d9
xor eax, eax
call fcn.1010198a
ret 0x10