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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x108
cmp eax, 0x8b
push esi
jne 0x408f0a
mov eax, dword [0x41a344]
test eax, eax
je 0x408e86
mov eax, 0xf
jmp 0x408e8e
mov eax, dword [sym.imp.RSCLASS.dll_struct__ENVVAR_gEnvVar]
mov eax, dword [eax + 0x3c]
cmp dword [0x41d290], eax
jl 0x408ef7
mov esi, dword [esp + 0x110]
push 1
push 0x41d168
push esi
mov dword [0x41a344], 0
mov dword [0x41d290], 0
call fcn.00402ce0
push str._notray
push 0x41d1b0
call fcn.0040e8a0
add esp, 0x14
test eax, eax
jne 0x409022
push eax
push eax
push 0x86
push eax
push esi
call fcn.004028d0
push esi
call fcn.00402950
add esp, 0x18
pop esi
add esp, 0x108
ret
mov eax, dword [0x41d290]
pop esi
inc eax
mov dword [0x41d290], eax
add esp, 0x108
ret
cmp eax, 0x86
jne 0x408f38
mov esi, dword [esp + 0x110]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x409022
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x108
ret
cmp eax, 0x88
jne 0x408f57
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00408750
add esp, 4
pop esi
add esp, 0x108
ret
cmp eax, 0x8c
jne 0x409022
mov edx, dword [sym.imp.RSCLASS.dll_struct__ENVVAR_gEnvVar]
mov eax, dword [edx + 4]
test eax, 0x10000000
je 0x408fe3
cmp eax, 0x10000008
jb 0x408fe3
push str.GlobalRed_Spider_Session_Change
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
je 0x408fcb
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
push esi
jne 0x408fbd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x110]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
add esp, 0x108
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x108
ret
mov ecx, dword [esp + 0x110]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
add esp, 0x108
ret
lea edx, [esp + 4]
lea eax, [esp + 8]
push edx
push eax
mov dword [esp + 0xc], 0x101
call sub.REDCOMM.dll_Ordinal_181
test eax, eax
je 0x409022
lea ecx, [esp + 8]
push str.SYSTEM
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x409022
mov edx, dword [esp + 0x110]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
add esp, 0x108
ret
Function at 0x409ee0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x86
push esi
call dword [sym.imp.USER32.dll_KillTimer]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x409f05
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x40af10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
test edi, edi
je 0x40b003
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40b003
lea ecx, [esp + 0x10]
push ebx
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x14]
push edx
push esi
call ebx
lea eax, [esp + 0x1c]
push eax
push esi
call ebx
mov edx, dword [0x41d1a0]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x14]
push ecx
push edx
call ebx
mov ecx, dword [0x41d1a0]
lea eax, [esp + 0x1c]
push eax
push ecx
call ebx
mov eax, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x24]
push edx
push 0
push 0x41d
push eax
call ebx
mov edx, dword [edi]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x453
push edx
call ebx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
sub eax, edx
mov edx, dword [esp + 0x20]
push 0
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi]
push edx
push eax
push 0
push ecx
call ebx
mov edx, dword [esp + 0xc]
push 2
push 4
push edx
push 0
push 0
push 0
push esi
call ebx
mov eax, dword [edi]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x40d1e0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x150
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.CreateToolhelp32Snapshot
push str.KERNEL32.DLL
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
test ebp, ebp
je 0x40d37b
push str.Process32First
push str.KERNEL32.DLL
call esi
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x40d37b
push str.Thread32First
push str.KERNEL32.DLL
call esi
push eax
call edi
test eax, eax
mov dword [esp + 0x14], eax
je 0x40d37b
push str.Thread32Next
push str.KERNEL32.DLL
call esi
push eax
call edi
test eax, eax
mov dword [esp + 0x18], eax
je 0x40d37b
push str.Process32Next
push str.KERNEL32.DLL
call esi
push eax
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x40d37b
push 0
push 0xf
call ebp
mov ebp, eax
test ebp, ebp
je 0x40d37b
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push eax
push ebp
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x12
je 0x40d374
mov ebx, dword [sym.imp.USER32.dll_PostThreadMessageA]
lea ecx, [esp + 0x5c]
push 0x5c
push ecx
call fcn.0040e650
add esp, 8
test eax, eax
je 0x40d2db
lea edx, [esp + 0x5c]
push 0x5c
push edx
call fcn.0040e650
inc eax
push eax
call fcn.0040f2c7
add esp, 0xc
jmp 0x40d2e8
lea eax, [esp + 0x5c]
push eax
call fcn.0040f2c7
add esp, 4
mov esi, dword [esp + 0x164]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40d313
test cl, cl
je 0x40d30f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40d313
add eax, 2
add esi, 2
test cl, cl
jne 0x40d2ef
xor eax, eax
jmp 0x40d318
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40d35f
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x1c
push eax
push ebp
call dword [esp + 0x1c]
call edi
cmp eax, 0x12
je 0x40d35f
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jne 0x40d34e
mov edx, dword [esp + 0x24]
push 0
push 0
push 0x12
push edx
call ebx
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [esp + 0x20]
call edi
cmp eax, 0x12
jne 0x40d335
lea ecx, [esp + 0x38]
push ecx
push ebp
call dword [esp + 0x18]
call edi
cmp eax, 0x12
jne 0x40d2b0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret
Function at 0x40d390
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x244
lea ecx, [esp]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push ecx
call ebp
lea edx, [esp + 0x10c]
lea eax, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d426
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test byte [esp + 0x114], 0x10
jne 0x40d40a
lea ecx, [esp + 0x140]
lea edx, [esp + 0x10]
push ecx
push 0x5c
push edx
call fcn.0040e650
add esp, 8
inc eax
push eax
call ebp
lea eax, [esp + 0x10]
push 0x80
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
call edi
lea edx, [esp + 0x114]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d3d2
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x244
ret 4
Function at 0x40e379
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e3d1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x41d29c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e3c4
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x40e3d3
xor eax, eax
pop esi
leave
ret 4

Function at 0x4133c9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41b778
cmp edx, dword [eax]
je 0x4133eb
add eax, 8
inc ecx
cmp eax, 0x41b808
jl 0x4133dc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41b778]
jne 0x413519
mov eax, dword [0x41d2e8]
cmp eax, 1
je 0x4134f3
test eax, eax
jne 0x41341c
cmp dword [0x41b1d4], 1
je 0x4134f3
cmp edx, 0xfc
je 0x413519
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x413453
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410e30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00413b80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x413496
lea eax, [ebp - 0x1a4]
push eax
call fcn.00413b80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x417a1c
push edi
call fcn.00413a40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410e30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410e40
lea eax, [ebp - 0xa0]
push 0x4179fc
push eax
call fcn.00410e40
push dword [esi + 0x41b77c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410e40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00415087
add esp, 0x2c
pop edi
jmp 0x413519
lea eax, [ebp + 8]
lea esi, [esi + 0x41b77c]
push 0
push eax
push dword [esi]
call fcn.00413b80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4016f1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [0x4e5060], eax
mov dword [esp + 0x14], 0x4e5070
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40143f
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.DLL_CreateThread
sub esp, 0x18
mov dword [0x4e5090], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [0x4e5090]
mov dword [esp], eax
call sub.KERNEL32.DLL_WaitForSingleObject
sub esp, 8
leave
ret
Function at 0x401b44
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREApple_Inc.Apple_Mobile_Device_SupportShared
mov dword [esp], 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
mov dword [ebp - 0x21c], 0x200
lea eax, [ebp - 0x21c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x218]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.iTunesMobileDeviceDLL
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
lea eax, [ebp - 0x218]
mov dword [esp], eax
call sub.KERNEL32.DLL_LoadLibraryA
sub esp, 4
mov dword [0x4e50d0], eax
cmp dword [0x4e50d0], 0
jne 0x401c11
mov dword [esp], str.ERROR:_dll_error_n
call sub.msvcrt.dll_printf
cmp dword [0x4e5080], 0
je 0x401d54
mov dword [esp + 4], str.ERROR:_dll_error_n
mov eax, dword [0x4e5080]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x401d54
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov dword [esp], str.INFO:__loaded_dll_at__s_n
call sub.msvcrt.dll_printf
cmp dword [0x4e5080], 0
je 0x401c4f
lea eax, [ebp - 0x218]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INFO:__loaded_dll_at__s_n
mov eax, dword [0x4e5080]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], str.AMDeviceConnect
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e5150], eax
mov dword [esp + 4], str.AMDeviceIsPaired
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e50c0], eax
mov dword [esp + 4], str.AMDeviceValidatePairing
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e5140], eax
mov dword [esp + 4], str.AMDevicePair
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e5110], eax
mov dword [esp + 4], str.AMDeviceStartSession
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e5160], eax
mov dword [esp + 4], str.AMDeviceEnterRecovery
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e50e0], eax
mov dword [esp + 4], str.AMRestoreRegisterForDeviceNotifications
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e5100], eax
mov dword [esp + 4], str.AMDeviceNotificationUnsubscribe
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e5120], eax
mov dword [esp + 4], str.AMDeviceNotificationSubscribe
mov eax, dword [0x4e50d0]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [0x4e50b0], eax
leave
ret
Function at 0x402e20
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00402e00
call sub.KERNEL32.DLL_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetStartupInfoA
sub esp, 4
test ebx, ebx
je 0x402eab
movzx eax, byte [ebx]
cmp al, 0x20
je 0x402f16
cmp al, 9
je 0x402f16
cmp al, 0x22
je 0x402ef0
cmp al, 0x20
mov edx, eax
je 0x402e9d
cmp al, 9
je 0x402f0a
test al, al
jne 0x402e92
nop
jmp 0x402eab
cmp dl, 9
je 0x402f0a
test dl, dl
lea esi, [esi]
je 0x402eab
add ebx, 1
movzx edx, byte [ebx]
cmp dl, 0x20
jne 0x402e82
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x402e9d
cmp al, 9
je 0x402e9d
test byte [ebp - 0x24], 1
mov esi, 0xa
je 0x402eba
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401755
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
add ebx, 1
movzx edx, byte [ebx]
cmp dl, 0x22
je 0x402eff
test dl, dl
jne 0x402ef0
cmp dl, 0x22
jne 0x402f0a
add ebx, 1
movzx edx, byte [ebx]
cmp dl, 0x20
je 0x402e9d
cmp dl, 9
jne 0x402eab
jmp 0x402e9d
add ebx, 1
lea esi, [esi]
jmp 0x402e51
Function at 0x401a7a
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, 0x22c
push edi
mov ebx, eax
call fcn.00408ce8
pop ecx
mov esi, eax
push esi
push ebx
mov dword [esi], edi
call sub.KERNEL32.dll_Process32FirstW
push esi
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x401ac8
lea edi, [esi + 0x24]
push edi
push dword [esp + 0x14]
call fcn.00409be5
test eax, eax
pop ecx
pop ecx
je 0x401ad9
push esi
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401aad
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.00401894
pop edi
mov eax, esi
pop esi
pop ebx
ret
push dword [esi + 8]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
inc esi
jmp 0x401aca

Function at 0x4023b2
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x14]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call fcn.0040112c
xor edi, edi
test eax, eax
ja 0x4023e9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push 0x30
push edi
push edi
push eax
call dword [ecx + 0x18]
push ebx
jmp 0x402497
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp dword [eax + 0xc], edi
jne 0x402439
mov dword [eax + 0xc], 3
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
mov ebx, dword [ebp + 8]
lea eax, [eax + eax*4]
push ebx
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
push edi
push ecx
push eax
push edi
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [esi + 4]
test eax, eax
mov eax, dword [esi + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
jne 0x40245b
mov dword [eax + 0xc], 1
jmp 0x402471
cmp dword [eax + 0xc], 2
jne 0x40247c
push 3
pop ecx
cmp dword [eax + 0x10], ecx
jg 0x40247c
inc dword [eax + 0x10]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 0xc], ecx
jmp 0x402401
mov dword [eax + 0xc], 2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
inc dword [eax + 0x10]
mov eax, dword [ebx]
push edi
push 0x30
push edi
push edi
push ebx
call dword [eax + 0x18]
mov ebx, dword [esi + 0x10]
mov ecx, esi
call fcn.0040112c
dec eax
cmp ebx, eax
jne 0x402490
mov dword [esi + 0x10], edi
jmp 0x402494
inc ebx
mov dword [esi + 0x10], ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40297d
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x30], eax
xor eax, eax
push eax
push eax
push esi
push 0x40255e
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
pop esi
ret 4
Function at 0x403501
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, 0x22c
push edi
mov ebx, eax
call fcn.00408ce8
pop ecx
mov esi, eax
push esi
push ebx
mov dword [esi], edi
call sub.KERNEL32.dll_Process32FirstW
xor edi, edi
jmp 0x40356b
lea eax, [esi + 0x24]
push eax
push dword [esp + 0x14]
call fcn.00409be5
test eax, eax
pop ecx
pop ecx
jne 0x40356b
push dword [esi + 8]
inc edi
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp edi, 1
jne 0x40358e
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
push eax
call fcn.004032dd
call fcn.00401a7a
pop ecx
push esi
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40352a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.00401894
pop edi
mov eax, esi
pop esi
pop ebx
ret
xor esi, esi
inc esi
jmp 0x40357f
Function at 0x40488a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.004047cf
cmp eax, esi
jne 0x404902
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4048cb
lea eax, [ebp - 0x210]
push eax
call fcn.0040488a
cmp eax, esi
jne 0x404901
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x100
call edi
test eax, eax
lea ecx, [ebp - 4]
je 0x4048bb
call fcn.004047b8
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
lea ecx, [ebp - 4]
mov esi, eax
call fcn.004047b8
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x404bdf
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x404bea
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x40504b
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [0x414e50]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov ebx, ecx
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0xca
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
lea esi, [ebx + 4]
push dword [esi]
call ebp
mov eax, dword [0x414e50]
push 0
push 0x32
mov dword [esp + 0x18], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push 0xca
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0
push 0x80
push dword [esi]
call ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x414d90
call fcn.0040591a
lea ecx, [ebx + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [eax + 4]
call fcn.00405717
push ecx
mov ecx, esp
push 0x4119ac
call fcn.00403310
push 0x190
push 0xd
call fcn.00405691
mov dword [ebx + 0x28], eax
add esp, 8
mov eax, esp
mov dword [eax], 0x4119a4
push ecx
mov eax, esp
mov dword [eax], 0xcc
call fcn.0040540f
pop ecx
pop ecx
lea ebp, [ebx + 0x24]
push eax
mov ecx, ebp
call fcn.004053ef
lea eax, [esp + 0x14]
push eax
push 0x18
push dword [ebp]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 8
call edi
push 4
mov ebp, eax
call edi
add eax, dword [esp + 0x1c]
push 7
lea ebp, [eax + ebp*2]
call edi
mov ecx, dword [esp + 0x18]
xor edi, edi
push edi
push ebp
mov ebp, dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ecx + eax*2]
push eax
push edi
push edi
push dword [esi]
call ebp
push edi
mov ecx, esi
call fcn.004052a2
push str.update.ini
push 0x414dd4
lea eax, [esp + 0x18]
push eax
call fcn.0040345d
push dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x4115c0
push str.info
push str.update
call edi
lea eax, [esp + 0x2c]
lea ecx, [ebx + 0x2c]
push eax
call fcn.00402af1
push 0x411968
push str._r_n
lea ecx, [ebx + 0x2c]
call fcn.00405768
push dword [esp + 0x10]
lea eax, [esp + 0x30]
push 0x104
push eax
push 0x411954
push 0x41194c
push str.update
call edi
lea eax, [esp + 0x2c]
add ebx, 0x30
push eax
mov ecx, ebx
call fcn.00402af1
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [esi]
call edi
push 1
push 0x23
push 0x5d
push 0xee
push 0x23
push eax
call ebp
push 0x3ee
push dword [esi]
call edi
push 1
push 0x23
push 0x5d
push 0xee
push 0xa6
push eax
call ebp
push 0xffffffffffffffff
push dword [esi]
call edi
push 1
push 0x1f
push 0x12c
push 0x40
push 0xc2
push eax
call ebp
mov ebx, dword [ebx]
push 0xffffffffffffffff
push dword [esi]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffffffffffffffff
push dword [esi]
call edi
push ecx
mov ecx, esp
push str.Arial
mov esi, eax
call fcn.00403310
push 0x258
push 0x1e
call fcn.00405691
mov eax, dword [eax]
add esp, 0xc
push 1
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x10]
call fcn.00401894
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x224
ret 0x10