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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51426f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x56a5a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push str.CShellApp::ExitApp__
push 0x64
push str.._shellapp.cpp
lea eax, [esp + 0x20]
push eax
call fcn.004020c4
mov dword [esp + 0x30], esi
cmp dword [0x5717a0], esi
je 0x40135a
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.0040201a
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [0x5717a0], 1
call fcn.004012b2
mov esi, eax
jmp 0x401336

Function at 0x401480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d409
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x56a5a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0xc]
push eax
push str.CShellApp::OpenPublinkDlg
push 0x11d
push str.._shellapp.cpp
lea eax, [esp + 0x20]
push eax
call fcn.004020c4
and dword [esp + 0x30], 0
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
add eax, 0x28
push eax
call fcn.00460da5
mov dword [esp + 8], eax
mov esi, eax
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.0040201a
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401a58
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [section..rdata]
test eax, eax
jne 0x401abc
cmp dword [ebp + 0xc], 1
je 0x401a94
cmp dword [ebp + 0xc], 2
je 0x401a94
push 0xd
pop eax
jmp 0x401abc
mov eax, dword [ebp - 4]
test edi, edi
je 0x401ab6
test eax, eax
je 0x401ab1
test al, 1
jne 0x401a8f
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x401ab6
jmp 0x401a8f
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x401afb
Capabilities:
Persist via run registry key

Disassembly:
push 0x42c
mov eax, 0x50ac77
call fcn.004d0314
xor eax, eax
mov ebx, 0x206
xor esi, esi
push ebx
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push esi
push eax
mov dword [ebp - 0x434], esi
call fcn.004ce6f0
add esp, 0xc
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 4], esi
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
lea eax, [ebp - 0x430]
call fcn.00402279
cmp eax, esi
je 0x401b89
push str.Open_Register_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun_Failed_
push str.ERROR_CHECK_BOOLEX:lResult__ERROR_SUCCESSMSG:__s
push 0xec
push str.d:code_sharecube_branches_branch_wps_release_srcclientxxliveshellxliveshell_hlp.h
mov dword [ebp - 0x434], 0x80004005
call fcn.0040f52f
add esp, 0x10
jmp 0x401c79
push str.klive
lea eax, [ebp - 0x430]
push eax
lea esi, [ebp - 0x438]
lea edi, [ebp - 0x424]
mov dword [ebp - 0x438], 0x104
call fcn.00401a58
mov esi, eax
xor eax, eax
push ebx
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004ce6f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x570480]
call dword [0x51a3d4]
lea eax, [ebp - 0x428]
push eax
call fcn.004028b3
mov byte [ebp - 4], 1
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x428]
push str.__s___AutoRun
push eax
call fcn.00402363
add esp, 0xc
test esi, esi
jne 0x401c27
push dword [ebp - 0x428]
mov eax, edi
push eax
call fcn.004ca0f8
pop ecx
pop ecx
test eax, eax
je 0x401c6a
push dword [ebp - 0x428]
lea eax, [ebp - 0x430]
push str.klive
push eax
call fcn.00401ac6
test eax, eax
je 0x401c6a
push str.Add_Register_Key_Value_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunKLive_Failed_
push str.ERROR_CHECK_BOOLEX:lResult__ERROR_SUCCESSMSG:__s
push 0xf9
push str.d:code_sharecube_branches_branch_wps_release_srcclientxxliveshellxliveshell_hlp.h
xor esi, esi
mov dword [ebp - 0x434], 0x80004005
call fcn.0040f52f
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.004028da
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x430]
call fcn.00402262
mov eax, dword [ebp - 0x434]
call fcn.004d0397
ret
Function at 0x401dd4
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x50d39c
call fcn.004d02ab
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call dword [0x51a7d4]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004022e5
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov edi, str.d:code_sharecube_branches_branch_wps_release_srcclientxxliveshellxliveshell_hlp.h
push str.path:__s
push 0x70
push edi
push 4
pop esi
call fcn.0040f52f
add esp, 0x10
push dword [ebp + 8]
call dword [0x51a4b0]
test eax, eax
je 0x401f48
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x10]
call dword [0x51a490]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x401e52
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x75
jmp 0x401f3c
push dword [ebp - 0x10]
call dword [0x51a4b4]
test eax, eax
je 0x401f1e
push str.shdocvw.dll
call dword [0x51a3dc]
cmp eax, ebx
jne 0x401e8e
push str.ERROR_CHECK_BOOLEX:hMod
push 0x7c
push edi
push 5
pop ecx
mov dword [ebp - 0x14], 0x80004005
call fcn.0040ef48
jmp 0x401f48
push str.SHGetIDispatchForFolder
push eax
call dword [0x51a3e0]
cmp eax, ebx
jne 0x401ea7
push str.ERROR_CHECK_BOOLEX:fnSHGetIDispatchForFolder
push 0x7e
jmp 0x401e79
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x1c]
call eax
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x401ed7
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x81
push edi
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
jmp 0x401f0f
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x94]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x401efb
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x84
jmp 0x401ec9
push dword [ebp - 0x20]
call dword [0x51a510]
push 1
push dword [ebp - 0x20]
call dword [0x51a500]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
call fcn.00401da9
jmp 0x401f48
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [0x51a494]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x401f48
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x8d
push edi
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
mov byte [ebp - 4], bl
lea eax, [ebp - 0x10]
push eax
call fcn.004025f7
cmp dword [ebp - 0x1c], ebx
je 0x401f62
push dword [ebp - 0x1c]
call dword [0x51a818]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004028da
mov eax, dword [ebp - 0x14]
call fcn.004d0383
ret
Function at 0x4035be
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c2cb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x56a5a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push dword [ebp + 8]
lea esi, [esp + 0x18]
mov edi, ebx
call fcn.00403db9
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
lea edi, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00403e23
mov esi, dword [esp + 0x18]
test al, al
jne 0x403624
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xc]
call fcn.00404693
test al, al
je 0x40366e
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
call fcn.00403eb8
and dword [esp + 0x38], 0
push esi
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, ebx
call fcn.00403c37
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
or dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.004038da
lea esi, [esp + 0x14]
call fcn.004036d0
add eax, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c2a6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x56a5a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push dword [ebp + 8]
lea esi, [esp + 0x18]
mov edi, ebx
call fcn.004040aa
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
lea edi, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040410b
mov esi, dword [esp + 0x18]
test al, al
jne 0x4037ec
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xc]
call fcn.00404693
test al, al
je 0x40384b
lea eax, [esp + 0xc]
push eax
call fcn.00403716
and dword [esp + 0x38], 0
push eax
push dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
call fcn.00404145
mov byte [esp + 0x38], 1
push esi
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, ebx
call fcn.00403f28
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 0
lea eax, [esp + 0x1c]
push eax
call fcn.0040391a
or dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.00403148
lea esi, [esp + 0x14]
call fcn.004038a0
add eax, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x406a82
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004d60f0
push ebx
push edi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x1f0fff
call dword [0x51a39c]
mov edi, eax
cmp edi, 0xffffffff
jne 0x406aad
xor eax, eax
jmp 0x406b00
push esi
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push edi
call fcn.004fdb30
mov esi, 0x104
test eax, eax
je 0x406ae3
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x1004]
push edi
call fcn.004fdb36
mov ebx, eax
test ebx, ebx
jne 0x406af6
push esi
push dword [ebp + 0xc]
push edi
call fcn.004fdb3c
push dword [ebp + 0xc]
call dword [0x51a3e4]
push edi
call dword [0x51a3ac]
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x406b04
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1210
call fcn.004d60f0
mov eax, dword [0x56a5a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x1000
lea eax, [ebp - 0x1210]
push eax
call fcn.004fdb42
test eax, eax
je 0x406ba5
push esi
push edi
call dword [0x51a384]
mov edi, eax
mov eax, dword [ebp - 0x210]
shr eax, 2
xor esi, esi
test eax, eax
jle 0x406ba1
mov eax, dword [ebp + esi*4 - 0x1210]
cmp edi, eax
je 0x406b93
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.00406a82
pop ecx
pop ecx
test eax, eax
je 0x406b93
lea eax, [ebp - 0x20c]
push eax
call fcn.004cbb77
lea eax, [ebp - 0x20c]
mov dword [esp], 0x52c108
push eax
call fcn.004cbbe7
pop ecx
pop ecx
test eax, eax
jne 0x406bb1
mov eax, dword [ebp - 0x210]
inc esi
shr eax, 2
cmp esi, eax
jl 0x406b50
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c9b4d
leave
ret
mov eax, dword [ebp + esi*4 - 0x1210]
jmp 0x406ba3
Function at 0x4070c5
Capabilities:
Check if file exists

Disassembly:
push 0x22c
mov eax, 0x516744
call fcn.004d0314
lea eax, [ebp - 0x234]
push eax
call fcn.0040df06
and dword [ebp - 4], 0
lea eax, [ebp - 0x234]
push eax
push str._ChangeDir
call fcn.0040695b
mov eax, dword [ebp - 0x224]
mov ecx, eax
sub ecx, dword [ebp - 0x228]
mov edi, str..xliveshell.cpp
and ecx, 0xfffffffc
cmp ecx, 4
je 0x407128
push str.ASSERT:_vecCmdParams.size____1
push 0x9e
push edi
xor ecx, ecx
call fcn.0040ef48
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x228]
sar eax, 2
test eax, eax
ja 0x40713a
call fcn.004cad24
mov eax, dword [ebp - 0x228]
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call fcn.004022e5
mov byte [ebp - 4], 1
push dword [eax]
mov esi, dword [0x51a4b0]
call esi
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004025f7
test bl, bl
je 0x40718a
push str.ASSERT:_CPath_vecCmdParams_0__.FileExists__
push 0x9f
push edi
xor ecx, ecx
call fcn.0040ef48
push str.Kingsoft_XShellLive_Instance_Mutex
push 0
push 0x100000
call dword [0x51a34c]
mov ebx, eax
test ebx, ebx
je 0x4071b4
push 0xffffffffffffffff
push ebx
call dword [0x51a360]
push ebx
call dword [0x51a3ac]
jmp 0x4071d1
call dword [0x51a378]
cmp eax, 2
je 0x4071d1
push str.ASSERT:_2L__::GetLastError__
push 0xa9
push edi
xor ecx, ecx
call fcn.0040ef48
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004ce6f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x570484]
call dword [0x51a3d4]
test eax, eax
jne 0x40721d
push str.ASSERT:_dwRet
push 0xaf
push edi
xor ecx, ecx
call fcn.0040ef48
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004022e5
mov byte [ebp - 4], 2
push dword [ebp - 0x21c]
call esi
test eax, eax
jne 0x407252
push str.ASSERT:_pathTemp.FileExists__
push 0xb2
push edi
xor ecx, ecx
call fcn.0040ef48
lea eax, [ebp - 0x21c]
call fcn.0040a9fd
push 0x52ab44
lea eax, [ebp - 0x21c]
call fcn.0040d65b
push dword [ebp - 0x21c]
call dword [0x51a3dc]
mov esi, eax
test esi, esi
jne 0x407291
push str.ASSERT:_hModule
push 0xb7
push edi
xor ecx, ecx
call fcn.0040ef48
push str.SetBindData
push esi
call dword [0x51a3e0]
mov esi, eax
test esi, esi
jne 0x4072b5
push str.ASSERT:_pfnSetBindData
push 0xbc
push edi
xor ecx, ecx
call fcn.0040ef48
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x228]
sar eax, 2
test eax, eax
ja 0x4072cd
call fcn.004cad24
mov eax, dword [ebp - 0x228]
push dword [eax]
call esi
pop ecx
test eax, eax
jne 0x4072ee
push str.ASSERT:_bResult
push 0xbf
push edi
xor ecx, ecx
call fcn.0040ef48
push ecx
mov eax, esp
mov dword [ebp - 0x238], esp
push 0xcc
push eax
call fcn.0040df84
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.0040a31f
pop ecx
call fcn.00409c6d
mov byte [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004025f7
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x234]
push eax
call fcn.0040dd8b
call fcn.004d0397
ret
Function at 0x408d04
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x5120aa
call fcn.004d02ab
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push str.OpenFamilialFolder__
push 0xbd
mov esi, str.d:code_sharecube_branches_branch_wps_release_srcclientxxliveshellxliveshell_hlp.h
push esi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x14], ebx
call fcn.004020c4
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040df3e
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00408ccb
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.004022e5
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x10]
call fcn.00403a2e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.004025f7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004028da
cmp dword [ebp + 8], ebx
je 0x408e12
lea eax, [ebp + 8]
push eax
call fcn.004028b3
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
call fcn.004099bc
pop ecx
mov byte [ebp - 4], 5
lea edi, [ebp + 8]
call fcn.00403a2e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004028da
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jne 0x408dee
push str.ERROR_CHECK_BOOLEX:_IsStrEmpty_strShareBoxUserName_
push 0xc6
push esi
push 5
pop ecx
mov dword [ebp - 0x14], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004028da
jmp 0x408e92
push str.sharebox
lea eax, [ebp - 0x10]
call fcn.0040d65b
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.0040d65b
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004028da
lea eax, [ebp + 8]
push 0xcf
push eax
call fcn.0040df84
pop ecx
pop ecx
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x10]
call fcn.0040d65b
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004028da
push dword [ebp - 0x10]
call dword [0x51a4b0]
test eax, eax
je 0x408e78
push dword [ebp - 0x10]
call dword [0x51a4b4]
test eax, eax
je 0x408e78
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push dword [ebp - 0x10]
push eax
call fcn.004025b6
mov byte [ebp - 4], 7
mov byte [ebp - 4], 1
call fcn.00401dd4
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x408e92
push str.ERROR_CHECK_BOOLEX:pathFamilialFolder.FileExists____pathFamilialFolder.IsDirectory__
push 0xcb
push esi
push 5
pop ecx
mov dword [ebp - 0x14], 0x80004005
call fcn.0040ef48
mov byte [ebp - 4], bl
lea eax, [ebp - 0x10]
push eax
call fcn.004025f7
mov esi, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
push eax
call fcn.0040201a
mov eax, esi
call fcn.004d0383
ret
Function at 0x408eb6
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x56a5a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x50f5a8
call fcn.004d02ab
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x214]
push 0x527fec
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esi
call fcn.004025b6
mov dword [ebp - 4], esi
xor eax, eax
push 0x206
mov word [ebp], ax
xor ebx, ebx
lea eax, [ebp + 2]
push esi
inc ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.004ce6f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0040df3e
mov dword [ebp - 4], ebx
lea esi, [ebp - 0x1c]
call fcn.0040d18b
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.004022e5
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x10]
call fcn.00403a2e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.004025f7
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.004028da
push 0x52b71c
mov eax, edi
call fcn.0040d65b
push dword [ebp - 0x10]
call dword [0x51a4b0]
test eax, eax
je 0x408fa6
push dword [ebp - 0x10]
lea eax, [ebp]
push 0x104
push eax
push 0x527fec
push str.UserName
push str.FamilialAffection
call dword [0x51a3d8]
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call fcn.0040283d
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004025f7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004c9b4d
add ebp, 0x20c
leave
ret
Function at 0x4099bc
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x56a5a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x50f4c4
call fcn.004d02ab
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x214]
push 0x527fec
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esi
call fcn.004025b6
mov dword [ebp - 4], esi
xor eax, eax
push 0x206
mov word [ebp], ax
xor ebx, ebx
lea eax, [ebp + 2]
push esi
inc ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.004ce6f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0040df3e
mov dword [ebp - 4], ebx
lea esi, [ebp - 0x1c]
call fcn.0040d18b
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.004022e5
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x10]
call fcn.00403a2e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.004025f7
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.004028da
push 0x52b71c
mov eax, edi
call fcn.0040d65b
push dword [ebp - 0x10]
call dword [0x51a4b0]
test eax, eax
je 0x409aac
push dword [ebp - 0x10]
lea eax, [ebp]
push 0x104
push eax
push 0x527fec
push str.ShareboxUser
push str.FamilialAffection
call dword [0x51a3d8]
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call fcn.0040283d
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004025f7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004c9b4d
add ebp, 0x20c
leave
ret
Function at 0x40a1a1
Capabilities:
Persist via run registry key

Disassembly:
push 0x22c
mov eax, 0x50f3f1
call fcn.004d0314
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 1
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
lea eax, [ebp - 0x228]
call fcn.00402279
cmp eax, ebx
je 0x40a21f
push str.Open_Register_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_Failed_
push str.ERROR_CHECK_BOOLEX:lResult__ERROR_SUCCESSMSG:__s
push 0x525
push str.d:code_sharecube_branches_branch_wps_release_srcclientincludexlive_xlive_hlp.h
xor esi, esi
mov dword [ebp - 0x220], 0x80004005
call fcn.0040f52f
add esp, 0x10
jmp 0x40a2f6
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x234], 0x104
call fcn.004ce6f0
add esp, 0xc
push str.SendTo
lea eax, [ebp - 0x228]
push eax
lea esi, [ebp - 0x234]
lea edi, [ebp - 0x21c]
call fcn.00401a58
cmp eax, ebx
je 0x40a279
push str.Query_Register_SendTo_Failed_
push str.ERROR_CHECK_BOOLEX:lResult__ERROR_SUCCESSMSG:__s
push 0x52a
jmp 0x40a201
lea esi, [ebp - 0x228]
call fcn.00402262
lea eax, [ebp - 0x230]
push str..lnk
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a149
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004022e5
mov byte [ebp - 4], 3
push dword [ebp - 0x230]
lea eax, [ebp - 0x22c]
call fcn.0040d65b
mov edi, dword [ebp - 0x238]
lea eax, [ebp - 0x22c]
call fcn.00403a2e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
push eax
call fcn.004025f7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.004028da
mov byte [ebp - 4], bl
lea esi, [ebp - 0x228]
call fcn.00402262
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004028da
mov eax, dword [ebp - 0x220]
call fcn.004d0397
ret