joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov eax, 0xcccccccc
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
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
test eax, eax
je 0x4405df
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.004626c0
test eax, eax
jne 0x4405df
push 0xc9
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.004057f9
test eax, eax
je 0x4405df
int3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x84], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
shr eax, 0x10
test eax, eax
jne 0x440621
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x80], 0
jne 0x440621
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x84]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], ecx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00442370
test eax, eax
jne 0x44067b
xor ecx, ecx
jne 0x440648
push 0xd2
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.004057f9
test eax, eax
je 0x440648
int3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ecx + 0x128]
mov dword [ebp - 0x18], edx
mov edi, esp
mov ecx, dword [ebp - 0x18]
call dword [0x770a74]
cmp edi, esp
call fcn.00710bc0
mov ecx, dword [ebp - 4]
call dword [ebp - 0x18]
cmp esi, esp
call fcn.00710bc0
xor eax, eax
jmp 0x4406e6
call fcn.0046e7f0
mov dword [ebp - 8], eax
mov esi, esp
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
call fcn.00440e50
mov dword [ebp - 0x14], eax
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00710bc0
mov eax, dword [ebp - 0x14]
pop edi
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8
Function at 0x440700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
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
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.0046e7f0
mov dword [ebp - 0x10], eax
mov esi, esp
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x14], eax
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x440789
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4407a3
push 0x110
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.004057f9
test eax, eax
je 0x4407a3
int3
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.004407f0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00419da0
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00710bc0
mov eax, dword [ebp - 0x18]
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8
Function at 0x448b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
push ecx
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x448b36
push 0x8a
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.004057f9
test eax, eax
je 0x448b36
int3
cmp dword [ebp + 0xc], 0
jne 0x448b50
push 0x8b
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.004057f9
test eax, eax
je 0x448b50
int3
mov edx, dword [ebp - 4]
cmp dword [edx + 0x58], 0
je 0x448c04
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00448ff0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x448b7c
mov eax, dword [ebp + 0x10]
jmp 0x448c43
mov dword [ebp - 0x28], 4
mov esi, esp
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x30], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00710bc0
cmp dword [ebp - 0x30], 0
jne 0x448bfd
cmp dword [ebp - 0x1c], 4
je 0x448bde
push 0x99
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.004057f9
test eax, eax
je 0x448bde
int3
cmp dword [ebp - 0x28], 4
je 0x448bf8
push 0x9a
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.004057f9
test eax, eax
je 0x448bf8
int3
mov eax, dword [ebp - 0x10]
jmp 0x448c43
mov eax, dword [ebp + 0x10]
jmp 0x448c43
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
jne 0x448c21
push 0xa1
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.004057f9
test eax, eax
je 0x448c21
int3
mov esi, esp
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.00710bc0
push edx
mov ecx, ebp
push eax
lea edx, [0x448c68]
call fcn.00710b50
pop eax
pop edx
pop edi
pop esi
add esp, 0x30
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a1c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44a298
mov esi, esp
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44a22b
push str.hAdvAPI32___0
push 0x771088
push 0
push 0x29c
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.00722980
add esp, 0x18
cmp eax, 1
jne 0x44a22b
int3
cmp dword [ebp - 8], 0
jne 0x44a23b
mov eax, 1
jmp 0x44a2bf
mov esi, esp
push str.RegDeleteKeyTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44a296
mov esi, esp
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edi, esp
mov ecx, dword [ebp - 0x10]
call dword [0x770a74]
cmp edi, esp
call fcn.00710bc0
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00710bc0
jmp 0x44a2bf
jmp 0x44a2ba
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x44a2ba
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00710bc0
jmp 0x44a2bf
mov eax, 1
pop edi
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8
Function at 0x450830
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
cmp dword [ebp + 0xc], 0
jne 0x450863
push 0x12
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfcdoccore.cpp
call fcn.004057f9
test eax, eax
je 0x450863
int3
cmp dword [ebp + 0x10], 0
jne 0x45087a
push 0x13
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfc_srcmfcdoccore.cpp
call fcn.004057f9
test eax, eax
je 0x45087a
int3
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
call fcn.00739990
add esp, 4
test eax, eax
je 0x4508b0
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp esi, esp
call fcn.00710bc0
jmp 0x4508e9
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s_X.tmp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004308f0
add esp, 0x18
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.00710bc0
cmp eax, 0xffffffff
jne 0x450881
push edx
mov ecx, ebp
push eax
lea edx, [0x45090c]
call fcn.00710b50
pop eax
pop edx
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret
Function at 0x484630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x484664
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x4846da
mov esi, esp
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x484691
call fcn.00473ef0
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4846b9
call fcn.00473ef0
mov esi, esp
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4846da
call fcn.00473ef0
call fcn.00486a00
cmp dword [eax + 0x3c], 0
je 0x4846f4
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00482f60
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00484b90
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x88], 0
je 0x484736
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, esp
call fcn.00710bc0
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], 0
cmp dword [ebp - 0x14], 0
je 0x48474e
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x88], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8
Function at 0x4a0bd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4a0c98
mov esi, esp
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4a0c3b
push str.hKernel32___0
push 0x771088
push 0
push 0x197
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.00722980
add esp, 0x18
cmp eax, 1
jne 0x4a0c3b
int3
cmp dword [ebp - 8], 0
jne 0x4a0c45
xor eax, eax
jmp 0x4a0cb8
mov esi, esp
push str.DeleteFileTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a0c96
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov edi, esp
mov ecx, dword [ebp - 0x10]
call dword [0x770a74]
cmp edi, esp
call fcn.00710bc0
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00710bc0
jmp 0x4a0cb8
jmp 0x4a0cb6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x4a0cb6
mov esi, esp
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.00710bc0
jmp 0x4a0cb8
xor eax, eax
pop edi
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 4
Function at 0x4a1320
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4a13f5
mov esi, esp
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4a138b
push str.hKernel32___0
push 0x771088
push 0
push 0x1b8
push str.d:_agent_work3_s_src_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.00722980
add esp, 0x18
cmp eax, 1
jne 0x4a138b
int3
cmp dword [ebp - 8], 0
jne 0x4a1398
xor eax, eax
jmp 0x4a1419
mov esi, esp
push str.MoveFileTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a13f3
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 2
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edi, esp
mov ecx, dword [ebp - 0x10]
call dword [0x770a74]
cmp edi, esp
call fcn.00710bc0
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00710bc0
jmp 0x4a1419
jmp 0x4a1417
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x4a1417
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.00710bc0
jmp 0x4a1419
xor eax, eax
pop edi
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8

Function at 0x4a1ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
cmp dword [ebp + 0xc], 0
je 0x4a1aec
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004a0bd0
mov dword [ebp - 8], eax
jmp 0x4a1b02
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4a1b27
mov eax, dword [ebp + 8]
push eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00710bc0
push eax
call fcn.004624d0
pop esi
add esp, 8
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 8
Function at 0x4a1b40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
cmp dword [ebp + 0x10], 0
je 0x4a1b70
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004a1320
mov dword [ebp - 8], eax
jmp 0x4a1b8a
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4a1baf
mov edx, dword [ebp + 8]
push edx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00710bc0
push eax
call fcn.004624d0
pop esi
add esp, 8
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a6ef0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.00431d10
movzx eax, al
test eax, eax
jne 0x4a6f3c
mov ecx, dword [ebp + 8]
call fcn.00406ca0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.00710bc0
test eax, eax
jne 0x4a6f3c
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x90
call fcn.004e11d0
mov eax, 1
pop esi
add esp, 4
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 4

Function at 0x4a6f60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4a6fae
push str.m_hKey___0
push 0x771088
push 0
push 0x167c
push 0x774fd8
push 2
call fcn.00722980
add esp, 0x18
cmp eax, 1
jne 0x4a6fae
int3
xor edx, edx
jne 0x4a6f80
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4a6fd5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
call fcn.0044a1c0
jmp 0x4a707e
movzx edx, byte [0x8352fc]
test edx, edx
jne 0x4a7021
mov esi, esp
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a701a
mov esi, esp
push str.RegDeleteKeyExA
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00710bc0
mov dword [0x8352f8], eax
mov byte [0x8352fc], 1
cmp dword [0x8352f8], 0
je 0x4a7065
mov esi, esp
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
mov eax, dword [0x8352f8]
mov dword [ebp - 0xc], eax
mov edi, esp
mov ecx, dword [ebp - 0xc]
call dword [0x770a74]
cmp edi, esp
call fcn.00710bc0
call dword [ebp - 0xc]
cmp esi, esp
call fcn.00710bc0
jmp 0x4a707e
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00710bc0
pop edi
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 4
Function at 0x4db040
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.00424cd0
mov esi, esp
push 0xfffffffffffffff0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp esi, esp
call fcn.00710bc0
and eax, 3
cmp eax, 3
je 0x4db096
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004db6a0
jmp 0x4db0a2
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.004db570
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x4db121
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4db0ef
mov edx, dword [ebp - 0x10]
add edx, 1
mov esi, esp
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00411620
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00710bc0
jmp 0x4db115
mov esi, esp
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.00407d90
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00710bc0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.00418900
jmp 0x4db15b
mov ecx, dword [ebp + 0x10]
call fcn.00406ca0
mov esi, esp
push eax
push 0xffffffffffffffff
push 0x14d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.00710bc0
cmp eax, 0xffffffff
jne 0x4db15b
mov ecx, dword [ebp + 0x10]
call fcn.00406ca0
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00487250
push edx
mov ecx, ebp
push eax
lea edx, [0x4db180]
call fcn.00710b50
pop eax
pop edx
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4db3a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004db6a0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x4db415
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp esi, esp
call fcn.00710bc0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00411620
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp esi, esp
call fcn.00710bc0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.00418900
jmp 0x4db427
mov ecx, dword [ebp + 0x10]
call fcn.00406ca0
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00487250
pop esi
add esp, 8
cmp ebp, esp
call fcn.00710bc0
mov esp, ebp
pop ebp
ret 0xc