joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d8e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486760
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b3630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebx], vtable.CMainWnd.0
mov dword [ebx + 0x24], vtable.CMainWnd.1.0
mov dword [ebx + 0x28], vtable.CMainWnd.2.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00410c80
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov esi, dword [ebp - 0x1c]
jne 0x41d976
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 4
push 0
push str.SeparateProcess
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [0x4b6f6c], 0
je 0x41d9b0
push 0x4b3174
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4b6f6c]
test ecx, ecx
je 0x41d9a5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [0x4b6f6c], 0
push 0x4b3174
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x41d9bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebx + 0xa8]
test esi, esi
je 0x41d9d7
mov ecx, esi
call fcn.0041b3f0
push 0x30
push esi
call fcn.00441e7b
add esp, 8
mov esi, dword [ebx + 0xa0]
lea edi, [ebx + 0xa0]
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00423360
mov eax, dword [edi]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
push dword [edi]
call fcn.00441e7b
add esp, 8
lea ecx, [ebx + 0x94]
call fcn.0040ba90
lea ecx, [ebx + 0x80]
call fcn.0040ba90
lea ecx, [ebx + 0x2c]
call fcn.00423b90
mov dword [ebx + 0x24], vtable.IChannelListener.0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41da47
push eax
call fcn.00429beb
test byte [ebp + 8], 1
je 0x41da5b
push 0xac
push ebx
call fcn.00441e7b
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420a10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486c83
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x303
jne 0x420b08
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x4c], xmm0
call fcn.00419480
push 0
call fcn.0045c420
add esp, 8
sub eax, dword [ebp - 0x4c]
sbb edx, dword [ebp - 0x48]
push 0
push 0x15180
push edx
push eax
call fcn.00442530
lea ecx, [ebx + 0x80]
mov edi, eax
mov esi, edx
call fcn.0041aa70
cdq
cmp esi, edx
jl 0x420bfe
jg 0x420a9f
cmp edi, eax
jb 0x420bfe
push 0x303
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x48e20c
lea ecx, [ebp - 0x44]
call fcn.00416720
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
call fcn.004105a0
mov ecx, eax
call fcn.0040e4e0
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420af3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.0041dd00
push 2
mov ecx, ebx
call fcn.0041e160
jmp 0x420bfe
cmp eax, 0x304
jne 0x420bf2
call fcn.00431ab0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x420bd4
push 0x45
push str.d:jenkins.jenkinsworkspacehalodeskcoral_traymainwndmainwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c200
push 3
push 0x48de6c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c200
mov byte [ebp - 4], 2
call fcn.00431ab0
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x208
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407a20
mov esi, eax
push str.ID_TIMER_AUTOSTART_CHECK
push esi
mov byte [ebp - 4], 3
call fcn.00408ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.00408d70
lea ecx, [ebp - 0x28]
call fcn.004084d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004084d0
push 0x304
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, ebx
call fcn.004225d0
jmp 0x420bfe
cmp eax, 0x305
jne 0x420bfe
call fcn.00420c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442126
mov esp, ebp
pop ebp
ret 4
Function at 0x421020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421091
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x42105f
cmp eax, 2
jne 0x42107b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x42108b
test ecx, ecx
je 0x421086
test cl, 1
jne 0x42107b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42108b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4210a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486d00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b3630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x421210
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x42110d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCLSID_sDefaultIcon
push eax
call fcn.00406190
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
add esp, 0xc
push 0x20019
push esi
push SysReAllocString
call fcn.00410c80
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x4211d3
mov ebx, dword [ebp + 0x10]
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x42114d
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4211d3
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x421179
cmp eax, 2
jne 0x4211d3
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 0x18], eax
je 0x4211d3
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
ja 0x4211a2
mov dword [edi + 0x10], eax
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x42119a
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4211ae
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.0040c050
cmp dword [edi + 0x14], 8
jb 0x4211b6
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x4211be
mov ebx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
lea ecx, [ebp - 0x24]
call fcn.00421020
mov edi, dword [ebp - 0x24]
mov bl, 1
jmp 0x4211d5
xor bl, bl
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4211f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4211fc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405f60
int3
Function at 0x4230e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b3630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x42320b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x42314d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCLSID_sDefaultIcon
push eax
call fcn.00406190
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
add esp, 0xc
push 0x2001f
push esi
push SysReAllocString
call fcn.00410c80
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
mov edi, dword [ebp - 0x1c]
jne 0x4231d2
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x14], 8
jb 0x42318f
mov edx, dword [edx]
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 8
jb 0x42319a
mov ebx, dword [ebx]
test edx, edx
je 0x4231cb
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4231a6
sub ecx, dword [ebp - 0x10]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4231ee
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4231f9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405f60
int3
Function at 0x423680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4b3630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4236b8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.0044215f
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x423708
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__V___Binder_U_Unforced_std__P8CPluginMgr__AEXXZPAV3__2___V_std__X__V_std__.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], eax
jmp 0x42370a
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x42371b
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x42373d
push 1
lea ecx, [edi + 0x20]
call fcn.004248e0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x42377a
push 0x28
call fcn.0044215f
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_7bf46d6d2cfed262ad4f012bdb85772d___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x4237b9
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x4245d0
push 0
push 0
call fcn.004517bc
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x4237bd
mov byte [ebp + 0xb], 0
test esi, esi
je 0x4237e2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4237e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4237e2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48723e
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x81c], ebx
lea edi, [ebx + 8]
lea esi, [edi + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ecx, esi
mov dword [edi], vtable.CMessageCallbackSink_class_CThreadHelper_.0
mov dword [ebp - 0x814], edi
mov dword [ebp - 0x814], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00423220
mov dword [esi], eax
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push 0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 0
call esi
test eax, eax
jne 0x4253a3
push 0x30
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.0044a6c0
add esp, 0xc
mov dword [ebp - 0x84c], 0x30
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x838], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x810]
push str.HaloMsgDelegateWnd_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x844], 0x4257a0
lea eax, [ebp - 0x810]
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x838]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x824]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [edi + 0x10], eax
call esi
test eax, eax
je 0x4253a3
push edi
push 0xffffffffffffffeb
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x818], 0xc03
call fcn.004254a0
mov dword [eax], 0x4255a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442126
mov esp, ebp
pop ebp
ret

Function at 0x4255b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x4255e5
cmp dword [esi], 0
jne 0x4255e5
push 0
push 0
push esi
push 0x425730
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov eax, 1
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x425940
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x425a28
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x425a28
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], 0
je 0x425a28
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425a28
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
push dword [edi + 4]
call fcn.00425a50
test eax, eax
je 0x425a28
push esi
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00425d10
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00425d10
mov ecx, dword [ebp - 0x218]
mov edx, ecx
mov esi, dword [ebp - 0x210]
sub esi, dword [ebp - 0x214]
sub edx, dword [ebp - 0x21c]
cmp ecx, dword [ebp - 0x21c]
cmove edx, esi
xor eax, eax
test edx, edx
pop esi
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442126
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.00442126
mov esp, ebp
pop ebp
ret

Function at 0x425a50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004423a0
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x425b49
test edi, edi
je 0x425b49
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x104
jl 0x425b49
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x425b49
cmp eax, 0x3fff
ja 0x425b49
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x425b49
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x48d69c
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x425b49
push ebx
push 0
push edi
call fcn.0044a6c0
mov ecx, dword [ebp - 0x4008]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebx - 1]
push eax
push edi
call fcn.00425c90
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442126
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442126
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4284a0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4876ab
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.config.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428679
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x428694
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x428579
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.004068f0
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 8], 0x104
jl 0x42869e
xor eax, eax
mov dword [esi - 0xc], 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
push 0x48e6d0
push 0x490b14
push 0x48ff10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.0044dd88
add esp, 8
test eax, eax
js 0x42869e
cmp eax, dword [esi - 8]
jg 0x42869e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, str.bigupdate
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42860b
test dx, dx
je 0x428607
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42860b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4285e5
xor eax, eax
jmp 0x428610
sbb eax, eax
or eax, 1
test eax, eax
je 0x428653
mov ecx, str.generalupdate
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428646
test dx, dx
je 0x428642
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428646
add eax, 4
add ecx, 4
test dx, dx
jne 0x428620
xor eax, eax
jmp 0x42864b
sbb eax, eax
or eax, 1
test eax, eax
je 0x428653
xor edi, edi
jmp 0x428658
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x428677
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442126
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405f60
push 0x80070057
call fcn.00405f60
int3
Function at 0x428ea0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x428f16
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x428f0f
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0045a988
add esp, 8
test eax, eax
je 0x428f0d
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x428ee6
jmp 0x428f0f
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442126
mov esp, ebp
pop ebp
ret

Function at 0x429130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004423a0
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1058], 0x44
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1058]
push edi
mov edi, dword [ebp + 0xc]
push eax
movlpd qword [ebp - 0x1054], xmm0
movlpd qword [ebp - 0x104c], xmm0
movlpd qword [ebp - 0x1044], xmm0
movlpd qword [ebp - 0x103c], xmm0
movlpd qword [ebp - 0x1034], xmm0
movlpd qword [ebp - 0x102c], xmm0
movlpd qword [ebp - 0x1024], xmm0
movlpd qword [ebp - 0x101c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x102c], 1
mov word [ebp - 0x1028], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x1014], xmm0
test edi, edi
je 0x429215
push 0x1000
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0044a6c0
push edi
push esi
lea eax, [ebp - 0x1004]
push str.__s___s
push eax
call fcn.00428c30
add esp, 0x1c
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1058]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
jmp 0x429230
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1058]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x429254
push dword [ebp - 0x1010]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1014]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00442126
mov esp, ebp
pop ebp
ret
Function at 0x429270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
lea eax, [ebp - 0x54]
mov ecx, 0x44
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x429280
mov ecx, 0x10
lea eax, [ebp - 0x10]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x429293
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x44
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00429310
add esp, 0x14
test eax, eax
je 0x4292de
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
pop esi
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret