joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbcbbe0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0xd51920
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov esi, ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esi + 0xa4]
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], 0x24
call fcn.00ba86e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea edi, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.00ba8b20
add esp, 0xc
cmp dword [esp + 0x1c], ebx
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x20]
lea ecx, [ebp + 0xc]
setbe byte [esp + 0x1b]
mov dword [esp + 0x1c], esi
call fcn.00bde230
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0x10]
je 0xbcbc95
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
jmp 0xbcbc9d
mov dword [esp + 0x1c], 0
lea ebx, [esp + 0x20]
lea eax, [esp + 0x28]
lea ecx, [ebp + 0xc]
mov dword [esp + 0x20], esi
call fcn.00bde230
mov eax, dword [esp + 0x28]
cmp eax, dword [ebp + 0x10]
je 0xbcbcbf
mov al, byte [eax + 0x14]
jmp 0xbcbcc1
xor al, al
mov edi, dword [esp + 0x1c]
cmp edi, 3
je 0xbcbcf8
cmp edi, 4
je 0xbcbcf8
cmp edi, 5
je 0xbcbcf8
cmp byte [esp + 0x1b], 0
je 0xbcbce9
cmp byte [esp + 0x54], 0
jne 0xbcbcf8
xor eax, eax
jmp 0xbcbd91
xor ecx, ecx
cmp dword [esp + 0x50], 4
sete cl
inc ecx
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
push edx
push esi
push ecx
mov ecx, ebp
call fcn.00bcb5a0
test al, al
je 0xbcbce2
cmp byte [esp + 0x1b], 0
jne 0xbcbd8d
test edi, edi
jne 0xbcbd8d
mov eax, dword [ebp]
mov esi, dword [esi + 0x74]
push eax
push esi
push 0x24
call fcn.00bcc010
mov edi, eax
or dword [edi + 0x28], 2
mov ebx, 1
add esp, 0xc
mov esi, edi
mov dword [edi + 0xc], ebx
call fcn.00ba1160
mov esi, eax
call fcn.00babd70
mov edx, dword [ebp]
or dword [eax + 0x14], ebx
mov ecx, dword [eax + 0x14]
mov dword [eax + 8], edx
mov edx, dword [ebp + 4]
mov edx, dword [edx + 0x74]
or ecx, 2
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
test ecx, ecx
je 0xbcbd6f
lea eax, [ecx + 4]
jmp 0xbcbd71
xor eax, eax
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [edx + 0xc]
call eax
test al, al
jne 0xbcbd8d
mov ecx, dword [esp + 0x30]
push ecx
push ebp
call fcn.00bdc060
xor eax, eax
jmp 0xbcbd91
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x30
ret 0x10
Function at 0xbce0d0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x170
push ebx
push ebp
push esi
push edi
mov esi, ecx
push esi
mov dword [esp + 0x18], 0
call fcn.00bce210
mov ebp, eax
cmp ebp, 0xffffffff
jne 0xbce109
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 0x28]
push ecx
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebp, 0xffffffff
jne 0xbce12f
push esi
call fcn.00bce210
mov ebp, eax
lea eax, [esi + 4]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call ebx
cmp eax, 0x217
jne 0xbce197
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x28], 0
push 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0xbce1c4
cmp eax, 1
jne 0xbce1c2
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
or ebp, 0xffffffff
jmp 0xbce122
cmp eax, 0x3e5
je 0xbce14d
test byte [esp + 0x14], 2
je 0xbce1b3
and dword [esp + 0x14], 0xfffffffd
lea edi, [esp + 0x20]
call fcn.00b962d0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebp, 0xffffffff
jmp 0xbce122
call ebx
cmp ebp, 0xffffffff
je 0xbce1fc
push ebp
call dword [sym.imp.KERNEL32.dll_CancelIo]
test eax, eax
jne 0xbce1f5
call ebx
cmp eax, 0x490
je 0xbce1f5
test byte [esp + 0x14], 1
je 0xbce1f5
and dword [esp + 0x14], 0xfffffffe
lea edi, [esp + 0xd0]
call fcn.00b962d0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 0x24], 0
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xbce210
Capabilities:
Create pipe

Disassembly:
sub esp, 0x14
xor eax, eax
mov dword [esp + 4], 0
push esi
mov dword [esp + 0x14], eax
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x14], 0xc
call fcn.00ba9f60
add esp, 8
test al, al
jne 0xbce24e
or eax, 0xffffffff
pop esi
add esp, 0x14
ret 4
mov eax, dword [esp + 0x1c]
add eax, 0x2c
cmp dword [eax + 0x14], 8
jb 0xbce25d
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x3e8
push 0x1000
push 0x1000
push 0xff
push 0
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0xbce295
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 0xffffffff
jne 0xbce2a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
add esp, 0x14
ret 4
Function at 0xbce350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd3d1fe
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.ipc::MessageChannelWin::Impl.0
mov dword [esi + 0x1018], 0xf
mov dword [esi + 0x1014], ebx
mov byte [esi + 0x1004], bl
push ebx
push ebx
mov byte [esp + 0x2c], 1
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
mov dword [esi + 0x1048], 0xffffffff
call ebp
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x104c], eax
call ebp
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x1050], eax
call ebp
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x1054], eax
call ebp
mov dword [esi + 0x1058], eax
lea edi, [esi + 0x105c]
push 8
mov dword [edi], ebx
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbce4ed
mov dword [edi], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [edi]
mov dword [eax], edi
push 0x7d0
lea ecx, [esi + 0x1074]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push ecx
call edi
push 0x7d0
lea edx, [esi + 0x1098]
push edx
mov dword [esi + 0x108c], ebx
mov dword [esi + 0x1090], 1
mov dword [esi + 0x1094], ebx
call edi
mov eax, dword [esp + 0x30]
push 0x7d0
lea ecx, [esi + 0x10b4]
push ecx
mov dword [esi + 0x10b0], eax
call edi
push ebx
push ebx
push ebx
push ebx
call ebp
mov edx, dword [esp + 0x34]
mov dword [esi + 0x10cc], eax
mov dword [esi + 0x10d0], edx
xor eax, eax
mov dword [esi + 0x1020], eax
mov dword [esi + 0x1024], eax
mov dword [esi + 0x1028], eax
mov dword [esi + 0x102c], eax
mov dword [esi + 0x1030], eax
mov eax, dword [esi + 0x1050]
mov dword [esi + 0x1030], eax
xor eax, eax
mov dword [esi + 0x1034], eax
mov dword [esi + 0x1038], eax
mov dword [esi + 0x103c], eax
mov dword [esi + 0x1040], eax
mov dword [esi + 0x1044], eax
mov ecx, dword [esi + 0x1054]
mov dword [esi + 0x1044], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00b94df0
int3
Function at 0xbcee40
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0xd45b48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [edi + 0x1074]
mov dword [esp + 0x14], 0
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x18]
lea ecx, [edi + 0x105c]
call fcn.00ba8760
mov ecx, dword [eax]
test ecx, ecx
je 0xbcee95
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0xbceea1
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax + 0x10]
lea eax, [esp + 0x24]
lea ecx, [edi + 0x105c]
call fcn.00ba8760
mov ecx, dword [eax]
test ecx, ecx
je 0xbceec1
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0xbceecd
sub eax, edx
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*4]
cmp dword [eax + 0x14], 0x10
jb 0xbceedb
mov eax, dword [eax]
mov edx, dword [edi + 0x1048]
lea ecx, [edi + 0x1034]
push ecx
push 0
push ebx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0xbcef18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0xbcef18
mov eax, dword [edi + 0x104c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0xbcef1d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0xbd0650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd3f290
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
or dword [edi + 0x30], 1
xor ebp, ebp
mov dword [edi + 0x28], eax
cmp dword [edi + 0xc], ebx
jle 0xbd0711
mov edi, edi
mov ecx, dword [edi + 8]
mov esi, dword [ecx + ebp*4]
mov eax, dword [esi + 0x34]
mov edx, eax
shr edx, 0xa
test dl, 1
je 0xbd070b
or eax, 0x400
mov dword [esi + 0x34], eax
cmp dword [esi + 0x2c], ebx
jne 0xbd06fa
push 0x34
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbd06f5
mov dword [eax], vtable.ipc::proto::CommandList.0
mov dword [eax + 4], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 4
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x30], ebx
jmp 0xbd06f7
xor eax, eax
mov dword [esi + 0x2c], eax
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.00bd0650
add esp, 8
inc ebp
cmp ebp, dword [edi + 0xc]
jl 0xbd06a0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x14
ret
Function at 0xbd4410
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xd47b50
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov eax, 0xdb5620
mov dword [esi], vtable.ipc::proto::KeyEvent.0
mov dword [esi + 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
push 0x1c
mov dword [esi + 0x3c], ebx
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbd44b4
mov dword [esi + 0x38], eax
mov dword [eax], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x38]
mov al, 1
mov byte [ecx + 0x18], al
mov edx, dword [esi + 0x38]
mov byte [edx + 0x19], al
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00b94df0
int3

Function at 0xbd4ad0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xd47aeb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esi], vtable.ipc::proto::KeyEvent.0
mov dword [esi + 4], ebx
mov byte [esp + 0x28], 1
mov eax, 0xdb5620
mov dword [esi + 0x2c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x28], eax
mov edx, ebp
mov ecx, esi
mov dword [esi + 0x30], ebx
call fcn.00bba5f0
mov dword [esp + 0x28], 2
lea edi, [esi + 0x34]
push 0x1c
mov dword [esp + 0x38], edi
mov dword [edi + 8], ebx
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbd4ba8
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov byte [eax + 0x18], 1
mov ecx, dword [edi + 4]
mov byte [ecx + 0x19], 1
lea ebx, [ebp + 0x34]
mov eax, edi
mov byte [esp + 0x28], 4
call fcn.00bd4eb0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.00b94df0
int3
Function at 0xbd88a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd3f290
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
or dword [edi + 0x78], 2
mov dword [edi + 0xc], ebp
cmp dword [edi + 0x30], ebx
jle 0xbd8916
lea esp, [esp]
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi + 0x2c]
shr ecx, 3
test cl, 1
je 0xbd8910
call fcn.00baaf90
push eax
push ebp
call fcn.00bd88a0
add esp, 8
inc ebx
cmp ebx, dword [edi + 0x30]
jl 0xbd88f0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x14
ret
Function at 0xbe5490
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0xd42803
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
push 0x22
mov word [esp + 0x30], cx
mov edi, 7
xor ebp, ebp
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
call fcn.00b91d20
push 0x28
mov dword [esp + 0x74], ebp
call fcn.00cd8a50
add esp, 4
cmp eax, ebp
je 0xbe551a
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
xor edx, edx
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], ebp
mov word [eax + 0xc], dx
mov esi, eax
jmp 0xbe551c
xor esi, esi
mov byte [esp + 0x70], 0
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0xbe5530
lea eax, [esp + 0x2c]
push esi
mov edx, 0x20119
mov ecx, 0x80000001
call fcn.00b936a0
test eax, eax
je 0xbe5550
cmp esi, ebp
je 0xbe554e
push esi
call fcn.00b9f950
xor esi, esi
mov dword [esp + 0x28], esi
mov ebx, 4
mov byte [esp + 0x70], bl
cmp dword [esp + 0x40], 8
jb 0xbe5571
mov eax, dword [esp + 0x2c]
push eax
call fcn.00cd8a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], cx
cmp esi, ebp
jne 0xbe558b
xor al, al
jmp 0xbe5631
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x48]
mov dword [esp + 0x18], ebp
call fcn.00be4f30
cmp dword [eax + 0x14], 8
jb 0xbe55a4
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0xbe55d5
mov eax, dword [esp + 0x1c]
sub eax, ebx
neg eax
sbb eax, eax
and eax, 0xd
cmp eax, ebp
setne bl
cmp dword [esp + 0x5c], 8
jb 0xbe55ec
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00cd8a36
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
test bl, bl
je 0xbe5615
push esi
mov dword [esp + 0x74], 0xffffffff
call fcn.00b9f950
mov al, 1
jmp 0xbe5631
call fcn.00b9f6e0
cmp dword [esp + 0x18], eax
push esi
setne bl
mov dword [esp + 0x74], 0xffffffff
call fcn.00b9f950
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x60
ret 4
Function at 0xbe5660
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0xd427b3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp byte [esp + 0x70], bl
je 0xbe57ca
xor ecx, ecx
push 0x22
mov word [esp + 0x24], cx
mov edi, 7
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
call fcn.00b91d20
push 0x28
mov dword [esp + 0x68], ebx
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbe56f4
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
xor edx, edx
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], ebx
mov word [eax + 0xc], dx
mov esi, eax
jmp 0xbe56f6
xor esi, esi
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x20]
mov ebp, 8
cmp dword [esp + 0x34], ebp
jae 0xbe570d
lea eax, [esp + 0x20]
push esi
mov edx, 0x20106
mov ecx, 0x80000001
call fcn.00b936a0
test eax, eax
je 0xbe572d
cmp esi, ebx
je 0xbe572b
push esi
call fcn.00b9f950
xor esi, esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x64], 4
cmp dword [esp + 0x34], ebp
jb 0xbe5749
mov eax, dword [esp + 0x20]
push eax
call fcn.00cd8a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp esi, ebx
je 0xbe57ca
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x3c]
call fcn.00be4f30
cmp dword [eax + 0x14], ebp
jb 0xbe5772
mov edi, dword [eax]
jmp 0xbe5774
mov edi, eax
call fcn.00b9f6e0
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0x50], ebp
jb 0xbe57a4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00cd8a36
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
call fcn.00be7710
push esi
mov dword [esp + 0x68], 0xffffffff
call fcn.00b9f950
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x54
ret 8
Function at 0xbe6a20
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0xd45931
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
push 1
mov dword [esp + 0x10], 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x44], 0
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x14], 0x5f
call fcn.00b9d580
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x7c]
call fcn.00b9b350
mov esi, 0x10
mov dword [esp + 0x3c], 2
cmp dword [eax + 0x14], esi
jb 0xbe6aa1
mov eax, dword [eax]
push eax
push str.Mozilla_5.0__Windows__U__Windows_NT__s_en_US__
push edi
call fcn.00c02280
add esp, 0xc
mov byte [esp + 0x3c], 0
mov dword [esp + 0xc], 2
cmp dword [esp + 0x28], esi
jb 0xbe6ad0
mov edx, dword [esp + 0x14]
push edx
call fcn.00cd8a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x38
ret
Function at 0xbe7530
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xd458e3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x18], edi
push 0x22
xor eax, eax
mov esi, 7
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], ax
call fcn.00b91d20
push 0x28
mov dword [esp + 0x54], edi
call fcn.00cd8a50
add esp, 4
cmp eax, edi
je 0xbe75bb
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x20], esi
xor ecx, ecx
mov dword [eax + 0x1c], edi
mov word [eax + 0xc], cx
mov esi, eax
jmp 0xbe75bd
xor esi, esi
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x24]
mov ebx, 8
cmp dword [esp + 0x38], ebx
jae 0xbe75d5
lea eax, [esp + 0x24]
push esi
mov edx, 0x2011f
mov ecx, 0x80000001
call fcn.00b936a0
test eax, eax
je 0xbe7617
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0xbe75f7
lea eax, [esp + 0x24]
push 0x2011f
push esi
mov ecx, 0x80000001
call fcn.00b92f90
test eax, eax
je 0xbe7617
cmp esi, edi
je 0xbe7615
push esi
call fcn.00b9f950
xor esi, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x50], 4
cmp dword [esp + 0x38], ebx
jb 0xbe7633
mov edx, dword [esp + 0x24]
push edx
call fcn.00cd8a36
add esp, 4
cmp esi, edi
jne 0xbe763e
xor al, al
jmp 0xbe76e5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x2c], edi
mov eax, dword [esi]
push str.GACurrentSessionTime
mov ebx, 4
push eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0xbe7683
cmp dword [esp + 0x18], ebx
jne 0xbe7683
cmp dword [esp + 0x1c], edi
jbe 0xbe7683
mov byte [esp + 0x17], 1
push edi
call fcn.00cda7dc
add esp, 4
cmp byte [esp + 0x17], 0
mov ebx, eax
mov eax, dword [esp + 0x1c]
je 0xbe769e
cmp ebx, eax
jne 0xbe769e
inc ebx
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x28], eax
mov edx, dword [esi]
push str.GALastSessionTime
push edx
call edi
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
mov dword [esp + 0x28], ebx
mov ecx, dword [esi]
push str.GACurrentSessionTime
push ecx
call edi
push esi
mov dword [esp + 0x54], 0xffffffff
call fcn.00b9f950
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00cd8a41
mov esp, ebp
pop ebp
ret