joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450ca0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f28a9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
xor esi, esi
push 0x80
mov edi, ecx
lea ecx, [esp + 0x42]
xor eax, eax
push esi
mov dword [esp + 0x1c], esi
push ecx
mov word [esp + 0x48], ax
call fcn.004cf830
mov ecx, 0x80000001
add esp, 0xc
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x3c]
push edx
lea ebx, [esi + 0xd]
mov dword [esp + 0x2e4], esi
call fcn.0045aea0
or esi, 0xffffffff
mov bl, al
mov dword [esp + 0x2e4], esi
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x450d44
cmp eax, 0x80000001
je 0x450d44
push eax
call dword [section..rdata]
test bl, bl
je 0x450d54
cmp word [esp + 0x3c], 0
jne 0x450e00
lea eax, [esp + 0x18]
push eax
call fcn.00456ad0
lea ecx, [esp + 0x14]
push ecx
mov ebx, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2e4], ebx
call fcn.004571f0
mov byte [esp + 0x2e0], 2
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x450db0
cmp dword [eax - 4], ebx
jle 0x450da1
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004063d0
mov eax, dword [esp + 0x14]
push eax
push 0xd
call fcn.0045b0a0
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 0xfffffff0
mov byte [esp + 0x2e0], bl
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450dd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2e0], 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x450deb
push eax
call int.00416bf0
mov dword [esp + 0x2e0], esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x450e00
push eax
call int.00416bf0
mov ecx, dword [0x50adf0]
mov dx, word [0x50adf4]
push 0x202
lea eax, [esp + 0xce]
push 0
push eax
mov dword [esp + 0xd0], ecx
mov word [esp + 0xd4], dx
call fcn.004cf830
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc8]
push ecx
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
push 5
mov eax, str.brand
lea esi, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
call fcn.00404e70
add edi, 4
push edi
mov ecx, esi
mov dword [esp + 0x2e4], 4
call fcn.0044db90
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x450e96
mov eax, dword [eax]
lea ecx, [esp + 0xc4]
push ecx
push eax
call fcn.0045bf00
add esp, 8
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x450ec5
mov edx, dword [esp + 0x20]
push edx
call fcn.004c9387
add esp, 4
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret
Function at 0x454960
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esi + 0x54]
sub esp, 0xc
mov ecx, eax
push ebx
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x4549b9
mov eax, dword [esi + 4]
mov edi, dword [0x4f9410]
push eax
mov dword [esp + 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [0x4f945c]
lea ecx, [esp + 8]
push ecx
push edi
push 0x4e
push eax
call dword [0x4f9498]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x4549f2
mov edx, dword [esi + 4]
push edx
call dword [0x4f9410]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [0x4f945c]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [0x4f9498]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x454a25
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [0x4f93f8]
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret

Function at 0x4565b0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4f0870
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x44]
neg eax
sbb eax, eax
and eax, 0xc0000000
lea edi, [esi + 0xc]
add eax, 0xc0000000
cmp dword [edi + 0x14], 8
jb 0x4565f9
mov ecx, dword [edi]
jmp 0x4565fb
mov ecx, edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x10000080
push 3
push 0
push 3
push eax
push ecx
call ebx
cmp dword [esi + 0x44], 0
mov dword [esi + 8], eax
jne 0x456644
test eax, eax
je 0x456624
cmp eax, 0xffffffff
jne 0x456644
cmp dword [edi + 0x14], 8
jb 0x45662c
mov edi, dword [edi]
push 0
push 0x10000080
push 3
push 0
push 3
push 0x80000000
push edi
call ebx
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xffffffff
jne 0x456651
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x456664
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x4c], eax
xor eax, eax
cmp dword [esi + 8], eax
setne al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x4566b0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
xor ebp, ebp
mov ebx, eax
mov dword [esp + 0xc], ebp
mov eax, dword [esi + 4]
push edi
cmp eax, ebp
je 0x4566cc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esi + 4], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [esi + 0x4c], edi
cmp ebx, edi
jbe 0x4566f0
mov edi, ebx
mov dword [esi + 0x4c], ebx
xor ebx, ebx
cmp dword [esi + 0x38], ebp
je 0x456702
cmp dword [esi + 0x3c], 8
lea ebx, [esi + 0x28]
jb 0x456702
mov ebx, dword [ebx]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
push ebx
push edi
push edx
push 4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
call ebp
mov dword [esi + 4], eax
test eax, eax
jne 0x456739
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 8]
push ebx
push edi
push ecx
push 2
push eax
push edx
mov dword [esi + 0x48], 1
call ebp
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
jne 0x45675b
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 8]
push 0
push edi
push eax
push 2
push 0
push ecx
mov dword [esi + 0x48], 2
call ebp
mov dword [esi + 4], eax
xor eax, eax
cmp dword [esi + 4], eax
pop edi
pop ebp
setne al
pop ebx
add esp, 8
ret

Function at 0x4567b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [esp + 0xc], edi
cmp byte [esi + 0x50], 0
jne 0x4567ea
cmp dword [esi + 0x38], edi
je 0x4567ea
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x4567d9
mov eax, dword [eax]
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 4], eax
cmp dword [esi + 4], edi
jne 0x4567ff
mov eax, ebx
call fcn.004566b0
test eax, eax
je 0x456832
mov edi, 1
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x4c], eax
cmp eax, ebx
jae 0x45683d
cmp dword [esi], 0
jne 0x456832
mov eax, dword [esi + 4]
test eax, eax
je 0x456825
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, 0x80000006
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
push ecx
call fcn.00419900
add esp, 4
call fcn.00456880
test eax, eax
jne 0x456862
call fcn.00456770
mov eax, 0x80000006
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xffffff49
pop edi
add eax, 0xb7
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x459c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e9a49
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
lea edx, [eax + 0x10]
mov dword [edi], edx
mov ebp, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 1
cmp ebp, ebx
je 0x459c8f
movzx ecx, word [ebp]
cmp cx, bx
je 0x459c80
inc eax
cmp word [ebp + eax*2], bx
jne 0x459c68
cmp eax, 0x40
jbe 0x459c80
mov esi, 0x40
mov dword [esp + 0x14], esi
jmp 0x459ca5
xor eax, eax
cmp cx, bx
je 0x459c8f
inc eax
cmp word [ebp + eax*2], bx
jne 0x459c87
mov dword [esp + 0x14], eax
cmp eax, ebx
jge 0x459ca1
push 0x80070057
call fcn.004065a0
mov esi, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x459cbf
mov eax, esi
mov ecx, edi
call fcn.00406490
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, ebx
jle 0x459da3
lea ecx, [ecx]
movzx ebx, word [ebp + eax*2]
cmp ebx, 0x41
jb 0x459cdf
cmp ebx, 0x5a
jbe case.0x459d01.33
cmp ebx, 0x61
jb 0x459ce9
cmp ebx, 0x7a
jbe case.0x459d01.33
lea eax, [ebx - 0x30]
cmp ax, 9
jbe case.0x459d01.33
lea eax, [ebx - 0x21]
cmp eax, 0x3e
ja case.0x459d01.34
movzx ecx, byte [eax + 0x459dc4]
jmp dword [ecx*4 + 0x459dbc]
mov eax, dword [edi]
mov ebp, dword [eax - 0xc]
lea esi, [ebp + 1]
test esi, esi
js 0x459c97
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x459d2e
mov eax, esi
mov ecx, edi
call fcn.00406490
mov eax, dword [edi]
mov word [eax + ebp*2], bx
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x459c97
mov ebp, dword [esp + 0x34]
jmp 0x459d85
mov eax, dword [edi]
mov ebx, dword [eax - 0xc]
lea esi, [ebx + 1]
test esi, esi
js 0x459c97
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x459d6f
mov eax, esi
mov ecx, edi
call fcn.00406490
mov eax, dword [edi]
mov ecx, 0x2e
mov word [eax + ebx*2], cx
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x459c97
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor eax, eax
mov word [edx + esi*2], ax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jl 0x459cd0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x45c110
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
push 0
push 0
mov byte [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
mov dword [esi + 4], eax
call fcn.0045c080
add esp, 4
test al, al
je 0x45c150
mov eax, dword [esi + 4]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete cl
mov byte [esi], cl
mov eax, esi
pop ecx
ret

Function at 0x45c700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e9a49
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
lea edx, [eax + 0x10]
mov dword [edi], edx
mov ebp, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 1
cmp ebp, ebx
je 0x45c798
movzx ecx, word [ebp]
cmp cx, bx
je 0x45c782
inc eax
cmp word [ebp + eax*2], bx
jne 0x45c768
cmp eax, 0x80
jbe 0x45c782
mov esi, 0x80
mov dword [esp + 0x14], esi
jmp 0x45c7ae
xor eax, eax
cmp cx, bx
je 0x45c798
lea esp, [esp]
inc eax
cmp word [ebp + eax*2], bx
jne 0x45c790
mov dword [esp + 0x14], eax
cmp eax, ebx
jge 0x45c7aa
push 0x80070057
call fcn.004065a0
mov esi, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x45c7c8
mov eax, esi
mov ecx, edi
call fcn.00406490
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, ebx
jle 0x45c8a9
movzx ebx, word [ebp + eax*2]
cmp ebx, 0x41
jb 0x45c7e5
cmp ebx, 0x5a
jbe case.0x45c807.33
cmp ebx, 0x61
jb 0x45c7ef
cmp ebx, 0x7a
jbe case.0x45c807.33
lea eax, [ebx - 0x30]
cmp ax, 9
jbe case.0x45c807.33
lea eax, [ebx - 0x21]
cmp eax, 0x3e
ja case.0x45c807.34
movzx ecx, byte [eax + 0x45c8c8]
jmp dword [ecx*4 + 0x45c8c0]
mov eax, dword [edi]
mov ebp, dword [eax - 0xc]
lea esi, [ebp + 1]
test esi, esi
js 0x45c7a0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x45c834
mov eax, esi
mov ecx, edi
call fcn.00406490
mov eax, dword [edi]
mov word [eax + ebp*2], bx
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x45c7a0
mov ebp, dword [esp + 0x34]
jmp 0x45c88b
mov eax, dword [edi]
mov ebx, dword [eax - 0xc]
lea esi, [ebx + 1]
test esi, esi
js 0x45c7a0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x45c875
mov eax, esi
mov ecx, edi
call fcn.00406490
mov eax, dword [edi]
mov ecx, 0x2e
mov word [eax + ebx*2], cx
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x45c7a0
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor eax, eax
mov word [edx + esi*2], ax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jl 0x45c7d6
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x45c910
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ea300
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
xor ebp, ebp
push ebp
xor bl, bl
push ebp
mov byte [esp + 0x28], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
push edi
mov dword [esp + 0x24], edi
call fcn.0045c080
add esp, 4
test al, al
je 0x45c976
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
mov byte [esp + 0x1c], bl
mov dword [esp + 0x38], ebp
test bl, bl
je 0x45c9c2
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
push 0x2021f
lea eax, [esp + 0x28]
push eax
mov eax, str.SoftwareGoogleCommonRlz
mov ecx, 0x80000002
mov byte [esp + 0x40], 1
call fcn.00405df0
test eax, eax
je 0x45c9df
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x45c9bb
push eax
call dword [section..rdata]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp esi, ebp
je 0x45c9fe
xor eax, eax
cmp word [esi], bp
je 0x45c9fe
lea ebx, [ebx]
cmp eax, 0x80
jae 0x45c9ac
inc eax
cmp word [esi + eax*2], bp
jne 0x45c9f0
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0045c700
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
add esp, 8
mov esi, eax
cmp eax, ebp
je 0x45ca3e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push ebp
push 0x50bcf8
push edi
call dword [0x4f9008]
cmp eax, ebp
mov eax, dword [esp + 0x18]
je 0x45ca76
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ca5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
je 0x45ca65
push edi
call dword [section..rdata]
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
jmp 0x45c9c3
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ca92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
je 0x45ca9d
push edi
call dword [section..rdata]
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x45d100
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
push str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
push ebx
push ebx
mov esi, eax
mov dword [esp + 0x1c], 0x81
mov byte [esp + 0x20], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
push edi
mov dword [esp + 0x1c], edi
call fcn.0045c080
add esp, 4
test al, al
je 0x45d197
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
mov byte [esp + 0x14], al
cmp al, bl
je 0x45d197
cmp esi, ebx
je 0x45d190
xor eax, eax
lea ecx, [esp + 0x1c]
mov word [esi], ax
push ecx
mov edx, 0x20219
mov eax, str.SoftwareGoogleCommonRlz
mov ecx, 0x80000002
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00404dd0
test eax, eax
je 0x45d1a7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x45d190
push eax
call dword [section..rdata]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x20
ret
push 0x50bcf8
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x18]
call fcn.00414e80
test eax, eax
je 0x45d1de
xor eax, eax
mov word [esi], ax
lea esi, [esp + 0x1c]
call fcn.00405e70
lea esi, [esp + 0x14]
call fcn.0045c160
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x20
ret
lea esi, [esp + 0x1c]
call fcn.00405e70
lea esi, [esp + 0x14]
call fcn.0045c160
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x20
ret
Function at 0x45d200
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4eaf26
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
mov dword [esp + 0x20], eax
test eax, eax
je 0x45d2a8
mov dword [eax], 0
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x104
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x45d2af
or ebp, 0xffffffff
lea eax, [esi - 0x10]
mov dword [esp + 0x23c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x45d2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x45d3a8
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d2b6
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x24]
mov ebx, eax
push ecx
lea eax, [esp + 0x18]
call fcn.00406330
mov esi, dword [esp + 0x14]
mov edi, 0x50c0e8
mov eax, esi
call fcn.0045e440
xor ebx, ebx
or ebp, 0xffffffff
cmp eax, ebx
je 0x45d33d
sub eax, esi
sar eax, 1
js 0x45d33d
inc eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
call fcn.004144c0
lea edi, [esp + 0x14]
mov byte [esp + 0x23c], 1
call fcn.00403900
mov byte [esp + 0x23c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push esi
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
lea eax, [esi - 0x10]
jne 0x45d37f
mov dword [esp + 0x23c], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x45d2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x45d3a8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
mov dword [esp + 0x23c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x45d3a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004c9392
add esp, 0x22c
ret
Function at 0x45d3d0
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x4ebf76
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
test ebp, ebp
jne 0x45d41d
xor al, al
jmp 0x45d582
cmp byte [0x52ffbd], 0
je 0x45d439
mov eax, 0x530324
mov edi, ebp
call fcn.00403900
mov al, 1
jmp 0x45d582
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0xb4], 0
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x88]
push edx
mov word [esp + 0x8c], ax
mov dword [esp + 0x8e], eax
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov word [esp + 0xaa], ax
mov dword [esp + 0x28], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x45d525
lea esi, [esp + 0x24]
call fcn.0045e9e0
mov eax, esi
push eax
lea ebx, [esp + 0x88]
mov byte [esp + 0xb8], 1
call fcn.0045e680
test al, al
je 0x45d514
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x1c], 0
call dword [0x4f903c]
test eax, eax
je 0x45d514
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.0045ebf0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0
call fcn.0045e930
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0
call fcn.0045d200
add esp, 4
test al, al
jne 0x45d542
xor ecx, ecx
jmp 0x45d546
mov ecx, dword [esp + 0x1c]
push ebp
lea edx, [esp + 0x1c]
call fcn.0045d5b0
mov bl, al
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d580
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004c9392
add esp, 0xa4
ret
Function at 0x463040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ea1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xc], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00406140
push edi
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.00464140
mov byte [esp + 0x38], bl
cmp dword [esp + 0x24], 0x10
mov dword [esp + 8], 1
jb 0x4630cd
mov eax, dword [esp + 0x10]
push eax
call fcn.004c9387
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c9392
add esp, 0x34
ret

Function at 0x464f10
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [eax]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464f18
sub eax, esi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0x464f40
lea esp, [esp]
movzx esi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, esi
cmp edx, eax
jne 0x464f30
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.004cd152
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x464f6b
add eax, 0x7fffffff
pop esi
ret