joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ecx, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
cmp ebx, esi
je 0x43f0ea
cmp byte [ebx - 1], 0
jns 0x43f0d0
push dword [ebx - 0xc]
call fcn.005039aa
add esp, 4
lea edi, [ebx - 0x18]
cmp byte [ebx - 0xd], 0
jns 0x43f0e4
push dword [ebx - 0x18]
call fcn.005039aa
add esp, 4
mov ebx, edi
cmp edi, esi
jne 0x43f0bf
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
xor eax, eax
dec eax
lea esi, [ebp - 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push 1
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00467dc0
mov eax, dword [esi]
test eax, eax
je 0x43f190
mov dword [ebp - 0x34], eax
xor edi, edi
lea ebx, [ebp - 0x20]
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
push 1
call fcn.0043f6a0
lea eax, [ebp - 0x30]
mov dword [eax], 0xffffffff
push ebx
mov ebx, eax
push dword [esi]
push eax
push edi
mov edi, dword [ebp - 0x34]
push str.PendingFileRenameOperations
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x43f197
cmp eax, 0xea
jne 0x43f1bd
mov esi, 0x8000ffff
cmp dword [ebp - 0x30], 7
jne 0x43f1cb
mov ecx, dword [ebp - 0x20]
test cl, 1
jne 0x43f1cb
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
sub esi, eax
mov edx, ecx
sub edx, esi
jbe 0x43f19e
lea esi, [ebp - 0x2c]
mov ecx, esi
push edx
call fcn.0043f6a0
mov eax, dword [esi]
jmp 0x43f1a5
mov esi, 0x80070002
jmp 0x43f1de
mov esi, 0x80070002
jmp 0x43f1cb
jae 0x43f1a5
add ecx, eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push ebx
push 0
push str.PendingFileRenameOperations
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43f1fa
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43f1de
mov dword [ebp - 0x28], eax
push eax
call fcn.005039aa
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00467f60
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
push dword [ebp + 8]
push ecx
push eax
call fcn.0043ede0
add esp, 0xc
mov esi, eax
jmp 0x43f1cb
Function at 0x442500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x38], eax
push 0x20
push edi
push ebx
call fcn.0051853d
add esp, 0xc
mov esi, 6
cmp eax, 0x20
jne 0x4425d0
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push dword [edi + 8]
call esi
mov dword [edi + 8], eax
push dword [edi + 0xc]
call esi
mov dword [edi + 0xc], eax
push dword [edi + 0x10]
call esi
mov dword [edi + 0x10], eax
push dword [edi + 0x14]
call esi
mov dword [edi + 0x14], eax
push dword [edi + 0x18]
call esi
mov dword [edi + 0x18], eax
push dword [edi + 0x1c]
call esi
mov dword [edi + 0x1c], eax
pcmpeqd xmm0, xmm0
mov eax, esp
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
push eax
push ebx
call fcn.0051674a
add esp, 8
mov esi, 6
test eax, eax
jne 0x4425d0
mov eax, 0x4944424d
xor eax, dword [edi]
mov ecx, 0x30314646
xor ecx, dword [edi + 4]
or ecx, eax
mov esi, 8
jne 0x4425d0
mov eax, dword [esp + 0x14]
cmp eax, 0x20
jb 0x4425d0
add eax, 0xffffffe0
sub eax, dword [edi + 0x14]
jb 0x4425d0
sub eax, dword [edi + 0x18]
jb 0x4425d0
cmp eax, dword [edi + 0x1c]
jb 0x4425d0
setne al
movzx esi, al
shl esi, 3
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4425f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov edi, dword [ecx + 0x18]
add edi, dword [ecx + 0x14]
add edi, dword [ecx + 0x1c]
push edi
call fcn.004e9b40
add esp, 4
test eax, eax
je 0x442644
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov esi, eax
test edi, edi
je 0x442649
push edi
push esi
push ebx
call fcn.0051853d
add esp, 0xc
test eax, eax
js 0x442669
sub edi, eax
add esi, eax
test eax, eax
jne 0x442623
test edi, edi
je 0x442623
jmp 0x442660
xor eax, eax
inc eax
jmp 0x44267e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
imul ecx, eax, 0xaaaaaaab
ror ecx, 2
cmp ecx, 0x15555555
jbe 0x442686
mov dword [ebp - 0x10], 8
jmp 0x442670
mov dword [ebp - 0x10], 6
push dword [ebp - 0x1c]
call fcn.004e9b90
add esp, 4
mov eax, dword [ebp - 0x10]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
test eax, eax
jle 0x442783
mov ebx, dword [ebp - 0x1c]
mov esi, ebx
add esi, eax
mov eax, dword [edx + 0x18]
add eax, esi
mov ecx, dword [edx + 0x1c]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esi
mov edi, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebx], eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebx + 4], eax
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebx + 8], eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x20]
sub ecx, edi
cmp eax, ecx
ja 0x442660
mov ecx, dword [ebp - 0x2c]
sub ecx, esi
cmp eax, ecx
ja 0x442660
test eax, eax
je 0x4426fd
xor eax, eax
mov cl, byte [edi + eax]
add byte [esi + eax], cl
inc eax
mov ecx, dword [ebx]
cmp eax, ecx
jb 0x4426ee
jmp 0x4426ff
xor ecx, ecx
push ecx
push esi
push dword [ebp + 0x14]
call fcn.0051c45f
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp eax, dword [ebx]
jne 0x44278f
mov dword [ebp - 0x10], 7
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
sub ecx, edx
cmp eax, ecx
ja 0x442660
push eax
push edx
push dword [ebp + 0x14]
call fcn.0051c45f
add esp, 0xc
cmp eax, dword [ebx + 4]
jne 0x442670
add edi, dword [ebp - 0x18]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0x10]
sub edx, edi
cmp ecx, edx
jl 0x442660
mov edx, dword [ebp - 0x20]
sub edx, edi
cmp ecx, edx
jg 0x442660
add esi, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
add edi, ecx
add ebx, 0xc
mov dword [ebp - 0x10], 0
cmp ebx, dword [ebp - 0x24]
jb 0x4426ae
jmp 0x442670
mov dword [ebp - 0x10], 0
jmp 0x442670
mov dword [ebp - 0x10], 7
jmp 0x442670
Function at 0x4427a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x603024]
xor ecx, ebp
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x10]
mov dword [esi], 0xffffffff
xor ebx, ebx
push ebx
push esi
push ebx
push 0x40
push 0x8000
push eax
call fcn.005191a2
add esp, 0x18
neg eax
mov edi, 0
sbb edi, edi
or edi, dword [esi]
js 0x44281c
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x50]
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
push eax
push edi
call fcn.00442500
add esp, 8
xor edx, edx
dec edx
test eax, eax
mov dword [esp + 4], edx
je 0x442826
mov ecx, eax
mov esi, edx
mov dword [esp], eax
jmp 0x44295a
mov esi, 6
jmp 0x44298d
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0xffffffff
xor ebx, ebx
push ebx
push esi
push ebx
push 0x40
push 0x8000
push eax
call fcn.005191a2
add esp, 0x18
mov ecx, dword [esp + 0x10]
neg eax
mov eax, 0
sbb eax, eax
or eax, ecx
js 0x442896
mov dword [esp + 0xc], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
push esi
push eax
mov esi, eax
call fcn.0051674a
add esp, 8
xor ebx, ebx
xor ecx, ecx
dec ecx
test eax, eax
mov dword [esp + 4], ecx
je 0x4428a4
mov dword [esp], 6
jmp 0x442956
mov dword [esp], 6
mov esi, eax
jmp 0x44295a
mov dword [esp], esi
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x58]
jne 0x44293e
push esi
call fcn.004e9b40
add esp, 4
test eax, eax
je 0x442947
push esi
push eax
push dword [esp + 8]
mov ebx, eax
call fcn.0051853d
add esp, 0xc
cmp eax, dword [esp + 0x58]
jne 0x44288a
mov esi, eax
call fcn.0056f580
mov ecx, ebx
mov edx, esi
call fcn.0056f550
not eax
cmp dword [esp + 0x5c], eax
jne 0x44294f
mov dword [esp + 8], ebx
mov eax, dword [ebp + 0x10]
lea ebx, [esp + 0x4c]
mov dword [ebx], 0xffffffff
xor esi, esi
push esi
push ebx
push esi
push 0x40
push 0x8301
push eax
call fcn.005191a2
add esp, 0x18
mov ecx, dword [ebx]
neg eax
sbb esi, esi
or esi, ecx
js 0x4429a2
mov dword [esp + 4], ecx
push esi
mov ebx, dword [esp + 0xc]
push ebx
push edi
lea eax, [esp + 0x5c]
push eax
call fcn.004425f0
add esp, 0x10
jmp 0x44294a
mov dword [esp], 8
jmp 0x442956
xor eax, eax
inc eax
mov dword [esp], eax
jmp 0x442956
mov dword [esp], 4
mov esi, dword [esp + 0xc]
push ebx
call fcn.004e9b90
add esp, 4
push edi
call fcn.005139a1
add esp, 4
test esi, esi
js 0x442979
push esi
call fcn.005139a1
add esp, 4
mov eax, dword [esp + 4]
test eax, eax
js 0x44298a
push eax
call fcn.005139a1
add esp, 4
mov esi, dword [esp]
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], esi
mov ebx, dword [esp + 8]
jmp 0x44288a
Function at 0x4441c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x449f90
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x444231
movzx edi, byte [ebp + 0x18]
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.004dc3e0
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x613ad4
call fcn.004dcd50
mov esi, eax
mov edi, dword [ebp - 0x30]
xor ebx, ebx
dec ebx
mov eax, ebx
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x444283
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [esi]
mov cl, byte [ebp + 0x18]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x30]
push eax
call edi
movzx eax, byte [ebp - 0x25]
test al, al
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmovs esi, edx
test esi, esi
je 0x444359
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], 0
je 0x444329
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
movzx esi, al
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x444332
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x18], edx
mov byte [ecx], al
xor edi, edi
cmp esi, 0xffffffff
je 0x444300
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x24]
inc ebx
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
movzx edi, al
cmovs edi, edx
add edi, esi
mov dword [ebp - 0x24], ebx
cmp ebx, edi
jne 0x4442d2
jmp 0x444359
mov dword [ebp - 0x20], 0
jmp 0x44430c
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push esi
call edi
mov esi, eax
jmp 0x4442f6
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov dword [edx], esi
test al, al
je 0x444371
push ecx
call fcn.005039aa
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x444227
Function at 0x453fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ecx], eax
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
lea edi, [ebx + 1]
cmp edi, 2
jb 0x453fdc
call fcn.004e0f80
cmp dword [esi], ebx
je 0x454009
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x4540ba
cmp edi, 2
jb 0x454002
mov dword [esi], ebx
mov edi, eax
call fcn.004e0f80
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x14], esp
mov dword [esi + 4], 0xffffffff
lea edx, [esi + 8]
push eax
mov edi, esp
xor eax, eax
mov dword [edi], eax
lea ecx, [ebp + 8]
mov ebx, dword [ecx + 4]
mov dword [ecx + 4], eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x18], edx
je 0x454037
test ebx, ebx
je 0x45405a
call fcn.004e0f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebx + 1]
cmp ecx, 2
jb 0x454050
mov dword [edi], ebx
mov edi, eax
call fcn.004e0f80
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x18]
mov ecx, edx
call fcn.00573cc0
mov esp, dword [ebp - 0x14]
lea edi, [ebp + 8]
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x454084
call fcn.004e0f80
push dword [edi]
call fcn.004e9ae0
add esp, 4
mov dword [edi], 0
mov eax, dword [edi + 4]
inc eax
cmp eax, 2
jb 0x4540a4
call fcn.004e0f80
push dword [edi + 4]
call fcn.004e9ae0
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x14], eax
call fcn.004e0f80
push dword [esi]
call fcn.004e9ae0
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [esi], 0
jmp 0x453ff2
Function at 0x454b60
Capabilities:
Create process on windows
Inject apc
Query environment variable
Resume thread
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x320
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x318], eax
lea esi, [esp + 0x110]
push 0x208
push 0xff
push esi
call fcn.005072d0
add esp, 0xc
push 0x104
push esi
push str._SystemRoot_System32_rundll32.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefc
xor ebx, ebx
cmp eax, 0xfffffefd
jb 0x454d3c
xorps xmm0, xmm0
lea eax, [esp + 0xcc]
movups xmmword [eax + 0x34], xmm0
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x44
lea ecx, [esp + 0xb0]
movaps xmmword [ecx], xmm0
sub esp, 0x28
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [0x5e67e0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x454d37
mov dword [esp], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 0xb]
test al, al
jns 0x454c29
mov eax, dword [esi + 4]
add eax, eax
add eax, 2
push 4
push 0x1000
push eax
push 0
push dword [esp + 0xc0]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
je 0x454cff
lea edx, [esp + 8]
mov dword [edx], 0
movzx ecx, byte [esi + 0xb]
test cl, cl
cmovs ecx, dword [esi + 4]
lea ecx, [ecx + ecx + 2]
cmovs esi, dword [esi]
push edx
push ecx
push esi
mov dword [esp + 0x10], eax
push eax
push dword [esp + 0xc0]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0x5e6974
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5e698e
push eax
call ebx
mov edi, eax
push 0x5e6994
push esi
call ebx
mov ecx, ebx
mov ebx, eax
push 0x5e69a0
push esi
call ecx
xor ecx, ecx
test edi, edi
je 0x454cfb
test ebx, ebx
je 0x454cfb
test eax, eax
je 0x454cfb
mov esi, dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push dword [ebp + 0xc]
push dword [esp + 0xb8]
push edi
mov edi, eax
call esi
push dword [esp + 4]
push dword [esp + 0xb8]
push ebx
call esi
push 0
push dword [esp + 0xb8]
push edi
call esi
push dword [esp + 0xb4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp]
mov ebx, ecx
jmp 0x454d1f
push 2
call fcn.004e0f90
add esp, 4
test al, al
mov ebx, dword [esp]
jne 0x454d54
push 0xffffffffffffffff
push dword [esp + 0xb4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0xb4]
call esi
push dword [esp + 0xb0]
call esi
test ebx, ebx
setne bl
mov ecx, dword [esp + 0x318]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0055df20
lea esi, [esp + 8]
mov ecx, esi
push eax
push 2
push 0x137
push str..._.._chrome_installer_setup_setup_util.cc
call fcn.0055e050
lea eax, [esp + 0x10]
push 0xe
push 0x5e69ac
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, esi
call fcn.0055e0b0
jmp 0x454d10
Function at 0x456260
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x4562ce
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ecx], edi
lea edx, [ebp - 0x18]
mov dword [edx], edi
push edx
push ecx
push 0x18
push eax
push edi
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x4562d7
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x1c], 0xffffffff
push eax
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x60a0d8]
bt ecx, eax
jae 0x4562de
push ebx
call fcn.004e1ce0
add esp, 4
jmp 0x4562ea
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
jmp 0x456353
mov dword [esi + 4], edi
mov dword [esi], edi
jmp 0x456353
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x6120d8], 1
push 0x18
call fcn.0050397a
add esp, 4
mov edi, eax
mov ecx, eax
push 0x435750
push 0x456830
call fcn.004deae0
mov dword [edi + 0x10], 0x5b92f0
mov dword [edi + 0x14], ebx
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
lea ecx, [ebp - 0x1c]
call fcn.004dea60
mov esp, dword [ebp - 0x24]
cmp dword [ebp - 0x18], 0xd7
ja 0x456333
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
jmp 0x45634b
mov eax, dword [ebp - 0x14]
push dword [eax + 0xcc]
push dword [eax + 0xc8]
push esi
call fcn.0046b930
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004dea80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4579b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov esi, dword [ebp + 8]
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x158], eax
xor ebx, ebx
dec ebx
lea edi, [esp + 0x14c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
add esi, 4
mov eax, str.chrome.exe
push eax
call fcn.00520e34
add esp, 4
mov ecx, esi
push eax
mov eax, str.chrome.exe
push eax
push edi
call fcn.004e0200
lea ecx, [esp + 0x120]
mov dword [ecx + 0x20], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
push edi
call fcn.00458dc0
mov ebx, esp
mov eax, dword [ebp + 0xc]
push dword [eax + 0x28]
push ebx
call fcn.0045fdb0
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x457a3f
mov ebx, dword [esp]
mov eax, dword [esp + 4]
mov ecx, str.try_chrome_again
push ecx
mov esi, eax
call fcn.00520c00
add esp, 4
lea ecx, [esp + 0x120]
push esi
push ebx
push eax
mov eax, str.try_chrome_again
push eax
call fcn.00459b70
cmp byte [esp + 0xb], 0
jns 0x457a76
push dword [esp]
call fcn.005039aa
add esp, 4
pxor xmm0, xmm0
movdqu xmmword [esp + 0x110], xmm0
movdqu xmmword [esp + 0x100], xmm0
movdqu xmmword [esp + 0xf0], xmm0
movdqu xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xdc], 0x44
movdqa xmmword [esp + 0xc0], xmm0
lea esi, [esp + 0xb4]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea ecx, [esp + 0x120]
push esi
call fcn.0045a7d0
cmp byte [esi + 0xb], 0
jns 0x457ade
mov esi, dword [esp + 0xb4]
cmp byte [esp + 0x157], 0
jns 0x457aef
mov edi, dword [esp + 0x14c]
sub esp, 0x28
lea ebx, [esp + 0xe8]
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x104]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movdqa xmm0, xmmword [0x5e6d70]
movdqu xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x457b4c
pcmpeqd xmm0, xmm0
mov esi, esp
movdqa xmmword [esi], xmm0
mov ecx, esi
push ebx
call fcn.00482d80
mov ecx, esi
call fcn.00482e90
jmp 0x457b5a
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x457ba1
cmp byte [esp + 0xbf], 0
jns 0x457b73
push dword [esp + 0xb4]
call fcn.005039aa
add esp, 4
lea ecx, [esp + 0x120]
call fcn.00459000
lea ecx, [esp + 0x14c]
call fcn.004dfb00
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.00504b53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0055df20
mov esi, esp
mov ecx, esi
push eax
push 2
push 0x227
push str..._.._chrome_installer_setup_user_experiment.cc
call fcn.0055e050
lea eax, [esp + 8]
push 0x12
push str.Failed_to_launch:
push eax
call fcn.005364d0
add esp, 0xc
lea ecx, [esp + 0xb4]
push ecx
push eax
call fcn.0045dbd0
add esp, 8
mov ecx, esi
call fcn.0055e0b0
jmp 0x457b5a
Function at 0x459060
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x614198]
test ebx, ebx
jne 0x4590d8
push 0x24
call fcn.0050397a
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
push 0xc
call fcn.0050397a
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x614198], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4590e2
mov edi, eax
push eax
call fcn.00520e34
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004590f0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3