joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014ba
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
call fcn.00403052
test eax, eax
jne 0x4014e6
push 0x30
push str.Cannot_start_install
push str.There_is_a_problem_with_the_install_program.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x401515
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.00401b6a
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
mov eax, dword [0x43f728]
add eax, 0x69d2
push eax
call fcn.00410bac
xor eax, eax
pop ecx
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x4015ab
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x564
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x260]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x364]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [0x43f728]
test byte [eax + 0x56be], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
je 0x40160b
lea ecx, [ebp - 0x15c]
push ecx
push esi
add eax, 0x57c9
push eax
lea eax, [ebp - 0x364]
push eax
call edi
mov eax, dword [0x43f728]
test byte [eax + 0x56be], 2
je 0x40162b
lea ecx, [ebp - 0x15c]
push ecx
push esi
add eax, 0x50b4
push eax
lea eax, [ebp - 0x364]
push eax
call edi
push esi
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
push 0x4000000
push 3
push esi
push 1
push esi
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
lea eax, [ebp - 0x260]
push eax
push ebx
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x564]
push str._s__cleanup__d___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00425710
add esp, 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x564]
push eax
push esi
mov dword [ebp - 0x58], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4016e2
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x5c
push dword [ebp + 0xc]
call fcn.0041fb40
test eax, eax
pop ecx
pop ecx
je 0x401715
mov byte [eax], 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ebp
ret
Function at 0x401ad1
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
push dword [ebp + 0xc]
and dword [esp + 0x20], 0
and dword [esp + 0x1c], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0040deff
pop ecx
push 8
pop edx
lea eax, [esp + 0x18]
lea ecx, [esp]
call fcn.0040e63a
mov ecx, dword [esp + 0x18]
shr ecx, 3
push 0x38
and ecx, 0x3f
pop eax
cmp ecx, eax
jb 0x401b34
push 0x78
pop eax
sub eax, ecx
push 0x436518
lea ecx, [esp + 0xc]
call fcn.0040deff
lea eax, [esp + 4]
push eax
push 8
pop eax
lea ecx, [esp + 0x10]
call fcn.0040deff
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push 0x10
pop edx
lea eax, [esp + 8]
call fcn.0040e63a
mov esp, ebp
pop ebp
ret

Function at 0x401b6a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernel32
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42f1c0
push eax
mov dword [0x440044], eax
call esi
push str.user32
mov dword [0x440048], eax
call edi
push str.SetWindowTextW
push eax
mov dword [0x44004c], eax
call esi
push str.GetWindowTextW
push dword [0x44004c]
mov dword [0x440050], eax
call esi
mov dword [0x440054], eax
xor eax, eax
cmp dword [0x440048], eax
pop edi
pop esi
je 0x401be0
cmp dword [0x440050], eax
mov byte [0x440040], 1
jne 0x401be5
mov byte [0x440040], al
push 0x90
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x94], 0x94
call fcn.00425710
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
sbb al, al
inc al
mov byte [0x440040], al
leave
ret
Function at 0x401e67
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
push edi
push 0x1a4
xor esi, esi
lea eax, [ebp - 0x25c]
push esi
push eax
call fcn.00425710
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
add esp, 0xc
mov dword [ebp - 0x260], 0x1a8
mov dword [ebp - 0xc], esi
push esi
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0xc]
push esi
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
setne al
test al, al
je 0x402046
test byte [ebp - 0x1bc], 1
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
je 0x40203e
push 0x103
lea eax, [ebp - 0x367]
push esi
push eax
mov byte [ebp - 0x368], 0
call fcn.00425710
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x368]
push str.found_device__d__name:__s_nResolutions_Supported:_n_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp - 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0xb8], 0
lea edi, [ebp - 0xb7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7c
stosb byte es:[edi], al
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00425710
add esp, 0xc
lea eax, [ebp - 0xb8]
push eax
push esi
lea eax, [ebp - 0x25c]
push eax
mov word [ebp - 0x94], 0x9c
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
setne al
test al, al
je 0x401f7a
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 8]
jb 0x401f7a
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x10], ecx
inc esi
test al, al
jne 0x401f18
mov edi, 0x400
cmp dword [ebp - 0x10], edi
jl 0x401f96
cmp dword [ebp - 8], 0x300
jl 0x401f96
mov byte [ebp - 1], 1
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 8
push esi
call ebx
push 0xa
push esi
mov dword [ebp - 0x14], eax
call ebx
push 0xc
push esi
mov dword [ebp - 0x18], eax
call ebx
push 0x74
push esi
call ebx
cmp dword [ebp - 0x14], edi
jl 0x401fcc
cmp dword [ebp - 0x18], 0x300
mov byte [ebp - 2], 1
jge 0x401fd0
mov byte [ebp - 2], 0
lea eax, [ebp - 0x23c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401fd8
sub eax, edx
mov esi, edx
mov edx, eax
mov eax, 0x43f83c
mov edi, eax
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401fed
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, eax
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402006
mov eax, dword [ebp - 8]
mov esi, 0x42f298
movsw word es:[edi], word [esi]
mov dword [0x43f834], eax
mov eax, dword [ebp - 0x10]
mov dword [0x43f838], eax
mov al, byte [ebp - 2]
mov byte [0x44003c], al
mov al, byte [ebp - 1]
mov byte [0x44003d], al
mov byte [0x44003e], 0
xor esi, esi
inc dword [ebp - 0xc]
jmp 0x401e9d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40209e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea edx, [ebp - 0x108]
push edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4020b1
xor edi, edi
cmp byte [ebp - 0x108], 0
je 0x4020f5
lea esi, [ebp + edi - 0x108]
cmp byte [esi], 0x5c
jne 0x4020ea
cmp edi, 2
jle 0x4020ea
lea eax, [ebp - 0x108]
push eax
mov byte [esi], 0
call fcn.0040908c
pop ecx
mov byte [esi], 0x5c
inc edi
cmp byte [ebp + edi - 0x108], 0
jne 0x4020c6
lea eax, [ebp - 0x108]
push eax
call fcn.0040908c
pop ecx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
leave
ret

Function at 0x402138
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
push ebx
push esi
push edi
mov edi, 0x103
xor ebx, ebx
push edi
lea eax, [ebp - 0x253]
push ebx
push eax
mov byte [ebp - 0x254], bl
call fcn.00425710
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x254]
push str._s.
push eax
call esi
push 0x13c
lea eax, [ebp - 0x148]
push ebx
push eax
mov dword [ebp - 0x14c], ebx
call fcn.00425710
add esp, 0x24
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x402219
cmp byte [ebp - 0x120], 0x2e
je 0x4021f2
push edi
lea eax, [ebp - 0x35b]
push ebx
push eax
mov byte [ebp - 0x35c], bl
call fcn.00425710
lea eax, [ebp - 0x120]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x35c]
push 0x42f2a4
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402213
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 8], 0xffffffff
cmp dword [ebp - 8], 0xffffffff
jne 0x4021ad
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402227
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
push esi
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x402265
mov eax, 0x4403c8
jmp 0x4022f2
push edi
push esi
call fcn.0041fa52
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x114]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push 0x42fa40
push ecx
push eax
lea eax, [ebp - 0x514]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x514]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov esi, 0x4403c8
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4022de
push edi
call fcn.0042039d
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x402351
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x1c], esi
je 0x402370
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push str.BlindCaffineSubstituteFamousCurtainTrickKingTinHalcyonDaysArapaho
call fcn.00418dd7
add esp, 0xc
push esi
lea eax, [ebp + 0x1c]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4023a6
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
pop ebp
ret
Function at 0x4023b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x2001f
xor edi, edi
push edi
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402418
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push edi
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
mov eax, dword [ebx]
inc eax
push eax
call fcn.0041fa52
pop ecx
push ebx
mov edi, eax
push edi
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
test eax, eax
je 0x402418
test edi, edi
je 0x402416
push edi
call fcn.0042039d
pop ecx
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x14], 0
je 0x40243b
test edi, edi
je 0x402445
push dword [ebx]
push edi
push str.BlindCaffineSubstituteFamousCurtainTrickKingTinHalcyonDaysArapaho
call fcn.00418dd7
add esp, 0xc
test edi, edi
je 0x402445
mov eax, dword [ebx]
mov byte [edi + eax], 0
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x403052
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.00402680
test eax, eax
pop ecx
pop ecx
mov edi, 0x69da
push edi
je 0x4030e4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
lea esi, [eax + ecx - 0xe18]
mov dword [ebp - 4], esi
call fcn.0041fb86
pop ecx
push edi
mov ebx, eax
push 0
push ebx
call fcn.00425710
mov eax, dword [ebp - 8]
mov dword [ebx + 0x69d2], eax
mov eax, dword [esi]
mov dword [ebx + 0x69d6], eax
mov eax, dword [ebp - 4]
mov edi, ebx
mov ecx, 0x386
rep movsd dword es:[edi], dword [esi]
mov dword [0x43f728], ebx
add eax, 4
add ebx, 0xe18
add esp, 0xc
sub ebx, eax
movzx ecx, word [eax]
mov word [ebx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x4030d1
jmp 0x4031aa
call fcn.0041fb86
pop ecx
push edi
mov ebx, eax
push 0x436898
push ebx
call fcn.004253a0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x10f]
push esi
push eax
mov byte [ebp - 0x110], 0
call fcn.00425710
add esp, 0xc
push str.data.cab
lea edi, [ebp - 0x110]
call fcn.00406cdd
push esi
push esi
push 3
push esi
push 1
push SysReAllocStringLen
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x40317d
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edi, [ebx + 0x69d6]
push eax
mov dword [edi], eax
call fcn.0041fa52
pop ecx
push esi
lea ecx, [ebp - 8]
push ecx
push dword [edi]
mov dword [ebx + 0x69d2], eax
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403189
mov dword [ebx + 0x69d6], esi
mov dword [ebx + 0x69d2], esi
mov dword [0x43f728], ebx
mov eax, 0x43689c
add ebx, 0xe18
sub ebx, eax
movzx ecx, word [eax]
mov word [ebx + eax], cx
inc eax
inc eax
cmp cx, si
jne 0x40319c
push dword [0x43f728]
call fcn.004028e5
pop ecx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x403d7b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
je 0x403ead
cmp dword [ebp + 0x10], ebx
je 0x403ead
cmp eax, ebx
je 0x403df1
cmp dword [eax + 4], ebx
je 0x403df1
mov esi, dword [eax]
mov eax, dword [eax + 4]
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], ebx
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
call fcn.00409438
push dword [ebp - 0x14]
push esi
call fcn.0040931d
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, ebx
je 0x403ead
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x403ead
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x403ea8
push 0x103
lea eax, [ebp - 0x123]
push ebx
push eax
mov byte [ebp - 0x124], bl
call fcn.00425710
add esp, 0xc
push str.data_
lea edi, [ebp - 0x124]
call fcn.00406cdd
mov eax, dword [ebp + 8]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403e21
lea edi, [ebp - 0x124]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x403e31
mov ecx, eax
shr ecx, 2
push ebx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push ebx
push 3
push ebx
push 1
mov ecx, eax
push SysReAllocStringLen
lea eax, [ebp - 0x124]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x403ead
push ebx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
inc eax
push eax
call fcn.0041fa52
mov edi, dword [ebp + 0xc]
pop ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
mov dword [edi], eax
push dword [esi]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [edi]
mov ecx, dword [esi]
push dword [ebp - 8]
mov byte [eax + ecx], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x403eaf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404f00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1408
call fcn.0041fb86
test eax, eax
pop ecx
je 0x404f26
push SysReAllocStringLen
mov ecx, str.SoftwareMicrosoftInternet_ExplorerExtensions
call fcn.00409617
mov esi, eax
jmp 0x404f28
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0x424
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404f37
sub eax, edi
pop edi
je 0x404f57
push ecx
push esi
call fcn.00409954
lea eax, [esi + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
test esi, esi
je 0x404f63
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop esi
pop ebp
ret 4

Function at 0x404f68
Capabilities:
Delete registry key

Disassembly:
push ecx
mov ecx, dword [eax + 0x924]
dec ecx
je 0x404f95
dec ecx
jne 0x404f9a
lea ecx, [eax + 0x208]
push ecx
add eax, 0x30c
call fcn.00401969
pop ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop ecx
ret
call fcn.00404f9c
pop ecx
ret

Function at 0x404f9c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea ecx, [eax + 0x208]
push edi
push ecx
add eax, 0x30c
call fcn.00401969
pop ecx
push 0
mov edi, 0x42f5e8
mov esi, eax
push edi
push esi
call fcn.0040244b
add esp, 0xc
push 1
push 0x42fa08
push esi
mov dword [ebp - 8], eax
call fcn.0040244b
add esp, 0xc
push 0
push 0x42fa0c
push esi
mov dword [ebp - 0xc], eax
call fcn.0040244b
add esp, 0xc
push 0x42f250
push esi
mov dword [ebp - 0x14], eax
call fcn.004025df
mov ebx, 0x42fa10
push ebx
push esi
mov dword [ebp - 0x10], eax
call fcn.004025df
add esp, 0x10
push esi
push SysReAllocStringLen
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, dword [0x43f728]
test dword [eax + 0x69ca], 2
jne 0x40503f
push 0
push dword [ebp - 8]
push edi
push esi
call fcn.00402597
add esp, 0x10
mov eax, dword [0x43f728]
test dword [eax + 0x69ca], 1
jne 0x405061
push dword [ebp - 0x10]
push 0x42f250
push esi
call fcn.0040261d
add esp, 0xc
mov eax, dword [0x43f728]
test dword [eax + 0x69ca], 4
jne 0x405098
cmp dword [ebp - 4], 0
je 0x405098
push dword [ebp - 4]
push ebx
push esi
call fcn.0040261d
add esp, 0xc
push 1
push dword [ebp - 0xc]
push 0x42fa08
push esi
call fcn.00402597
add esp, 0x10
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4050c0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4050a4
sub eax, edx
je 0x4050c0
push 0
push edi
push 0x42fa0c
push esi
call fcn.00402597
add esp, 0x10
push esi
call fcn.0042039d
pop ecx
push dword [ebp - 8]
call fcn.0042039d
pop ecx
push dword [ebp - 0xc]
call fcn.0042039d
pop ecx
push edi
call fcn.0042039d
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405189
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
push edi
push 0x1408
mov edi, eax
call fcn.0041fb86
test eax, eax
pop ecx
je 0x4051b0
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, str.SoftwareMicrosoftwindowscurrentversionuninstall
call fcn.00409617
mov esi, eax
jmp 0x4051b2
xor esi, esi
mov eax, dword [edi + 0x924]
xor ebx, ebx
dec eax
je 0x4051c7
dec eax
jne 0x4051db
mov ebx, str.__Poker_
jmp 0x4051cc
mov ebx, 0x42f19f
add edi, 0x208
push edi
call fcn.0040191e
mov ebx, eax
pop ecx
push ebx
push esi
call fcn.00409954
lea eax, [esi + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push ebx
call fcn.0042039d
mov eax, dword [esi]
pop ecx
push 1
mov ecx, esi
call dword [eax]
pop edi
pop esi
pop ebx
ret

Function at 0x405202
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp - 0x40e]
push ebx
push eax
mov word [ebp - 0x410], bx
call fcn.00425710
push esi
lea eax, [ebp - 0x206]
push ebx
push eax
mov word [ebp - 0x208], bx
call fcn.00425710
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0x10]
call fcn.0040204b
add esp, 0x20
test eax, eax
je 0x4052cd
cmp dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
je 0x405284
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call esi
xor eax, eax
movzx ecx, word [ebp + eax - 0x208]
mov word [ebp + eax - 0x410], cx
inc eax
inc eax
cmp cx, bx
jne 0x40526d
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call esi
lea edi, [ebp - 0x208]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x405299
mov esi, str..lnk
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x208]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], ebx
pop edi
je 0x4052cd
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
pop ebx
leave
ret 0xc