joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b3b8
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x1c
mov eax, 0x4bdcb7
call fcn.0041e19c
mov esi, ecx
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403980
mov eax, dword [ebp - 0x24]
xor ebx, ebx
cmp dword [ebp - 0x10], 8
mov dword [ebp - 4], ebx
jae 0x40b3fb
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0040ad6a
test eax, eax
jne 0x40b40d
push ebx
jmp 0x40b4c6
mov edi, 0x206
push edi
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.0041d6a0
push edi
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.0041d6a0
add esp, 0x18
cmp dword [esi + 0xe0], 8
jb 0x40b44a
mov eax, dword [esi + 0xcc]
jmp 0x40b450
lea eax, [esi + 0xcc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [ebp + 0x208]
push eax
push 0x4e58c0
push 0x4c2c10
mov ebx, str.AppUpdate
push ebx
call edi
cmp dword [esi + 0xe0], 8
jb 0x40b486
mov eax, dword [esi + 0xcc]
jmp 0x40b48c
lea eax, [esi + 0xcc]
push eax
push 0x104
lea eax, [ebp]
push eax
push 0x4e58c0
push str.MinVer
push ebx
call edi
lea eax, [ebp + 0x208]
push eax
lea ecx, [esi + 0xe4]
call fcn.004039b0
lea eax, [ebp]
push eax
lea ecx, [esi + 0x100]
call fcn.004039b0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401df0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0041d685
add ebp, 0x414
leave
ret

Function at 0x40bd85
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esi + 0x274]
push ecx
push eax
push esi
push 0x40bd76
push eax
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x270], eax
pop esi
ret

Function at 0x40c4d9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x4c2cf0
mov esi, ecx
call ebp
test eax, eax
mov dword [esi], eax
je 0x40c557
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push 0x4c306c
mov dword [esi + 0x10], eax
call ebp
test eax, eax
mov dword [esi + 4], eax
je 0x40c555
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x40d3c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push str.mainframe_title
lea ecx, [esi + 0x2c]
call dword [0x4e5a14]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x2f0], eax
je 0x40d437
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call fcn.0041d6a0
push 0x4c2da0
lea eax, [ebp - 0x20c]
push 0x4c343c
push eax
call fcn.0041e5d1
mov ecx, dword [esi + 0x2f0]
mov eax, dword [ecx]
add esp, 0x18
lea edx, [ebp - 0x20c]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x2f4]
cmp ecx, ebx
je 0x40d446
call fcn.00412129
mov ecx, dword [esi + 0x2f8]
cmp ecx, ebx
je 0x40d455
call fcn.0040dcaf
mov ecx, dword [esi + 0x2fc]
cmp ecx, ebx
je 0x40d4aa
call fcn.00412b6b
mov eax, dword [esi + 0x2fc]
cmp eax, ebx
je 0x40d475
add eax, 0x4f4
jmp 0x40d477
xor eax, eax
push eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x210], esp
push 0xffffffffffffffff
mov edi, str.WelcomeBar
push edi
call dword [0x4e5a48]
lea ecx, [esi + 0x10]
call dword [0x4e5a64]
mov ecx, dword [esi + 0x2fc]
push edi
call dword [0x4e5a60]
mov ecx, dword [esi + 0x300]
cmp ecx, ebx
je 0x40d4b9
call fcn.0040e0e1
mov ecx, dword [esi + 0x304]
cmp ecx, ebx
je 0x40d4c8
call fcn.00411f8f
mov ecx, dword [esi + 0x308]
cmp ecx, ebx
je 0x40d4d7
call fcn.0040c15d
mov ecx, dword [esi + 0x30c]
cmp ecx, ebx
je 0x40d4e6
call fcn.00409d42
lea ecx, [esi + 0x2dc]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.0040cbcd
lea eax, [esi + 0x33c]
push eax
push ebx
push esi
push 0x40d3b2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x338], eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d685
leave
ret 4
Function at 0x40dd70
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x240
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c8]
push edi
xor ebx, ebx
xor eax, eax
mov word [ebp + 0x1b4], bx
lea edi, [ebp + 0x1b6]
stosd dword es:[edi], eax
push 0x206
stosw word es:[edi], ax
lea eax, [ebp - 0x52]
push ebx
push eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x54], bx
call fcn.0041d6a0
push esi
call fcn.0041d84a
add esp, 0x10
cmp eax, 3
jl 0x40ddde
push 3
lea eax, [ebp + 0x1b4]
push esi
push eax
call fcn.0041eaa5
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x5c], 0x80000000
and eax, 0x7fffffff
cmp dword [esi + 0x660], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ebx
fild qword [ebp - 0x70]
fild qword [ebp - 0x60]
fchs
faddp st(1)
fstp dword [ebp - 0x5c]
je 0x40de8b
fld dword [ebp - 0x5c]
call fcn.0041eb60
cmp eax, 0x400
jle 0x40de6a
fld dword [ebp - 0x5c]
push ecx
fmul qword [0x4c3870]
push ecx
lea eax, [ebp - 0x54]
fstp dword [ebp - 0x58]
fld dword [ebp - 0x58]
fstp qword [esp]
push str._.2fGB
push eax
call fcn.0041e5d1
add esp, 0x10
jmp 0x40de7c
push eax
lea eax, [ebp - 0x54]
push str._dMB
push eax
call fcn.0041e5d1
add esp, 0xc
mov ecx, dword [esi + 0x660]
mov eax, dword [ecx]
lea edx, [ebp - 0x54]
push edx
call dword [eax + 0x2c]
mov ecx, dword [ebp + 0x1bc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d685
add ebp, 0x1c0
leave
ret 4

Function at 0x40f6f0
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x40f746
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x40f75c
push 0x80004005
call fcn.0040f4f4
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40f75f
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x40fcc6
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.0040f6bb
mov edi, eax
cmp edi, esi
je 0x40fd2e
lea ecx, [ebp - 0x70]
call fcn.0040f656
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d685
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40fd46
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040fcc6
cmp eax, esi
jne 0x40fd79
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call edi
test eax, eax
je 0x40fd36
lea ecx, [ebp - 0x70]
call fcn.0040f656
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040f656
mov eax, esi
jmp 0x40fd14
Function at 0x4124c8
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x240
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c8]
push edi
xor ebx, ebx
xor eax, eax
mov word [ebp + 0x1b4], bx
lea edi, [ebp + 0x1b6]
stosd dword es:[edi], eax
push 0x206
stosw word es:[edi], ax
lea eax, [ebp - 0x52]
push ebx
push eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x54], bx
call fcn.0041d6a0
push esi
call fcn.0041d84a
add esp, 0x10
cmp eax, 3
jl 0x412536
push 3
lea eax, [ebp + 0x1b4]
push esi
push eax
call fcn.0041eaa5
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x58]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x5c], 0x80000000
and eax, 0x7fffffff
cmp dword [esi + 0x6a0], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ebx
fild qword [ebp - 0x70]
fild qword [ebp - 0x60]
fchs
faddp st(1)
fstp dword [ebp - 0x5c]
je 0x4125e3
fld dword [ebp - 0x5c]
call fcn.0041eb60
cmp eax, 0x400
jle 0x4125c2
fld dword [ebp - 0x5c]
push ecx
fmul qword [0x4c3870]
push ecx
lea eax, [ebp - 0x54]
fstp dword [ebp - 0x58]
fld dword [ebp - 0x58]
fstp qword [esp]
push str._.2fGB
push eax
call fcn.0041e5d1
add esp, 0x10
jmp 0x4125d4
push eax
lea eax, [ebp - 0x54]
push str._dMB
push eax
call fcn.0041e5d1
add esp, 0xc
mov ecx, dword [esi + 0x6a0]
mov eax, dword [ecx]
lea edx, [ebp - 0x54]
push edx
call dword [eax + 0x2c]
mov ecx, dword [ebp + 0x1bc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d685
add ebp, 0x1c0
leave
ret 4

Function at 0x4134ee
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.0041d84a
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c69c
push dword [esp + 0x1c]
mov esi, eax
push esi
call fcn.0041d82e
add esp, 0x10
xor ebp, ebp
test edi, edi
mov bl, 1
jl 0x41355d
cmp word [esi + ebp*2], 0x5c
jne 0x413554
and word [esi + ebp*2], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41354e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41355b
mov word [esi + ebp*2], 0x5c
inc ebp
cmp ebp, edi
jle 0x41352b
jmp 0x41355d
xor bl, bl
push esi
call fcn.0041e667
pop ecx
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
ret
Function at 0x4136a1
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
push edi
mov edi, dword [ebp + 0x7b0]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041d6a0
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0041d6a0
push edi
lea eax, [ebp - 0x2c]
push 0x4c343c
push eax
call fcn.0041e5d1
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x413725
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d685
add ebp, 0x7a8
leave
ret

Function at 0x413a62
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push str..del
push edi
call fcn.0041e536
test eax, eax
pop ecx
pop ecx
je 0x413a9a
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x413b31
push esi
xor esi, esi
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.0041d6a0
add esp, 0xc
test esi, esi
lea eax, [ebp - 0x20c]
jne 0x413ad6
push edi
push str._s.del
push eax
call fcn.0041e5d1
add esp, 0xc
jmp 0x413ae6
push esi
push edi
push str._s.del_d
push eax
call fcn.0041e5d1
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413b10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x413b10
cmp esi, 0xa
jge 0x413b30
inc esi
jmp 0x413a9d
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0041fad0
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret
Function at 0x413b3e
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push esi
mov esi, dword [ebp + 0x5ac]
push esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413c82
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x413c81
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.0041d6a0
push esi
lea eax, [ebp + 0x192]
push edi
push eax
mov word [ebp + 0x190], di
call fcn.0041d6a0
add esp, 0x18
lea eax, [ebp + 0x190]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call fcn.0041373c
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
push esi
lea eax, [ebp + 0x39a]
push edi
push eax
mov word [ebp + 0x398], di
call fcn.0041d6a0
add esp, 0xc
cmp dword [ebp - 0x7c], edi
lea eax, [ebp - 0x78]
jne 0x413c14
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del
push eax
call fcn.0041e5d1
add esp, 0x10
jmp 0x413c33
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del_d
push eax
call fcn.0041e5d1
add esp, 0x14
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413c5f
lea eax, [ebp + 0x398]
push eax
call ebx
cmp eax, edi
jne 0x413c5f
cmp dword [ebp - 0x7c], 0xa
jge 0x413c80
inc dword [ebp - 0x7c]
jmp 0x413bd6
lea eax, [ebp + 0x398]
push eax
push dword [ebp - 0x80]
call fcn.0041fad0
pop ecx
pop ecx
push 5
push edi
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop ebx
mov ecx, dword [ebp + 0x5a0]
xor ecx, ebp
pop esi
call fcn.0041d685
add ebp, 0x5a4
leave
ret

Function at 0x413c98
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x3fe
lea eax, [ebp - 0x402]
push esi
push eax
mov word [ebp - 0x404], si
call fcn.0041d6a0
add esp, 0xc
cmp dword [ebp + 0x14], esi
push esi
lea eax, [ebp - 0x404]
je 0x413ce2
push 0x1f
jmp 0x413ce4
push 6
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x404]
push 0x4e58a0
push eax
call fcn.0041d804
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.0041d804
lea eax, [ebp - 0x404]
push str..url
push eax
call fcn.0041d804
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push edi
push 0x4c4c20
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp + 0x10], esi
pop edi
pop esi
pop ebx
je 0x413d4d
push 2
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0041d685
leave
ret
Function at 0x413e28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0041d84a
test eax, eax
pop ecx
je 0x413e80
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0041d6a0
add esp, 0xc
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x413e80
push esi
call fcn.004136a1
pop ecx
pop esi
leave
ret

Function at 0x413e83
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0041d6a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, byte [ebp + 0x9a]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push str._d__d__d
call fcn.00413d5c
mov ecx, dword [ebp + 0x9c]
add esp, 0x10
cmp dword [ebp - 0x7c], 6
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0041d685
add ebp, 0xa0
leave
ret

Function at 0x414d45
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x414c76
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
pop esi
je 0x414d74
cmp eax, 0xffffffff
je 0x414d74
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

Function at 0x419dc7
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x4bde76
call fcn.0041e205
mov eax, dword [ebp + 0xc]
mov esi, ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401c20
xor edi, edi
push 0x4c538c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00403ac0
cmp dword [esi + 0x18], 8
jb 0x419dfe
mov edx, dword [esi + 4]
jmp 0x419e01
lea edx, [esi + 4]
cmp dword [esi + 0x34], 8
jb 0x419e0c
mov eax, dword [esi + 0x20]
jmp 0x419e0f
lea eax, [esi + 0x20]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x419e1b
lea ecx, [ebp - 0x28]
push edi
push edi
push edi
push 1
push edx
push edi
push eax
push ecx
mov ecx, esi
call fcn.0041bb8c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x419e37
lea eax, [ebp - 0x28]
push edi
push edi
push edi
push eax
push str.startpin
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401df0
call fcn.0041e24f
ret 8
Function at 0x419e5a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x419eb8
lea eax, [ebp - 0x20c]
push eax
push str.ItemDestop
mov ecx, edi
call fcn.00419dc7
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret

Function at 0x419ec5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x419f23
lea eax, [ebp - 0x20c]
push eax
push str.ItemTopStartMenu
mov ecx, edi
call fcn.00419dc7
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret

Function at 0x419f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
push str.ItemSecondStartMenu
mov ecx, edi
call fcn.00419dc7
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret

Function at 0x419f97
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a008
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0041d804
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
push str.ItemQuickLauch
mov ecx, edi
call fcn.00419dc7
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret
Function at 0x41a742
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x20c], di
call fcn.0041d6a0
add esp, 0xc
call fcn.00413e83
test eax, eax
push edi
lea eax, [ebp - 0x20c]
je 0x41a78b
push 0x1a
jmp 0x41a78d
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.004039b0
mov esi, 0x4e58a0
push esi
mov ecx, edi
call fcn.00403ac0
push str.hao123JuziBrowser
mov ecx, edi
call fcn.00403ac0
push esi
mov ecx, edi
call fcn.00403ac0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d685
leave
ret