joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40caf9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406c7a
and dword [ebp - 0x14], 0
cmp dword [0x418204], 0
mov dword [ebp - 0x18], eax
jne 0x40cbac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cc54
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40cc54
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x418204], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x418208], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41820c], eax
call edi
push eax
call esi
mov dword [0x418214], eax
test eax, eax
je 0x40cbac
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x418210], eax
mov eax, dword [0x418210]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cc05
cmp dword [0x418214], ecx
je 0x40cc05
push eax
call esi
push dword [0x418214]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cc05
test ebx, ebx
je 0x40cc05
call edi
test eax, eax
je 0x40cbfc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cbfc
test byte [ebp - 8], 1
jne 0x40cc05
or dword [ebp + 0x10], 0x200000
jmp 0x40cc38
mov eax, dword [0x418208]
cmp eax, dword [ebp - 0x18]
je 0x40cc38
push eax
call esi
test eax, eax
je 0x40cc38
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cc38
mov eax, dword [0x41820c]
cmp eax, dword [ebp - 0x18]
je 0x40cc38
push eax
call esi
test eax, eax
je 0x40cc38
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x418204]
call esi
test eax, eax
je 0x40cc54
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cc56
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040382b
leave
ret
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov dword [ebx + ecx*4 + 0x56], edi
mov esi, dword [ebp - 0x63]
push esi
pop ds
inc ebp
mov byte [edx + 0x78], ch
pop esp
push esi
call 0x9d86e0
mov ecx, dword [ebp + 8]
fst dword [sym.imp.MSVCRT.dll__iob]
push eax
push ecx
add edx, 0x34
push str._s:__s___d__n
push edx
call dword [0x40ea80]
sti
lodsb al, byte [esi]
add al, byte [ecx]
add esp, 0x14
test eax, eax
je 0x401e8c
push eax
push 0x40d2c3
call dword [0x40c17a]
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
push ss
nop
mov ah, 0x90
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
xor edi, 0x11
push ebx
push esi
mov esi, dword [ebp + 0x1a]
push edi
pop ss
int 0x14
jno 0x401eb5
or byte [ecx + 0x573049], cl
mov dword [0x410ba0], eax
push edi
add byte [ebx + 0x410ba0], ah
mov dword [0x410b82], edx
mov ebx, eax
mov eax, dword [esi + 0x14]
test dword [edx + 0x40753e8b], ecx
inc ecx
dec esi
add al, 0x6a
add byte [edx], ch
push ecx
test eax, 0x6dc2
push es
sahf
cmp byte [eax], cl
xchg esp, eax
add byte [ecx - 0x58f7c342], cl
add bh, al
out dx, al
bound eax, qword [eax]
add byte [ebp], ah
cmp al, 0x15
fdivp st(1)
adc eax, 0x14568900
sti
pushal
adc ebx, eax
add byte [ebp - 0x5ec46d40], al
jo 0x401f04
inc ecx
add bh, al
retf 0x6703
invalid

Function at 0x405890
Capabilities:
Encode data using xor

Disassembly:
rol byte [ebp + 0x572b74f6], 0x8b
inc byte [ebx - 0x51ad0037]
mov eax, dword [ebp + 8]
not ecx
dec ecx
mov edi, ecx
mov ecx, 0xeb7f5057
pop eax
invalid
push ebp
mov ebp, esp
mov al, 0xec
and al, 0x53
push esi
push edi
mov edx, dword [esi - 0x6024cc04]
rol byte [ebp + 0x232374ff], cl
jne 0x4058b3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not dword [eax + 0x49]
and dword [esi + eax], 0xffffff97
push es
xchg edi, eax
add eax, 0xdc9d4c89
inc ebx
mov esi, dword [ebx]
add al, 0x83
pushfd
jge 0x405858
rol dword [ebp - 0x741f8a01], 1
inc ebp
or byte [edx - 0x6a], al
push eax
call fcn.00404a60
aam 0x75
add byte [ebx], dh
leave
test esi, esi
mov dword [ebp - 0xc], eax
mov edx, eax
mov dword [ebp - 4], ecx
je 0x405931
inc edi
inc ebp
or al, 0x89
inc ebp
clc
jmp 0x4058ee
in al, 0xf9
loopne 0x405946
or cl, byte [ebx + 0x41cd3d44]
mov dword [ebp + 0xc], ecx
jmp 0x40590b
mov ecx, eax
mov edi, edx
mov ebx, ecx
add edx, eax
shl ebx, 2
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx - 0x7c3474a6]
loope 0x405987
add eax, 4
dec ebx
movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
mov edi, esp
sub eax, 0xbd7ef685
mov eax, dword [ebp + 0x74]
stosd dword es:[edi], eax
pop esi
mov byte [ecx], 0
pop ebx
mov esp, ebp
pop ebp
jb 0x4058cc
nop
nop
nop
sub eax, 0x30ec8b55
push ebp
mov ebp, esp
xor ah, ch
invalid
adc dword [edx + 0x1f3c015], ecx
add byte [eax - 0x1a74fbaf], cl
Function at 0x40a720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x41083e]
push esi
test dword [edi - 0x167af0a9], esi
test ecx, ebp
add dword [eax], eax
add byte [eax - 8], ch
pop es
inc ecx
add bh, al
add eax, 0x410769
xchg esp, eax
aaa
xor dword [eax], eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [0x410808]
cmp eax, 2
add byte [ebp + 0x138], al
call 0x81af66
mov esi, 0x41a80c
test byte [edi + 0x3d8b7a74], dh
push 0xa10040c1
je 0x40a72d
inc eax
add byte [ebx + 0xe7e0176], al
xor ebp, dword [edx + 0xe8a046a]
add edi, edi
push 0xffffffffffffff83
push ss
or bl, ch
adc dword [ecx - 0x19bf3e88], esp
xor edx, edx
rcr byte [edi], cl
or byte [edx - 0x1f7c1efc], cl
add al, 0x85
rcl byte [ebx + 0x36], 0x8a
inc esi
add esi, esp
add eax, 0x8bcb75c0
or eax, 0x4108e0
mov eax, dword [0x41e3fc]
adc dword [esi + 0x5f820f03], 0x44
add byte [ebx + 0xf], bh
test byte [ecx + 0x32], bl
add byte [eax], al
and dword [ebp - 0x7c9a8afc], 0xfffffff9
add dh, byte [ebx + 0x23]
mov eax, 0xc900b2
jmp 0x40a93d
nop
nop
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
mov ecx, 0x22e663af
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x3fde45db
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x35932f2f
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x42160068
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40106a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x4a83f8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4a83fc]
push edi
xor edi, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edi
call fcn.00401063
mov eax, dword [0x4a8400]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4a8404]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
shl eax, 4
cmp dword [0x1a98fac], 0xc
mov dword [ebp - 4], eax
jne 0x4010ef
push edi
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x434]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x1a98fac]
cmp eax, 0xfa9
jne 0x40110b
mov dword [0x1a98fa8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40111f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x1a98efc], edi
mov eax, dword [ebp - 0xc]
add eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a98fa4], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a98fac], 0xc
mov dword [ebp - 4], eax
jne 0x401175
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add ebx, 0x61c88647
dec dword [ebp - 0x20]
jne 0x4010be
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebx
leave
ret 4
Function at 0x40448c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a7250]
jne 0x404496
repz ret
jmp fcn.00409bc4

Function at 0x40b1aa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406f5c
and dword [ebp - 4], 0
cmp dword [0x4b17a4], 0
mov ebx, eax
jne 0x40b25b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b30c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b30c
push eax
call fcn.00406eea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b17a4], eax
call esi
push eax
call fcn.00406eea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b17a8], eax
call esi
push eax
call fcn.00406eea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b17ac], eax
call esi
push eax
call fcn.00406eea
pop ecx
mov dword [0x4b17b4], eax
test eax, eax
je 0x40b25b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406eea
pop ecx
mov dword [0x4b17b0], eax
mov eax, dword [0x4b17b0]
cmp eax, ebx
je 0x40b2b3
cmp dword [0x4b17b4], ebx
je 0x40b2b3
push eax
call fcn.00406f65
push dword [0x4b17b4]
mov esi, eax
call fcn.00406f65
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b2b3
test edi, edi
je 0x40b2b3
call esi
test eax, eax
je 0x40b2aa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b2aa
test byte [ebp - 0xc], 1
jne 0x40b2b3
or dword [ebp + 0x10], 0x200000
jmp 0x40b2ec
mov eax, dword [0x4b17a8]
cmp eax, ebx
je 0x40b2ec
push eax
call fcn.00406f65
pop ecx
test eax, eax
je 0x40b2ec
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2ec
mov eax, dword [0x4b17ac]
cmp eax, ebx
je 0x40b2ec
push eax
call fcn.00406f65
pop ecx
test eax, eax
je 0x40b2ec
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b17a4]
call fcn.00406f65
pop ecx
test eax, eax
je 0x40b30c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b30e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x64cead
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x654398
cmp edx, dword [eax]
je 0x64cecf
add eax, 8
inc ecx
cmp eax, 0x654428
jl 0x64cec0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x654398]
jne 0x64cffd
mov eax, dword [0xa57cf0]
cmp eax, 1
je 0x64cfd7
test eax, eax
jne 0x64cf00
cmp dword [0x6542c4], 1
je 0x64cfd7
cmp edx, 0xfc
je 0x64cffd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64cf37
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064d890
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064dd20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64cf7a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064dd20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6525a4
push edi
call fcn.0064fbf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064d890
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064d8a0
lea eax, [ebp - 0xa0]
push 0x652584
push eax
call fcn.0064d8a0
push dword [esi + 0x65439c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064d8a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0064fb64
add esp, 0x2c
pop edi
jmp 0x64cffd
lea eax, [ebp + 8]
lea esi, [esi + 0x65439c]
push 0
push eax
push dword [esi]
call fcn.0064dd20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40d7b0
Capabilities:
Accept command line arguments

Disassembly:
push 0x84
mov eax, 0x60b097
call fcn.0042d958
mov eax, dword [ebp + 8]
and dword [ebp - 0x18], 0
mov ebx, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x40d7d1
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov ecx, ebx
mov dword [ebp - 0x58], edi
call fcn.00414239
xor esi, esi
cmp dword [ebp - 0x18], esi
jle 0x40d966
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push dword [edi + esi*4]
and dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00414483
xor ecx, ecx
xor eax, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
push 0x3a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push ecx
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004149fa
mov edi, eax
cmp edi, 0xffffffff
je 0x40d8a6
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414259
lea ecx, [ebp - 0x48]
cmp ecx, eax
je 0x40d873
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
push eax
call fcn.00414551
lea ecx, [ebp - 0x70]
call fcn.00415bf1
push edi
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x30]
call fcn.00414259
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x40d89e
mov byte [ebp - 0x54], 0
push dword [ebp - 0x54]
push eax
call fcn.00414551
lea ecx, [ebp - 0x70]
call fcn.00415bf1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.00414702
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.004151a3
lea ecx, [ebp - 0x70]
call fcn.00415bf1
lea ecx, [ebp - 0x88]
call fcn.00415bf1
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x40d91a
mov ecx, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x40d911
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00415d5a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0042d678
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x40d959
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], ecx
cmp eax, 0x1000
jb 0x40d950
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00415d5a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
push eax
push ecx
call fcn.0042d678
pop ecx
pop ecx
mov edi, dword [ebp - 0x58]
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x40d7f3
call fcn.0042d907
ret 8
Function at 0x411372
Capabilities:
Accept command line arguments

Disassembly:
push 0x4c
mov eax, 0x60b4ea
call fcn.0042d958
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4113f5
call fcn.004c12ba
mov edi, eax
lea ecx, [ebp - 0x58]
push str._firstsetup
mov eax, dword [edi]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 7
mov esi, dword [eax + 0x98]
xor eax, eax
mov word [ebp - 0x58], ax
call fcn.00414483
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x14], 1
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
call dword [0x62c6dc]
mov ecx, edi
call esi
mov byte [ebp - 0x3d], 1
test al, al
jne 0x4113f8
mov byte [ebp - 0x3d], bl
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x14], 1
je 0x41143d
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41143d
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], ecx
cmp eax, 0x1000
jb 0x411434
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00415d5a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
push eax
push ecx
call fcn.0042d678
pop ecx
pop ecx
call fcn.004c12ba
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x62c6dc]
mov ecx, edi
call esi
test al, al
je 0x411469
mov edi, dword [0x6b5c44]
mov eax, dword [edi]
mov esi, dword [eax + 0x3c]
jmp 0x411475
call fcn.004c12ba
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x62c6dc]
mov ecx, edi
call esi
cmp byte [ebp - 0x3d], 0
mov byte [ebp - 0x3e], al
jne 0x411502
call fcn.004c12ba
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x120]
mov ecx, esi
call dword [0x62c6dc]
mov ecx, edi
call esi
test al, al
je 0x411502
cmp byte [ebp - 0x3e], 0
jne 0x411502
push ebx
push 3
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, 0x6755b0
push eax
push eax
call fcn.0045e77f
test eax, eax
js 0x4114fd
push ebx
push 2
push 1
push 0xa4c4e40a
push 0x677a4c
push str.StandaloneUpdater::HandleZeroExhaustPolicy
push 0x5a4
push str.d:dbs_shodct1105_210049_0cmd7clientonedriveProductStandaloneUpdater_standaloneupdaterlibStandaloneUpdater.cpp
lea ecx, [ebp - 0x38]
call fcn.0045dd2d
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0045ea98
call fcn.0045e7ff
mov ebx, 0x8004ee06
mov eax, ebx
call fcn.0042d907
ret
Function at 0x427092
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x4270c5
mov ecx, dword [ecx]
lea esi, [ebp - 0x14]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 8], 4
test eax, eax
cmovle esi, eax
test esi, esi
js 0x42713c
cmp dword [edi + 0x14], 8
jb 0x4270f5
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x427133
cmp dword [ebp - 0xc], 4
jne 0x42712e
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [ebx], eax
jmp 0x427133
mov esi, 0x8007065d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d8e5
leave
ret 0x14

Function at 0x427152
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c53ef

Function at 0x427162
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x427198
mov ecx, dword [ecx]
lea esi, [ebp - 0x218]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x214], 0x208
test eax, eax
cmovle esi, eax
and dword [ebp - 0x210], 0
test esi, esi
js 0x427237
cmp dword [edi + 0x14], 8
jb 0x4271d5
mov edi, dword [edi]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push edi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x42722b
cmp dword [ebp - 0x210], 1
jne 0x427226
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
xor esi, esi
call fcn.00414483
jmp 0x42722b
mov esi, 0x8007065d
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d8e5
leave
ret 0x14