joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
xor eax, eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
lea edi, [ebx + 1]
cmp edi, 2
jb 0x422e87
call fcn.00459380
cmp dword [esi + 0x10], ebx
je 0x422eb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x10]
inc ecx
cmp ecx, 2
jae 0x422f71
cmp edi, 2
jb 0x422eb0
mov dword [esi + 0x10], ebx
mov edi, eax
call fcn.00459380
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov dword [esi + 0x14], eax
lea ecx, [ebp + 8]
mov ebx, dword [ecx]
mov dword [ecx], eax
lea edi, [ebx + 1]
cmp edi, 2
jb 0x422ed0
call fcn.00459380
cmp dword [esi + 0x14], ebx
je 0x422f00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x14]
inc ecx
cmp ecx, 2
jae 0x422f93
cmp edi, 2
jb 0x422ef9
mov dword [esi + 0x14], ebx
mov edi, eax
call fcn.00459380
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov dword [esi + 0x18], eax
lea ebx, [ebp + 8]
mov ecx, dword [ebx + 8]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
mov edi, dword [ebx + 0xc]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x518914]
bt ecx, eax
jb 0x422fb5
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x520914], 1
mov dword [esi + 0x24], edi
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push dword [ebx + 0x10]
push eax
call fcn.00422ff0
add esp, 8
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x422fc3
mov eax, dword [ebx + 4]
inc eax
cmp eax, 2
jae 0x422fda
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [ebp - 0x10], eax
call fcn.00459380
push dword [esi + 0x10]
call fcn.0048c780
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi + 0x10], 0
jmp 0x422e9f
mov dword [ebp - 0x10], eax
call fcn.00459380
push dword [esi + 0x14]
call fcn.0048c780
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi + 0x14], 0
jmp 0x422ee8
push edi
call fcn.00455550
add esp, 4
jmp 0x422f3a
call fcn.00459380
push dword [ebx]
call fcn.0048c780
add esp, 4
mov dword [ebx], 0
jmp 0x422f5c
call fcn.00459380
push dword [ebx + 4]
call fcn.0048c780
add esp, 4
jmp 0x422f65
Function at 0x423310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
inc eax
cmp eax, 1
ja 0x4234a7
mov esi, ecx
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov edi, eax
cmp dword [esi], eax
je 0x423378
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x423482
mov eax, edi
inc eax
cmp eax, 2
jb 0x42336f
mov dword [esi], edi
call fcn.00459380
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi]
lea eax, [edi + 1]
cmp eax, 1
jbe 0x4234b0
mov dword [esp + 8], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x3c], 0xffffffff
test eax, eax
mov dword [esp + 4], edi
jne 0x42345b
mov edi, 0xff
mov ebx, 0x408
mov dword [esp + 0x2c], 1
mov esi, ebx
mov edx, edi
mov ecx, esi
mov dword [esp + 0xc], edx
mov esi, edx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4234ca
mov edx, dword [esp + 4]
or ecx, 0x2000
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x10]
push 0x70
push eax
push 9
push edx
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x42349c
mov eax, dword [ebp + 0x10]
not eax
and esi, eax
lea eax, [esp + 0xc]
mov dword [eax], esi
mov ecx, 4
push ecx
push eax
push ecx
mov eax, dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
mov dword [esp], 0
test eax, eax
je 0x42349c
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00496ce3
mov eax, dword [esp]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
xor esi, esi
dec eax
cmp eax, 3
ja case.default.0x42347b
mov dword [esp], 0xa0
mov edx, 0xc8
mov edi, 0xd8
mov ebx, 8
xor ecx, ecx
jmp dword [eax*4 + 0x5096c8]
call fcn.00459380
push dword [esi]
call fcn.0048c780
add esp, 4
mov dword [esi], 0
jmp 0x423360
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], eax
jmp case.0x42347b.4
mov dword [esp], 0x4df
jmp case.0x42347b.4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00496ce3
mov eax, esi
jmp 0x423451
or ecx, 0x100
mov dword [esp + 0x70], eax
jmp 0x4233ee
mov edx, dword [esp + 4]
jmp 0x4233fc
Function at 0x424880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x511014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0x38], 0
jne 0x424984
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
test ebx, ebx
jne 0x42498b
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4249a9
mov ebx, dword [ebp - 0x20]
cmp dword [esi + 0x24], ebx
je 0x424904
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x424968
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4248fa
mov dword [esi + 0x24], ebx
call fcn.00459380
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi + 0x24]
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], eax
push ebx
push edi
call fcn.004249e0
add esp, 8
cmp byte [edi], 0
je 0x4249b3
lea ecx, [esi + 0x2c]
cmp byte [esi + 0x28], 0
lea ebx, [ebp - 0x18]
jne 0x4249ba
push ebx
call fcn.00424aa0
mov byte [esi + 0x28], 1
cmp byte [ebp - 0x1c], 0
je 0x42494c
mov ecx, ebx
call fcn.00424c80
mov byte [esi + 0x38], 1
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00459380
push dword [esi + 0x24]
call fcn.0048c780
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x4248ea
mov edi, 0x4df
jmp 0x424952
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
lea edx, [ebp - 0x20]
push 2
push ecx
push ecx
push edx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x4248c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x424952
mov edi, 0x3f0
jmp 0x424952
mov edx, ebx
call fcn.0044fb40
xor edi, edi
cmp byte [ebp - 0x1c], 0
mov byte [esi + 0x38], 1
je 0x424952
mov ecx, ebx
call fcn.00424c80
jmp 0x424952

Function at 0x424aa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi], ecx
mov ebx, dword [eax]
mov dword [eax], ecx
lea edi, [ebx + 1]
cmp edi, 2
jb 0x424ac1
call fcn.00459380
cmp dword [esi], ebx
je 0x424aeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x424af7
cmp edi, 2
jb 0x424ae2
mov dword [esi], ebx
call fcn.00459380
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00459380
push dword [esi]
call fcn.0048c780
add esp, 4
mov dword [esi], 0
jmp 0x424ad6
Function at 0x4252e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x511014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0x38], 0
je 0x42541f
lea eax, [ebp - 0x14]
mov dword [eax], 0
push eax
call fcn.00425600
test eax, eax
jne 0x425426
lea eax, [ebp - 0x18]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0x14]
sub esp, 0x18
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x505d30]
movups xmmword [esp + 4], xmm0
mov dword [ebp - 0x1c], ecx
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x425433
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
xor edi, edi
cmp dword [ebx], esi
je 0x42537b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
inc ecx
cmp ecx, 2
jae 0x4253c3
lea ecx, [esi + 1]
cmp ecx, 2
jb 0x425374
mov dword [ebx], esi
mov esi, eax
call fcn.00459380
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, edi
mov eax, dword [ebp - 0x1c]
inc eax
cmp eax, 2
jb 0x4253ad
call fcn.00459380
cmp dword [0x523df0], 0
je 0x4253e0
mov edi, dword [0x523df0]
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x1c]
call ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x20], eax
call fcn.00459380
push dword [ebx]
call fcn.0048c780
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebx], 0
jmp 0x425361
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x50511c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425440
mov ecx, eax
cmp eax, sym.opera.exe_GetHandleVerifier
je 0x425419
call dword [section..00cfg]
call ecx
push 0
push eax
call fcn.00426270
add esp, 8
jmp 0x425394
push 1
push 0
jmp 0x42540c
mov esi, 0x3f0
jmp 0x4253ad
mov esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x42537d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x42537b
xor eax, eax
push eax
jmp 0x42540b
Function at 0x425450
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x511014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0x38], 0
je 0x4255f5
mov esi, ecx
cmp byte [ecx + 0x28], 0
je 0x4255fc
mov edx, dword [esi + 0x2c]
lea edi, [ebp - 0x1c]
mov ecx, edi
push 2
call fcn.00426050
add esp, 4
mov ebx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], eax
cmp ebx, eax
je 0x425585
mov dword [ebp - 0x34], esi
lea eax, [esi + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc]
cmp eax, 0xbfffffff
ja 0x425550
and eax, 0x20
jne 0x425550
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov esi, dword [eax + 4]
cmp edi, esi
je 0x4254da
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x425550
add edi, 0xc
jmp 0x4254c3
mov eax, ebx
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], eax
mov esi, dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
sub esi, ebx
je 0x425519
js 0x4255d5
push esi
call fcn.00494aa6
add esp, 4
mov dword [ebp - 0x28], eax
lea edi, [eax + esi]
mov dword [ebp - 0x20], edi
push esi
push ebx
push eax
call fcn.00498400
add esp, 0xc
mov dword [ebp - 0x24], edi
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 0x14]
jae 0x42555e
test eax, eax
mov ebx, dword [ebp - 0x2c]
je 0x4255da
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
add eax, 0xc
mov dword [edx + 0x10], eax
add ebx, 0x10
cmp ebx, dword [ebp - 0x38]
jne 0x4254a4
jmp 0x425582
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call fcn.00424ec0
mov eax, dword [ebp - 0x28]
test eax, eax
mov ebx, dword [ebp - 0x2c]
je 0x425550
mov dword [ebp - 0x24], eax
push eax
call fcn.00494aa1
add esp, 4
jmp 0x425550
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4255bd
mov eax, dword [ebp - 0x18]
mov ecx, ebx
cmp eax, ebx
je 0x4255b1
lea esi, [eax - 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4255a8
mov dword [eax - 0xc], ecx
push ecx
call fcn.00494aa1
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x425592
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push ecx
call fcn.00494aa1
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004a8580
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.004be7c0
mov esi, 0x3f0
jmp 0x4255bf
ud2
Function at 0x4279e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esp + 0x28], eax
test byte [ebp + 0xc], 0x40
je 0x427a8e
lea esi, [esp + 0x24]
mov dword [esi], 0xffffffff
push 4
push esi
call sub.ADVAPI32.dll_SystemFunction036
mov edi, dword [esi]
shl edi, 0xa
and edi, 0xff0000
add edi, 0x80000
xor ebx, ebx
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
movdqa xmmword [esp], xmm0
push 0x1c
lea eax, [esp + 4]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x427a8e
mov eax, edi
sub eax, ebx
mov esi, dword [esp + 0xc]
mov ecx, 0xffff
add esi, ecx
and esi, 0xffff0000
cmp eax, esi
cmovb esi, eax
test ebx, ebx
je 0x427a72
cmp dword [esp + 0x10], 0x10000
je 0x427a7a
add ebx, esi
cmp ebx, edi
jb 0x427a26
jmp 0x427a8e
push 1
push 0x2000
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
jmp 0x427a72
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.00496ce3
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42c630
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor eax, eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x42c72d
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov edi, eax
cmp dword [ebp - 0x10], 7
jb 0x42c758
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
shr cl, 3
and cl, 1
mov dword [ebp - 0x10], ecx
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 8], eax
shr edi, 0xc
and edi, 3
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0xd], al
shr ecx, 0x1a
and cl, 1
mov byte [esi + 0xe], cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
and al, 1
mov byte [esi + 0xf], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x13], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x1a], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x42c766
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x14], al
mov edx, dword [ebp - 0x14]
mov ecx, edx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x17], cl
shr edx, 0xc
and dl, 1
mov byte [esi + 0x15], dl
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [esi + 0x16], cl
mov eax, dword [ebp - 0x10]
mov byte [esi + 0x18], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000006
jle 0x42c76a
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x19], dh
test dh, dh
je 0x42c76f
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
xor ebx, ebx
jmp 0x42c67a
xor eax, eax
jmp 0x42c6fe
mov dh, byte [esi + 0x19]
jmp 0x42c74c
cmp byte [esi + 0x1a], 0
je 0x42c750
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x42c750
cmp ecx, 0x666f736f
jne 0x42c750
cmp edx, 0x76482074
jne 0x42c750
mov byte [esi + 0x19], 1
jmp 0x42c750
Function at 0x42df00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esp + 0x214], eax
lea edi, [esp + 0xc]
push 0x208
push 0xff
push edi
call fcn.00498980
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x502970]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42df80
cmp word [esp + 0xc], 0
je 0x42df80
push edi
call fcn.00495e86
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004700e0
mov ecx, dword [esp + 0x214]
xor ecx, ebp
call fcn.00496ce3
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov edi, esp
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
push edi
call fcn.00433360
add esp, 4
mov ecx, esi
test al, al
je 0x42dfa3
push edi
call fcn.00492c70
jmp 0x42dfaf
push 3
push 0x5029d2
call fcn.004700e0
cmp byte [esp + 0xb], 0
jns 0x42df69
push dword [esp]
call fcn.00494aa1
add esp, 4
jmp 0x42df69
Function at 0x42e310
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
je 0x42e4ca
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], 0
test edi, edi
je 0x42e356
mov ecx, edi
call fcn.0042e560
push edi
call fcn.00494aa1
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x42e4ed
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], 0
test eax, eax
je 0x42e37f
push 0
push eax
push 0x504ee4
call fcn.004684e0
add esp, 0xc
mov eax, dword [esi + 0x24]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x518914]
bt edx, ecx
jb 0x42e507
xor eax, eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], eax
test edi, edi
jne 0x42e515
mov eax, dword [esi + 0x18]
inc eax
cmp eax, 2
jb 0x42e3ec
call fcn.00459380
mov edi, dword [esi + 0x18]
cmp dword [0x523df0], 0
je 0x42e444
mov dword [ebp - 0x10], edi
mov edi, dword [0x523df0]
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x14]
inc eax
cmp eax, 2
jae 0x42e52a
mov eax, dword [esi + 0x10]
inc eax
cmp eax, 2
jb 0x42e436
call fcn.00459380
mov edi, dword [esi + 0x10]
cmp dword [0x523df0], 0
je 0x42e481
mov dword [ebp - 0x10], edi
mov edi, dword [0x523df0]
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov dword [esi + 0x10], 0
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004226f0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x50511c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e546
mov ecx, eax
cmp eax, sym.opera.exe_GetHandleVerifier
je 0x42e4be
call dword [section..00cfg]
call ecx
push 0
push eax
call fcn.00426270
add esp, 8
jmp 0x42e3c9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x50511c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e54e
mov ecx, eax
cmp eax, sym.opera.exe_GetHandleVerifier
je 0x42e4c4
call dword [section..00cfg]
call ecx
push 0
push eax
call fcn.00426270
add esp, 8
jmp 0x42e413
push 1
push 0
jmp 0x42e474
push 1
push 0
jmp 0x42e4b1
test eax, eax
jne 0x42e325
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x42e325
cmp dword [esi + 4], 0
jne 0x42e325
jmp 0x42e338
lea edi, [esi + 0x30]
mov ecx, edi
push eax
call fcn.00435410
push dword [edi]
call fcn.00494aa1
add esp, 4
jmp 0x42e361
push eax
call fcn.00454d60
add esp, 4
jmp 0x42e39c
mov ecx, edi
call fcn.0042e560
push edi
call fcn.00494aa1
add esp, 4
jmp 0x42e3af
call fcn.00459380
push dword [esi + 0x14]
call fcn.0048c780
add esp, 4
mov dword [esi + 0x14], 0
jmp 0x42e3f9
xor eax, eax
push eax
jmp 0x42e473
xor eax, eax
push eax
jmp 0x42e4b0
Function at 0x433290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov edi, dword [ebp + 8]
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 4]
push 0x1c9
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00454af0
add esp, 0x10
mov ecx, esi
mov esi, ebx
xor ebx, ebx
push ebx
push ebx
push esi
call fcn.0046afe0
test byte [0x512ba0], 0x19
jne 0x43332b
cmp byte [edi + 0xb], 0
jns 0x433300
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea ecx, [esp + 0x20]
call fcn.004840c0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00496ce3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edx, [esp + 0x14]
mov dword [edx], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
mov ecx, str.ScopedBlockingCall
call fcn.004d8680
add esp, 8
jmp 0x4332f8

Function at 0x433360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x511014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00498980
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x43345a
push ebx
call fcn.00495e86
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.004700e0
xor eax, eax
dec eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4333f2
mov edi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x230]
jmp 0x4333f5
and eax, 0x7f
lea ebx, [ebp - 0x228]
mov ecx, ebx
push eax
push edi
call fcn.004700e0
mov ecx, ebx
call fcn.0046fff0
mov edi, dword [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x43341e
push dword [edi]
call fcn.00494aa1
add esp, 4
mov eax, dword [ebp - 0x220]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x228]
movsd qword [edi], xmm0
mov byte [ebp - 0x21d], 0
mov word [ebp - 0x228], 0
cmp byte [ebp - 0x229], 0
jns 0x43345a
push dword [ebp - 0x234]
call fcn.00494aa1
add esp, 4
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43c240
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.0043c249