joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408a10
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
sub esp, 8
push edi
push str.ConnectToNamespace_n
call fcn.00404160
add esp, 4
lea eax, [esp + 4]
push eax
push 0x42480c
xor edi, edi
push 1
push edi
push 0x4248dc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call dword [0x41d394]
cmp eax, edi
je 0x408a4e
xor eax, eax
pop edi
add esp, 8
ret
push ebp
push 0xffffffffffffffff
push str.RootWMI
call fcn.004089c0
add esp, 8
mov ebp, eax
push ebp
call dword [0x41d270]
test eax, eax
je 0x408abb
push ebx
mov ebx, dword [0x41d0c0]
push esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x408aae
cmp esi, 0x8007041f
jne 0x408aae
push 0x3e8
call ebx
add edi, 1
cmp edi, 0x1e
jl 0x408a73
push ebp
call dword [0x41d274]
test esi, esi
pop esi
pop ebx
je 0x408acf
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
xor eax, eax
pop edi
add esp, 8
ret
mov eax, dword [esp + 0xc]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [0x41d39c]
test eax, eax
je 0x408b0c
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
xor eax, eax
pop edi
add esp, 8
ret
mov eax, dword [esp + 0xc]
pop ebp
pop edi
add esp, 8
ret

Function at 0x40afb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push ebp
push edi
push str.UninstCommandClass::KillApp_n
mov ebx, ecx
call fcn.00404160
mov ebp, dword [esp + 0x14]
add esp, 4
push ebp
mov ecx, ebx
call fcn.00407d20
mov edi, eax
test edi, edi
jne 0x40afe9
push str.Specified_process_is_not_running_n
call fcn.00404160
add esp, 4
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
push edi
push 0
push 1
call dword [0x41d164]
mov esi, eax
test esi, esi
jne 0x40b011
push str.Specified_process_is_running_but_enable_to_get_desired_access_on_it_n
call fcn.00404160
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
push edi
push 0x407f70
call dword [0x41d364]
push 0x1388
push esi
call dword [0x41d09c]
test eax, eax
je 0x40b045
push str.Unable_to_close_the_process_gracefully._Now__Forcing_to_terminate_the_process_n
call fcn.00404160
add esp, 4
push 0
push esi
call dword [0x41d160]
jmp 0x40b052
push str.Closed_the_process_gracefully_n
call fcn.00404160
add esp, 4
push esi
call dword [0x41d094]
push ebp
mov ecx, ebx
call fcn.0040afb0
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x402b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp + 0xc]
push esi
mov esi, dword [ebp + 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareTrumpetPDFPrintHandler
push 0x80000001
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402b99
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403270
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x48b074]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00406b30
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0044500e
add esp, 0x1c
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419c
mov esp, ebp
pop ebp
ret

Function at 0x403c30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.Begin_PromptForPrinterPreferences__
call fcn.00403270
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.00402af0
add esp, 8
test eax, eax
jne 0x403cfa
push esi
push edi
push 5
push dword [0x48c9d4]
call dword [sym.imp.USER32.dll_ShowWindow]
push str.About_to_call_DocumentProperties
call fcn.00403270
mov ecx, dword [ebp + 8]
add esp, 4
mov esi, dword [ebp - 4]
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax*8 + 6]
push eax
push ecx
push esi
push dword [0x48ca3c]
push dword [0x48cac4]
push dword [0x48c9d4]
call sub.WINSPOOL.DRV_DocumentPropertiesA
mov edi, eax
test edi, edi
jns 0x403cbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.DocumentProperties_failed___lRslt__0x_x__last_error__0x_x
call fcn.00403270
add esp, 0xc
push 0
push dword [0x48c9d4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 1
je 0x403ce4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, 0x82
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push str.End_PromptForPrinterPreferences__
mov dword [eax], esi
call fcn.00403270
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4040e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareTrumpetPDFPrintHandler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40413a
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404114
sub eax, esi
inc eax
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4042c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x48b074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x404361
cmp byte [esi + 0x3d], 0
je 0x404361
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x404317
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x404329
sub eax, 1
je 0x40432d
sub eax, 2
je 0x404361
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40434a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00433818
add esp, 0x10
cmp edi, eax
jne 0x404317
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0042419c
mov esp, ebp
pop ebp
ret
Function at 0x4053b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fad8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x48b074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00424159
mov edi, eax
add esp, 4
test edi, edi
je 0x40544d
push 1
mov dword [ebp - 4], 0
call fcn.004079c6
add esp, 4
mov dword [edi + 4], eax
jmp 0x40544f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.004011f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x4054b1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4054b1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x4054d4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4054f7
cmp byte [ebp + 0xc], 0
je 0x4054e3
push esi
call fcn.00408cce
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x405503
mov esi, str.ios_base::badbit_set
jmp 0x405513
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00405540
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004017b0
push 0x485ffc
lea eax, [ebp - 0x30]
push eax
call fcn.00425922
int3
Function at 0x405710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x48b074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x405740
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40577c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40577c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419c
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x405861
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4057a4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4057d7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00432daf
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419c
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x405861
cmp eax, 1
jle 0x405834
cmp eax, 3
jne 0x405861
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00401050
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419c
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405851
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00433818
add esp, 0x10
cmp edi, eax
jne 0x405861
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x405767
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042419c
mov esp, ebp
pop ebp
ret 4
Function at 0x406300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x406324
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063f0
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x406345
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x406347
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x4063cf
jg 0x40635a
test esi, esi
je 0x4063cf
test ecx, ecx
jl 0x40639c
jg 0x406364
test eax, eax
je 0x40639c
cmp ebx, ecx
jg 0x406376
jl 0x40636e
cmp esi, eax
jae 0x406376
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00425e10
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x4063a2
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x4063cf
jg 0x4063ac
test esi, esi
je 0x4063cf
cmp dword [edi + 0x4c], 0
je 0x4063cf
mov ecx, edi
call fcn.004048a0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.004330c3
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4064c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4064e4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004065a0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x406505
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x406507
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x406584
jg 0x40651a
test esi, esi
je 0x406584
test ecx, ecx
jl 0x40655e
jg 0x406524
test eax, eax
je 0x40655e
cmp edi, ecx
jg 0x406536
jl 0x40652e
cmp esi, eax
jae 0x406536
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00425e10
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x406561
mov edx, dword [ebp + 8]
test edi, edi
jl 0x406584
jg 0x40656b
test esi, esi
je 0x406584
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x406584
push eax
push esi
push 1
push edx
call fcn.00433818
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458e57
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00458a5c

Function at 0x462014
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00461e08

Function at 0x464200
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004639da

Function at 0x46420b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00463c15

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x65664848
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x1aea4d92
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4017a0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x439f88]
push esi
push edi
xor edi, edi
test eax, eax
jne 0x4017c2
push 0x439f88
mov dword [0x439f88], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x439f98], 2
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4017e3
cmp dword [0x439f8c], 4
jne 0x4017e3
mov eax, dword [0x439f90]
test eax, eax
je 0x4017fa
mov eax, dword [0x439f28]
test eax, eax
jne 0x401803
push str.kernel32.dll
call esi
mov dword [0x439f28], eax
jmp 0x4017ff
mov eax, dword [0x439f28]
test eax, eax
je 0x40186d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call esi
mov dword [0x439f48], eax
mov eax, dword [0x439f28]
push str.Process32First
push eax
call esi
mov ecx, dword [0x439f28]
push 0x4354bc
push ecx
mov dword [0x439f4c], eax
call esi
mov edx, dword [0x439f28]
push 0x4354ac
push edx
mov dword [0x439f50], eax
call esi
mov dword [0x439f54], eax
mov eax, dword [0x439f28]
push 0x43549c
push eax
call esi
mov dword [0x439f58], eax
mov eax, 1
pop edi
mov dword [0x439f44], eax
pop esi
ret
push 0x435490
call esi
test eax, eax
mov dword [0x439f28], eax
je 0x4018d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x435480
push eax
call esi
mov ecx, dword [0x439f28]
push 0x43546c
push ecx
mov dword [0x439f74], eax
call esi
mov edx, dword [0x439f28]
push 0x435458
push edx
mov dword [0x439f78], eax
call esi
mov dword [0x439f7c], eax
mov eax, dword [0x439f28]
push 0x435444
push eax
call esi
mov dword [0x439f80], eax
mov eax, 1
pop edi
mov dword [0x439f70], eax
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x401da0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, eax
test edi, edi
je 0x401ea8
mov ebx, edi
call fcn.00401690
cmp eax, 1
jne 0x401ea8
mov eax, dword [0x439f24]
xor ebx, ebx
test eax, eax
jne 0x401e4b
push str._atboottime
push edi
call fcn.00425510
mov esi, eax
add esp, 8
test esi, esi
je 0x401e42
mov byte [esi], bl
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401dfc
lea esp, [esp]
cmp al, 0x2d
je 0x401dfc
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401df0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e01
sub eax, edx
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e11
sub eax, ebx
lea eax, [eax + edx + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.004254d0
mov ebx, esp
test ebx, ebx
je 0x401e5c
push esi
push edi
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x401e5c
mov eax, dword [0x439f24]
test eax, eax
je 0x401e5c
push edi
push 0x435640
push 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
mov ecx, 0x10
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x54]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push ebx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401ea8
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esp, [ebp - 0x60]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402440
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x28
mov dword [esp], 0
call fcn.00401070
push str.__QTTaskMutex__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402579
push ebp
push str._QTActiveXRegistryWatcherThreadEnded_
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebp, eax
mov dword [esp + 8], ebp
call fcn.004010e0
call fcn.004033f0
cmp eax, 1
jne 0x40249f
call fcn.004023b0
push esi
lea esi, [esp + 8]
call fcn.00401980
mov al, byte [esp + 8]
test al, 2
jne 0x40256c
test al, 1
je 0x4024c6
mov eax, dword [0x439f24]
test eax, eax
je 0x40256c
push 0x490
call fcn.004256aa
add esp, 4
test eax, eax
je 0x40256c
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00404f90
mov esi, eax
test esi, esi
je 0x40256c
push ebx
push edi
lea edx, [esp + 0x3c]
push edx
push 0
push esi
push 0x402170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov ebx, eax
push 0
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x4c], ebx
call edi
test eax, eax
je 0x402557
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
lea ecx, [esp + 0x1c]
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
call ebp
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call edi
test eax, eax
jne 0x402530
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test ebx, ebx
je 0x40256a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
test ebp, ebp
pop esi
je 0x402578
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov eax, dword [esp + 8]
test eax, eax
je 0x402588
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x28
ret 0x10

Function at 0x402590
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push edx
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40262d
mov eax, dword [esp + 4]
test eax, eax
je 0x40263c
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40262d
cmp byte [esi], 0
je 0x40262d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4025f2
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40262d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402607
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x40262d
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402618
mov ax, word [0x4356d4]
push edi
mov edi, esi
mov word [edi], ax
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x40263c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret