joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040bbb3
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040bbb3
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040bbb3
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040bbb3
mov dword [0x41203c], eax
call fcn.0040bbb3
test eax, eax
jge 0x402550
push 8
call fcn.0040bbb3
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040bbb3
pop ecx
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040bbb3
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040bbb3
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040bbb3
jmp 0x402495
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x11
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xae
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x3a
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x48
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x6d
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x47
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xbd
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x1e
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x45
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xba
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xd5
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x9f
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x4f
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x6f
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xcf
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x55
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x2b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x49
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x36
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x75
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x69
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x48
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x15
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x55
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9d
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xca
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x50
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9f
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe5
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac

Function at 0x408950
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
and esi, edi
or edi, esi
call fcn.0040897d
push 0xb7adf373
mov esi, dword [esp]
add esp, 4
add edi, 0x5a7810f0
xor dword [ecx], eax
inc ecx
cmp ecx, ebx
jne fcn.00408950
sub edi, 0x14f9ac31
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push 0x403056
push 0x403012
push 0
push 0
push 0
push 1
push 0
push 0
push str.GameProtector.exe
push 0
call sub.kernel32.dll_CreateProcessA
push dword [0x403056]
call 0x401034
push 0
call sub.kernel32.dll_ExitProcess
jmp dword [sym.imp.kernel32.dll_CloseHandle]

Function at 0x438c89
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
mov edi, edi
call fcn.00438cbe
mov edx, edi
add edi, 0xa9f2184d
xor dword [ebx], esi
sub edi, edx
inc edi
inc ebx
add edx, 0xe2b04375
dec edi
cmp ebx, ecx
jne fcn.00438c89
sub edi, 0xd5ecb1ad
ret

Function at 0x4ca25e
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4c9fca
dec ecx
sub ecx, ecx
sub ecx, 0xd0b92ab9
call fcn.004ca299
mov ecx, esi
sub esi, ecx
xor dword [edi], edx
and ecx, esi
dec ecx
add esi, 0x39eb7328
add edi, 1
sub ecx, 1
cmp edi, eax
jne fcn.004ca25e
and esi, ecx
ret
Function at 0x407810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4699d0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x492014]
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 edi, ecx
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
test esi, esi
je 0x40797a
cmp byte [esi + 0x54], 0
je 0x40797a
add esi, 0x1c
xorps xmm0, xmm0
xor bl, bl
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x14], bl
test esi, esi
je 0x407896
mov eax, dword [esi]
test eax, eax
je 0x407893
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40788d
cmp eax, 0x80
je 0x40788d
xor bl, bl
jmp 0x407893
mov byte [esi + 4], 1
mov bl, 1
mov byte [ebp - 0x14], bl
mov dword [ebp - 4], 0
mov ecx, dword [edi + 4]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
call fcn.004038f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x407953
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x30]
push 0
call fcn.00419860
add esp, 4
mov byte [ebp - 4], 1
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x34]
push 0
push ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x407941
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407937
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407998
push edx
push ecx
call fcn.00434612
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x407973
test bl, bl
je 0x407973
mov eax, dword [esi]
test eax, eax
je 0x40796f
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x18], 0
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.004345d1
mov esp, ebp
pop ebp
ret 4
call fcn.0044dee9
int3
Function at 0x413910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x492014]
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 esi, dword [ebp + 8]
mov ecx, esi
call fcn.00403b30
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x413953
xor al, al
jmp 0x413adf
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004037e0
call fcn.00403870
mov dword [ebp - 4], 0
mov edx, esi
lea ecx, [ebp - 0x4c]
call fcn.00415700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00403a20
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.00415e50
mov edx, 0x47f134
lea ecx, [ebp - 0x34]
call fcn.00414100
mov edx, 0x47f134
lea ecx, [ebp - 0x34]
call fcn.00414180
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x34]
call fcn.00416b40
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00403800
mov byte [ebp - 0x4d], al
call fcn.00403b30
mov dword [ebp - 0x54], eax
mov esi, dword [eax]
call fcn.00403b20
mov dword [ebp - 0x58], eax
xor edi, edi
mov ecx, dword [eax]
mov ebx, ecx
sub ebx, esi
xor eax, eax
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x413a10
nop
mov ecx, dword [esi]
call fcn.004319d0
mov ecx, dword [esi]
call fcn.004319d0
inc edi
lea esi, [esi + 4]
cmp edi, ebx
jne 0x4139f0
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov esi, dword [esi]
mov ecx, dword [ecx]
mov ebx, ecx
xor eax, eax
sub ebx, esi
mov dword [ebp - 0x54], eax
add ebx, 3
xor edx, edx
shr ebx, 2
cmp esi, ecx
cmova ebx, edx
test ebx, ebx
je 0x413ab5
nop
mov edi, dword [esi]
test edi, edi
je 0x413a93
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, edi
je 0x413a90
push edi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x413a90
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, edi
jne 0x413a64
mov byte [ebp - 0x4e], 0
jmp 0x413a83
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne byte [ebp - 0x4e]
test eax, eax
je 0x413a83
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x4e], 0
jne 0x413a9f
mov eax, dword [ebp - 0x54]
cmp byte [ebp - 0x4d], 0
jne 0x413a9f
mov byte [ebp - 0x4d], 0
jmp 0x413aa6
mov eax, dword [ebp - 0x54]
mov byte [ebp - 0x4d], 1
inc eax
add esi, 4
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x413a30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00403930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00403930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403810
mov al, byte [ebp - 0x4d]
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.004345d1
mov esp, ebp
pop ebp
ret 4
Function at 0x413da0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c378
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x492014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402a00
call fcn.00408850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00403fa0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x88]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004038f0
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x413e20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x413ec5
mov eax, dword [0x49295c]
test eax, eax
je 0x413ec3
mov al, byte [eax + 0x64]
push ecx
mov ecx, 0x492958
mov byte [ebp - 0x49], al
call fcn.004066c0
mov eax, dword [0x49295c]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x413e57
cmp dword [eax + 0x58], 4
jb 0x413e57
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
cmp byte [ebp - 0x49], 0
je 0x413ec3
test ebx, ebx
je 0x413ec3
lea ecx, [ebp - 0x30]
call fcn.00403a20
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push 0x4802e8
push eax
call fcn.00414390
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, 0x492958
push 0xf6
push str.RC::RCBusinessProcessMgr::IsMainUIProcessRunning
push str.d:jenkinsworkspacepc_qncleaner_buildqncleanerprojectslibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
push eax
push 4
call fcn.00407500
cmp ebx, 1
jbe 0x413eb7
lea eax, [ebp - 0x30]
mov ecx, 0x492958
push eax
call fcn.00407810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00403930
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00403930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403890
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004345d1
mov esp, ebp
pop ebp
ret
Function at 0x414a50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c438
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x492014]
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 esi, ecx
call fcn.00403b30
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x414a90
xor al, al
jmp 0x414bb4
push esi
lea ecx, [ebp - 0x28]
call fcn.00403a40
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x28]
call fcn.00417e60
lea ecx, [ebp - 0x28]
call fcn.004038f0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x414ba1
lea ecx, [ebp - 0x40]
call fcn.00403a20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041e6b0
test al, al
je 0x414af1
lea ecx, [ebp - 0x40]
call fcn.004038f0
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403930
cmp esi, 0xffffffff
jne 0x414ba1
lea ecx, [ebp - 0x28]
call fcn.00403b30
mov esi, dword [eax + 0x10]
cmp esi, 2
jbe 0x414b9d
lea ecx, [ebp - 0x28]
call fcn.00403b30
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x414b2e
mov ecx, dword [eax]
cmp word [ecx + esi*2 - 2], 0x5c
je 0x414b45
cmp edx, 8
jb 0x414b3d
mov eax, dword [eax]
cmp word [eax + esi*2 - 2], 0x2f
jne 0x414b9d
mov edx, 0x20
lea ecx, [ebp - 0x28]
call fcn.00417e60
lea ecx, [ebp - 0x28]
call fcn.004038f0
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x414ba1
lea ecx, [ebp - 0x40]
call fcn.00403a20
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041e6b0
test al, al
je 0x414b8c
lea ecx, [ebp - 0x40]
call fcn.004038f0
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403930
cmp esi, 0xffffffff
jne 0x414ba1
xor bl, bl
jmp 0x414ba3
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403930
mov al, bl
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.004345d1
mov esp, ebp
pop ebp
ret
Function at 0x414bd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c438
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x492014]
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 esi, ecx
call fcn.00403b30
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x414c10
xor al, al
jmp 0x414d3a
push esi
lea ecx, [ebp - 0x28]
call fcn.00403a40
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x28]
call fcn.00417e60
lea ecx, [ebp - 0x28]
call fcn.004038f0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414c7e
lea ecx, [ebp - 0x40]
call fcn.00403a20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041e6b0
test al, al
je 0x414c6d
lea ecx, [ebp - 0x40]
call fcn.004038f0
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403930
cmp ebx, 0xffffffff
je 0x414c87
test bl, 0x10
je 0x414d27
lea ecx, [ebp - 0x28]
call fcn.00403b30
mov esi, dword [eax + 0x10]
cmp esi, 2
jbe 0x414d23
lea ecx, [ebp - 0x28]
call fcn.00403b30
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x414caf
mov ecx, dword [eax]
cmp word [ecx + esi*2 - 2], 0x5c
je 0x414cc6
cmp edx, 8
jb 0x414cbe
mov eax, dword [eax]
cmp word [eax + esi*2 - 2], 0x2f
jne 0x414d23
mov edx, 0x20
lea ecx, [ebp - 0x28]
call fcn.00417e60
lea ecx, [ebp - 0x28]
call fcn.004038f0
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414d1e
lea ecx, [ebp - 0x40]
call fcn.00403a20
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041e6b0
test al, al
je 0x414d0d
lea ecx, [ebp - 0x40]
call fcn.004038f0
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403930
cmp ebx, 0xffffffff
je 0x414d23
test bl, 0x10
je 0x414d27
xor bl, bl
jmp 0x414d29
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403930
mov al, bl
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.004345d1
mov esp, ebp
pop ebp
ret