joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432d10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046982c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004326b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046975a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00464251
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00464251
push 1
push 0
push 0
mov ecx, esi
call fcn.004641f9
push 1
push 0
push 1
mov ecx, esi
call fcn.004641f9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046989e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x432e90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046982c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004326b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046975a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x432f54
cmp dword [esp + 0x40], 1
jne 0x432f52
cmp ecx, eax
jge 0x432f54
mov eax, ecx
cmp eax, 0xc8
jge 0x432f60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00432d10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046989e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4336d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471c33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046266f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00469ad4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046b48d
test eax, eax
je 0x4337ec
mov ecx, dword [esp + 0x3c]
call fcn.00469b01
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4337b0
push edi
mov ecx, esi
call fcn.0046630c
mov ecx, esi
call fcn.00433950
cmp dword [esp + 0x38], 1
jne 0x4337e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00466476
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x439710
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x472238
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x439749
inc eax
mov dword [esi + 0x10], eax
jmp 0x43985c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43975d
mov eax, 0xffffffc7
jmp 0x43985e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43976e
cmp dword [esi + 8], eax
jne 0x43975d
cmp dword [esi + 8], eax
jne 0x439787
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439787
mov eax, 0xffffffc7
jmp 0x43985e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43979b
push eax
mov ecx, ebx
call fcn.00438f40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004011e0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4397cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401230
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004386b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4397ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x478ec0
call fcn.00401410
mov eax, dword [esp + 0x38]
jmp 0x43985e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439570
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x439843
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439590
mov esi, eax
test esi, esi
jne 0x439873
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439570
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x439815
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x478ec0
call fcn.00401410
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x478ec0
call fcn.00401410
mov eax, esi
jmp 0x43985e
Function at 0x43cc70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43cca3
push esi
call fcn.0043fc30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43cc9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43cd29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43cd12
mov eax, dword [esi + 8]
test eax, eax
je 0x43ccc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43cd0e
cmp eax, 2
je 0x43cd12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ccba
cmp eax, 3
je 0x43cced
cmp eax, 1
jne 0x43ccba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ccba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ccba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043cd50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43cd38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043cd50
add esp, 4
pop esi
ret

Function at 0x463464
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46349c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004660bf
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00466097
jmp 0x4634a8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x464b55
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x464b97
call fcn.0046c33d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464b97
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464b8e
xor eax, eax
jmp 0x464b9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00464ba5
pop edi
pop esi
pop ebx
ret 4

Function at 0x46c9fb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46ca29
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46ca47
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046c961
jmp 0x46ca47
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46ca47
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046c961
test edi, edi
mov eax, edi
jne 0x46ca31
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407660
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [0x44700c]
ret 8

Function at 0x407680
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x407694
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [0x447094]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [0x44700c]
pop edi
pop esi
ret 0xc

Function at 0x4076c0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x4076d6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [0x447094]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4076e3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [0x44700c]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x408150
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [0x447020]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x4081c6
xor eax, eax
cmp ecx, edi
je 0x4081b4
push ecx
call dword [0x447014]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x4081d4
cmp ecx, edi
je 0x408272
push ecx
jmp 0x40826c
mov esi, dword [0x447008]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x40823c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00408150
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x40828b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x408200
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40824f
push eax
call dword [0x447014]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [0x447018]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x408272
push eax
call dword [0x447014]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0041e18f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x408274
push ecx
call dword [0x447014]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e18f
mov esp, ebp
pop ebp
ret 4
Function at 0x40abd0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
call fcn.0041dfb0
add esp, 0xc
push 1
push 0x23
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x4472b0]
test eax, eax
jne 0x40ac33
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [0x447120]
push 7
lea ecx, [esp + 0xc]
push 0x447e1c
push ecx
call fcn.0041e1cb
add esp, 0xc
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ac62
push eax
lea eax, [esp + 0xc]
push eax
call dword [0x4470b0]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00404870
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041e18f
add esp, 0x210
ret

Function at 0x40af90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x445890
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4538d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.0040ac90
add esp, 4
push str.emalware.300
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x34], 0
call fcn.00404ae0
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
mov ebx, dword [0x447090]
mov edi, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, dword [0x452024]
je 0x40b017
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40b017
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0041ec15
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
mov dword [esp + 0x28], 0xffffffff
cmp ecx, dword [0x452024]
je 0x40b048
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40b048
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0041ec15
add esp, 4
test edi, edi
je 0x40b064
mov eax, 2
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
lea edx, [esp + 0x1c]
push edx
call fcn.0040ac90
add esp, 4
push str.emalware.010
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x34], 1
call fcn.00404ae0
mov eax, dword [eax]
push eax
call esi
mov esi, eax
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x452024]
je 0x40b0b9
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40b0b9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0041ec15
add esp, 4
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
mov dword [esp + 0x28], 0xffffffff
cmp edx, dword [0x452024]
je 0x40b0ea
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40b0ea
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.0041ec15
add esp, 4
xor eax, eax
test esi, esi
setne al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x40c460
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x445987
mov eax, dword fs:[0]
push eax
sub esp, 0xb24
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0xb20], eax
push ebx
push esi
mov eax, dword [0x4538d0]
xor eax, esp
push eax
lea eax, [esp + 0xb30]
mov dword fs:[0], eax
mov esi, dword [esp + 0xb40]
mov eax, dword [esi + 0xc]
xor bl, bl
test eax, eax
je 0x40c4b9
push eax
call fcn.0041ef9b
add esp, 4
cmp eax, 1
jne 0x40c4b9
mov bl, al
push 1
push 0
lea ecx, [esp + 0x6c]
call fcn.0040c130
mov eax, dword [esi + 0x10]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0xb40], 0
call fcn.00404870
mov edx, dword [esi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0xb44], 1
call fcn.00404870
mov eax, dword [esi + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0xb48], 2
call fcn.00404870
lea ecx, [esp + 0x418]
mov byte [esp + 0xb44], 0
call fcn.0040fab0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x92e]
push edx
mov byte [esp + 0xb44], 3
mov dword [esp + 0x1c], 0x104
mov word [esp + 0x930], cx
call fcn.0041dfb0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x928]
push ecx
call dword [0x447004]
test bl, bl
jne 0x40c5df
xor edx, edx
cmp dx, word [esp + 0x924]
je 0x40c5df
lea eax, [esp + 0x924]
push str.SYSTEM
push eax
call fcn.0041e3b4
add esp, 8
test eax, eax
je 0x40c5df
mov edx, dword [esi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.00404870
lea eax, [esp + 0x410]
push eax
lea ecx, [esp + 0x24]
call fcn.0040d4a0
push 0
mov byte [esp + 0xb3c], 4
call dword [0x447320]
push eax
lea ecx, [esp + 0x24]
call fcn.0040a030
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb38], 3
call fcn.0040d110
jmp 0x40c5f5
mov ecx, dword [esp + 0x124]
push 1
push ecx
lea ecx, [esp + 0x414]
call fcn.00410730
lea ecx, [esp + 0x40c]
mov byte [esp + 0xb38], 0
call fcn.00408d50
lea ecx, [esp + 0x64]
mov dword [esp + 0xb38], 0xffffffff
call fcn.00408820
xor eax, eax
mov ecx, dword [esp + 0xb30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xb20]
xor ecx, esp
call fcn.0041e18f
add esp, 0xb30
ret

Function at 0x40c650
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
call dword [0x44712c]
push eax
call dword [0x4472ac]
mov esi, eax
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x40c682
call fcn.0040a8b0
push esi
call dword [0x447128]
pop edi
xor eax, eax
pop esi
pop ecx
ret
test esi, esi
je 0x40c6d2
cmp eax, 5
jl 0x40c6d2
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call edi
test eax, eax
jne 0x40c6a4
pop edi
mov eax, 2
pop esi
pop ecx
ret
mov edx, dword [esi + 8]
push edx
call edi
test eax, eax
jne 0x40c6b7
pop edi
mov eax, 3
pop esi
pop ecx
ret
mov eax, dword [esp + 8]
push eax
push esi
call fcn.0040c460
add esp, 8
push esi
call dword [0x447128]
pop edi
xor eax, eax
pop esi
pop ecx
ret
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x40ce04
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
jne 0x40ce82
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ce3a
mov eax, dword [esi + 0x2c]
push 1
push eax
call dword [0x4472fc]
mov ecx, dword [esi + 0x28]
push 0x4481dc
push ecx
call dword [0x44730c]
mov byte [esi + 0x30], 1
push 0x104
lea edx, [esp + 8]
push edx
push 0x4481cc
call dword [0x447268]
test eax, eax
jne 0x40cef4
push eax
push eax
push esi
push 0x40ccc0
push eax
push eax
call dword [0x447134]
test eax, eax
je 0x40ce74
push 0xffffffffffffffff
push eax
call dword [0x447078]
mov eax, dword [esi + 4]
push 0
push eax
call dword [0x447318]
jmp 0x40cef4
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
cmp ecx, 1
jne 0x40cea6
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [0x447368]
mov edx, dword [esi + 4]
push 0
push edx
call dword [0x447318]
jmp 0x40cef4
test ecx, ecx
jne 0x40ceb6
push 0xff
push str.ck_W_nN_O
jmp 0x40ced8
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x40ceca
push 0xff
push 0x448188
jmp 0x40ced8
test eax, eax
jne 0x40cef4
push 0xff
push 0x448170
lea eax, [esp + 0xc]
push eax
call fcn.0041f6a4
mov edx, dword [esi + 0x28]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push edx
call dword [0x44730c]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041e18f
add esp, 0x20c
ret 0x10

Function at 0x40d320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445a08
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4538d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x452028]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x448204
push eax
mov dword [esp + 0x28], 0
call fcn.00404a40
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
add esp, 0x10
push ecx
push esi
push edx
push eax
call dword [0x447224]
lea ecx, [esi - 0xc]
mov edi, eax
cmp ecx, dword [0x452024]
je 0x40d3b0
add esi, 0xfffffff4
push esi
call dword [0x447090]
test eax, eax
jg 0x40d3ae
push esi
call fcn.0041ec15
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40d3d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x1c], ax
call fcn.0041dfb0
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 0
call dword [0x447020]
test eax, eax
jne 0x40d472
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [0x44701c]
mov ecx, dword [esp + 4]
push ecx
call dword [0x447014]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00404870
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041e18f
add esp, 0x218
ret