joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411610
Capabilities:
Create directory

Disassembly:
sub esp, 0x41c
mov eax, dword [0x42f114]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x424]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x420]
lea edx, [esp + 8]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x411640
push ebx
push ebp
push esi
push edi
push 2
mov byte [esp + 0x17], cl
lea ecx, [esp + 0x1c]
push 0x429264
push ecx
xor bl, bl
call fcn.00418392
add esp, 0xc
test eax, eax
jne 0x411673
mov bl, 1
lea edx, [esp + 0x18]
push 0x5c
push edx
call fcn.004168ae
mov esi, eax
add esp, 8
test esi, esi
je 0x411756
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4116a0
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x18]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4116b0
sub eax, edx
sar eax, 1
cmp eax, 2
jbe case.0x4116ec.161
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call ebp
test eax, eax
jne case.0x4116ec.161
call edi
lea ecx, [eax - 5]
cmp ecx, 0xb2
ja case.0x4116ec.6
movzx ecx, byte [ecx + 0x411798]
jmp dword [ecx*4 + 0x411788]
lea edx, [esp + 0x18]
push 0x5c
push edx
call fcn.004168ae
add esp, 8
test eax, eax
jne 0x411784
jmp case.0x4116ec.161
test bl, bl
je 0x411784
mov eax, 0x5c
mov word [esi], ax
add esi, 2
cmp word [esi], 0
je 0x411722
mov byte [esp + 0x13], 1
push 0x5c
push esi
call fcn.004168ae
mov esi, eax
add esp, 8
test esi, esi
jne 0x4116a0
cmp byte [esp + 0x13], al
je 0x411756
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call ebp
test eax, eax
jne 0x411756
call edi
cmp eax, 0xb7
jne 0x411784
mov eax, 1
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004153dc
add esp, 0x41c
ret 8
push eax
push str.KXAPI::CreateDirectory___failed__ld_n
call fcn.0040d550
add esp, 8
xor eax, eax
jmp 0x41175b

Function at 0x411a80
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push str.KXAPI::DeleteFile_____s__n
mov ebx, ecx
call fcn.0040d640
add esp, 8
push 0x80
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x411b2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x411ad3
push str.KXAPI::DeleteFile___ERROR_FILE_NOT_FOUND_n
call fcn.0040d550
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
cmp eax, 3
jne 0x411aed
push str.KXAPI::DeleteFile___Can_not_find_the_file_path._n
call fcn.0040d550
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
cmp byte [ebx + 5], 0
je 0x411b0d
push str.WIN9X___file_is_in_use__set_the_flag_to_delete_it_when_system_reboot_n
call fcn.0040d550
add esp, 4
mov edi, 2
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
push str.WINNT___file_is_in_use__set_the_flag_to_delete_it_when_system_reboot_n
call fcn.0040d550
add esp, 4
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, 2
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x412930
Capabilities:
Start service

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
test edi, edi
je 0x412a55
cmp word [edi], 0
je 0x412a55
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 8]
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
je 0x412a4d
push esi
push edi
push str.RegConnectRegistry_failed_____s___ld__n
call fcn.0040d640
xor eax, eax
add esp, 0xc
mov dword [esp + 8], eax
cmp esi, 0x35
jne 0x412a51
push ebx
push str.__Try_to_start_Remote_Registry_service_n
call fcn.0040d640
add esp, 4
push 0xf003f
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x412a09
push ebp
push 0xf01ff
push str.RemoteRegistry
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4129ef
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x4129e6
push str.StartService___Control_service_success_n
call fcn.0040d550
add esp, 4
push esi
call ebp
push ebx
call ebp
pop ebp
jmp 0x412a1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService___OpenService_error___d_n
call fcn.0040d550
add esp, 8
push ebx
call ebp
pop ebp
jmp 0x412a1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService___OpenSCManager_error___d_n
call fcn.0040d550
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
pop ebx
test eax, eax
je 0x412a4d
push eax
push edi
push str.RegConnectRegistry_failed_____s___ld__n
call fcn.0040d640
add esp, 0xc
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret
mov eax, dword [esp + 0x10]
pop edi
pop ecx
ret
Function at 0x412a60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x10
push esi
push eax
push ecx
call fcn.00412930
mov esi, eax
add esp, 8
test esi, esi
jne 0x412a85
mov eax, dword [esp + 0x28]
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
call fcn.004128f0
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x412aa6
test eax, 0x200
jne 0x412aa6
or eax, 0x100
push edi
mov edi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push eax
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412b10
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x412afb
push esi
push eax
push str.GetRegValueLong___Get_value_error____ld_for__s_n
call fcn.0040d640
add esp, 0xc
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x10
ret
push edi
push eax
push str.GetRegValueLong___Open_registry_error____ld_for__s_n
call fcn.0040d640
mov eax, dword [esp + 0x18]
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret

Function at 0x412b30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x42f114]
xor eax, esp
mov dword [esp + 0x41c], eax
mov ecx, dword [esp + 0x428]
mov eax, dword [esp + 0x424]
push ebx
mov ebx, dword [esp + 0x434]
push ebp
mov ebp, dword [esp + 0x43c]
push esi
push edi
mov edi, dword [esp + 0x43c]
push ecx
push eax
call fcn.00412930
mov esi, eax
add esp, 8
test esi, esi
je 0x412c3e
mov dword [esp + 0x10], 1
call fcn.004128f0
test eax, eax
mov eax, dword [esp + 0x448]
je 0x412ba3
test eax, 0x200
jne 0x412ba3
or eax, 0x100
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
cmp eax, esi
jne 0x412c27
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push ebx
push edx
mov dword [esp + 0x28], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x412c07
push ebx
push eax
xor ecx, ecx
push str.GetRegValueString___Get_value_error____ld_for__s_n
mov word [ebp], cx
mov dword [esp + 0x1c], esi
call fcn.0040d640
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412c3a
lea edx, [esp + 0x1c]
push edx
push 0x104
push ebp
call fcn.004177b8
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412c3a
push edi
push eax
push str.GetRegValueString___Open_registry_error____ld_for__s_n
mov dword [esp + 0x1c], esi
call fcn.0040d640
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004153dc
add esp, 0x420
ret
Function at 0x412ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
push eax
push ecx
push edx
push edi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
je 0x412d56
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp dword [esp + 0x20], ebp
je 0x412d4f
cmp dword [esp + 0x24], ebx
jb 0x412d4f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x412d4d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x412d46
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.00415b70
add esp, 0xc
mov ebp, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebp
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0x18
Function at 0x414240
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x108
mov eax, dword [0x42f114]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, ecx
mov byte [esp + 0xc], 0
test bl, 1
je 0x414280
push 0xa
lea eax, [esp + 0x10]
push eax
push 9
push 0x800
call edi
test ebx, ebx
jne 0x414294
push 0xa
lea ecx, [esp + 0x10]
push ecx
push 9
push 0x400
call edi
test ebx, 0x100
je 0x4142bc
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00413fc0
test eax, eax
jne 0x4142bc
push 0xa
lea eax, [esp + 0x10]
push eax
push 9
push 0x400
call edi
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00412dd0
cmp eax, 0xc04
mov dword [esi + 8], eax
jg 0x4142fd
je 0x4142f4
cmp eax, 0x404
je 0x4142eb
cmp eax, 0x804
jne 0x41431b
mov dword [esi + 8], 0x8c0
jmp 0x41431b
mov dword [esi + 8], 0x4c1
jmp 0x41431b
mov dword [esi + 8], 0xcc1
jmp 0x41431b
cmp eax, 0x1004
je 0x414314
cmp eax, 0x1404
jne 0x41431b
mov dword [esi + 8], 0x14c1
jmp 0x41431b
mov dword [esi + 8], 0x10c0
test bl, 0x10
je 0x414327
and dword [esi + 8], 0xff
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004153dc
add esp, 0x108
ret 4

Function at 0x4153dc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f114]
jne 0x4153e6
repz ret
jmp fcn.00419c0c
Function at 0x42263d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004195ff
and dword [ebp - 4], 0
cmp dword [0x432054], 0
mov ebx, eax
jne 0x4226ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42279f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42cadc
push edi
call esi
test eax, eax
je 0x42279f
push eax
call fcn.0041958d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x432054], eax
call esi
push eax
call fcn.0041958d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x432058], eax
call esi
push eax
call fcn.0041958d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43205c], eax
call esi
push eax
call fcn.0041958d
pop ecx
mov dword [0x432064], eax
test eax, eax
je 0x4226ee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041958d
pop ecx
mov dword [0x432060], eax
mov eax, dword [0x432060]
cmp eax, ebx
je 0x422746
cmp dword [0x432064], ebx
je 0x422746
push eax
call fcn.00419608
push dword [0x432064]
mov esi, eax
call fcn.00419608
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422746
test edi, edi
je 0x422746
call esi
test eax, eax
je 0x42273d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42273d
test byte [ebp - 0xc], 1
jne 0x422746
or dword [ebp + 0x10], 0x200000
jmp 0x42277f
mov eax, dword [0x432058]
cmp eax, ebx
je 0x42277f
push eax
call fcn.00419608
pop ecx
test eax, eax
je 0x42277f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42277f
mov eax, dword [0x43205c]
cmp eax, ebx
je 0x42277f
push eax
call fcn.00419608
pop ecx
test eax, eax
je 0x42277f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432054]
call fcn.00419608
pop ecx
test eax, eax
je 0x42279f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4227a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401109
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40111d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40113e
cmp esi, eax
jae 0x401117
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401130
cmp esi, eax
jae 0x401117
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d4ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 8], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x405920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.0044ee20
push str.updater.revision.txt
lea eax, [ebp - 0x18]
push 0x47cadc
mov bl, 2
push eax
mov byte [ebp - 4], bl
call fcn.00401f80
add esp, 0xc
mov eax, dword [eax]
mov esi, dword [0x47c99c]
push 0
push 0x3002
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0044ee36
cmp eax, 1
sete al
test al, al
je 0x405a53
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.0044f254
test eax, eax
jne 0x4059f3
push 1
push 0x461c14
lea ecx, [ebp - 0x14]
call fcn.004018d0
push 0x461c14
lea ecx, [ebp - 0x30]
call fcn.0044efed
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0044f1b9
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043c9e5
add esp, 4
lea ecx, [ebp - 0x30]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.0044f1f5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405a40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0xe
jmp 0x405a81
push str..Revision.cpp
call fcn.00402b50
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x405aa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], esp
call fcn.0044ee20
push str.updater.revision.txt
lea eax, [ebp - 0x14]
xor edi, edi
push 0x47cadc
mov dword [ebp - 4], edi
mov ebx, 1
push eax
mov byte [ebp - 4], bl
call fcn.00401f80
add esp, 0xc
mov eax, dword [eax]
mov esi, dword [0x47c99c]
push edi
push 0x1001
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0044ee36
cmp eax, ebx
sete al
test al, al
je 0x405bb3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.0044ed62
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push 0x461be4
push ecx
mov byte [ebp - 4], 3
call fcn.00401c60
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
lea ecx, [ebp - 0x2c]
call fcn.0044efed
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405b88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.0044f1b9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044f1f5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x21
push str..Revision.cpp
call fcn.00402b50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x406b00
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x45d738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [0x47c9a0]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
neg eax
sbb al, al
inc al
mov byte [esp + 8], al
je 0x406d12
mov al, 0x54
mov cl, 0x53
mov byte [esp + 0x39], al
mov byte [esp + 0x29], al
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x3c], cl
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x20]
push ecx
mov dl, 0x45
push 1
mov esi, 0x11cf
mov byte [esp + 0x43], dl
mov byte [esp + 0x33], dl
push ebx
lea edx, [esp + 0x3c]
mov word [esp + 0x42], si
mov word [esp + 0x32], si
mov esi, dword [0x47c9a0]
push edx
mov dword [esp + 0x40], 0xd27cdb6e
mov word [esp + 0x44], 0xae6d
mov byte [esp + 0x48], 0x96
mov byte [esp + 0x49], 0xb8
mov byte [esp + 0x4a], 0x44
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov dword [esp + 0x30], 0xd27cdb6c
mov word [esp + 0x34], 0xae6d
mov byte [esp + 0x38], 0x96
mov byte [esp + 0x39], 0xb8
mov byte [esp + 0x3a], 0x44
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
neg eax
sbb al, al
inc al
mov byte [esp + 8], al
je 0x406cfb
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x406c4e
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.0045c34a
push ebx
lea eax, [esp + 0x14]
push eax
push 3
push 1
lea ecx, [esp + 0x24]
push 0x84
push ecx
mov dword [esp + 0x5c], ebx
call fcn.0045c8f0
add esp, 0x18
lea ecx, [esp + 0x14]
call fcn.0045c35c
cmp dword [esp + 0x10], 0x70000
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
jle 0x406c49
call fcn.0045c35c
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
call fcn.0045c35c
push str.flash.ocx
lea edx, [esp + 0x14]
push 0x47cadc
push edx
call fcn.00401f80
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, ebx
je 0x406cde
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x406cc2
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x3c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
mov eax, dword [0x47c9a0]
push eax
push 0x4d
push str..Updater.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [0x47c9b8]
push ecx
push 0x49
push str..Updater.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0x3e
push str..Updater.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0x38
push str..Updater.cpp
call fcn.00402b50
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x406f30
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d771
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x28], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebp, ebp
push ebp
push 2
stosb byte es:[edi], al
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40714c
xor edi, edi
xor esi, esi
mov dword [esp + 0x130], 0x128
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x130]
push eax
push ebx
mov dword [esp + 0x26c], ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x406fc0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407143
xor eax, eax
mov cl, byte [esp + eax + 0x154]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x406fc2
lea ecx, [esp + 0x28]
push ecx
call fcn.0043cf59
add esp, 4
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.004026d0
cmp edi, ebp
mov byte [esp + 0x264], 1
je 0x407030
mov ecx, dword [esp + 0x24]
mov eax, esi
sub eax, edi
sub ecx, edi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x407030
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 1
push esi
call fcn.00406280
add esp, 0x14
add esi, 4
mov dword [esp + 0x20], esi
jmp 0x407049
lea eax, [esp + 0x14]
push eax
push 1
push esi
lea ecx, [esp + 0x24]
call fcn.00406510
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x264], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40706f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x130]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x406fc0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4616a8
lea ecx, [esp + 0x14]
call fcn.004026d0
mov byte [esp + 0x264], 2
mov ebx, edi
test edi, edi
je 0x40711d
mov eax, esi
sub eax, edi
sar eax, 2
cmp ebp, eax
jae 0x40710b
push ebx
lea ecx, [esp + 0x14]
call fcn.00401cf0
mov ecx, dword [0x47c98c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.0043d00e
add esp, 8
test eax, eax
jne 0x4070eb
push eax
mov eax, dword [0x47c990]
push 0x50030
push eax
call fcn.004572e9
cmp eax, 1
je 0x4070f1
inc ebp
add ebx, 4
jmp 0x4070a4
sub esi, edi
sar esi, 2
test esi, esi
je 0x407103
lea ecx, [esp + 0x18]
call fcn.00406d30
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
sub esi, edi
sar esi, 2
test esi, esi
je 0x40711d
lea ecx, [esp + 0x18]
call fcn.00406d30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x264], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407143
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
call fcn.00406d30
mov ecx, dword [esp + 0x25c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret