joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411d80
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a483b
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00447ad0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x411e05
xor ecx, ecx
jmp 0x411e1f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411e10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00402110
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], 0
call fcn.004052c0
cmp word [esi], 0
jne 0x411e55
xor ecx, ecx
jmp 0x411e6f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411e60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x848]
call fcn.004052c0
push 4
push str..lnk
lea ecx, [ebp - 0x848]
call fcn.004052c0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x411f9c
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00447ad0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00447ad0
add esp, 0x18
lea ecx, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
lea edx, [ebp - 0x830]
cmovae ecx, dword [ebp - 0x848]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x411ef6
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0040fe40
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00447ad0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411f54
sub ecx, edx
sar ecx, 1
jne 0x411f88
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x628]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x411f70
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x411f9c
mov esi, 1
jmp 0x411f9e
xor esi, esi
mov ecx, dword [ebp - 0x834]
cmp ecx, 8
jb 0x411fbc
inc ecx
push ecx
push dword [ebp - 0x848]
lea ecx, [ebp - 0x848]
call fcn.00402260
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret 4
Function at 0x411fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x6351c8]
test al, al
jne 0x412083
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00447ad0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41207e
lea eax, [ebp - 0x20c]
push eax
call fcn.0045427d
lea eax, [ebp - 0x20c]
push 0x5ab174
push eax
call fcn.00447cdd
add esp, 0xc
test eax, eax
jne 0x412069
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00447cdd
add esp, 8
test eax, eax
je 0x41207e
mov al, 1
mov byte [0x6351c8], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret
mov al, byte [0x6351c8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret
Function at 0x412f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push 0x208
push 0
push eax
mov esi, ecx
call fcn.00447ad0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x413006
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x412fd1
mov eax, dword [0x5a9ce8]
mov ecx, esi
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004120a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c551
mov esp, ebp
pop ebp
ret 4
Function at 0x417e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4f15
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x630198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
call fcn.00405590
lea ecx, [esi + 0x160]
mov dword [ebp - 4], 0
call fcn.0040b9f0
lea ecx, [esi + 0x21c]
mov byte [ebp - 4], 1
call fcn.00414150
lea ecx, [esi + 0x224]
mov byte [ebp - 4], 2
call fcn.00403760
push 0x2710
push 1
mov byte [ebp - 4], 3
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0042970f
dec eax
add esp, 8
cmp eax, 0x63
ja 0x417f57
mov dword [esi + 0x2c], 1
mov dword [esi + 0x218], 0
mov eax, esi
mov byte [esi + 0x2a4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418de0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a515a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 9
xor eax, eax
mov dword [ebp - 0x44], 7
push str.WnUpd.exe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00402110
cmp dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
je 0x418fbf
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x5a98a4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00402110
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5a98a4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402110
mov eax, dword [0x6351a4]
mov byte [ebp - 4], 2
test eax, eax
jne 0x418ec1
push 0x120
call fcn.0043c2a3
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x418eb6
mov ecx, eax
call fcn.00419d20
jmp 0x418eb8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x6351a4], eax
mov ecx, eax
call fcn.0043dd53
mov edx, eax
cmp word [edx], 0
jne 0x418ed4
xor ecx, ecx
jmp 0x418eef
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418ee0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402110
push 9
push str.WnUpd.exe
lea ecx, [ebp - 0x28]
call fcn.004052c0
push 1
push 0x5ab5a0
lea ecx, [ebp - 0x40]
call fcn.00402110
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004051b0
push 2
push 0x5ab5a4
lea ecx, [ebp - 0x40]
call fcn.004052c0
push 2
push 0x5ab60c
lea ecx, [ebp - 0x40]
call fcn.004052c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418f81
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.0042dd84
push esi
test eax, eax
je 0x418f79
mov ecx, edi
call fcn.00419ad0
jmp 0x418f81
call fcn.004345ce
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x418f96
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x418fbf
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402260
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x418fd4
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c551
mov esp, ebp
pop ebp
ret
Function at 0x419ad0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea eax, [ebp - 8]
push str.EXPLORER.EXE
push eax
call fcn.00419380
test eax, eax
jne 0x419af0
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00447ad0
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 4]
mov dword [ebp - 0x54], str.winsta0default
mov dword [ebp - 4], 0
push 1
push dword [ebp - 8]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x419ae8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push dword [ebp - 4]
push 0x420
push 0
push 0
push 0
push dword [ebp + 8]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esp, ebp
pop ebp
ret 4

Function at 0x41a8b0
Capabilities:
Create thread

Disassembly:
push esi
push 4
push 0x5ab758
mov esi, ecx
call fcn.0041b2f0
lea eax, [esi + 0x34]
push eax
push 0
push esi
push 0x41a930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
pop esi
ret 8

Function at 0x41b240
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push eax
push str._s_Failed_error_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041b1c0
add esp, 0x14
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x41b2d4
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043c551
mov esp, ebp
pop ebp
ret 8

Function at 0x41b2f0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x41b346
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41b6f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5633
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x630198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x635528
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x635528
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5a9530
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0041f250
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421e70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x6399c0], ecx
inc eax
cmp eax, 0x100
jb 0x421e72
cmp eax, 0x800
jae 0x421f43
nop
mov edx, dword [eax*4 + 0x6395c0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x6399c0]
mov dword [eax*4 + 0x6399c0], edx
inc eax
cmp eax, 0x800
jb 0x421f20
mov dword [0x635534], 0x422ce0
call fcn.00422b10
mov ecx, dword [0x635534]
test eax, eax
mov edx, 0x422d80
cmove ecx, edx
mov dword [0x635534], ecx
ret
Function at 0x423060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x423080
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x4230b2
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4230af
inc esi
cmp esi, edx
jb 0x4230a0
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x4231dc
cmp ecx, 3
jbe 0x4230f2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x423130
cmp cl, 0xff
je 0x423130
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x423094
dec ecx
shl eax, cl
and eax, 7
je 0x4230ca
movzx ecx, byte [eax + 0x5ac1a4]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x5ac19c], 0
mov cl, byte [edx + 4]
je 0x42311a
test cl, cl
je 0x42311a
cmp cl, 0xff
jne 0x4230ca
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x423094
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x42315e
lea edx, [edi + ebx]
add edx, esi
jmp 0x423164
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x4231a2
movzx edi, byte [eax + 0x5ac1a4]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x42318e
cmp cl, 0xff
jne 0x4231a2
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x423151
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x423094
pop edi
pop esi
cmp ecx, 3
jbe 0x4231f1
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425add
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x630198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x2b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, 0x5a9ce8
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004561e2
lea eax, [ebp - 0x20c]
push str.WanNengWBInput
push eax
call fcn.004561e2
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004561e2
lea eax, [ebp - 0x20c]
push 0x5a9d7c
push eax
call fcn.004561e2
lea eax, [ebp - 0x20c]
push 0x5ab12c
push eax
call fcn.004561e2
add esp, 0x28
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x5a98a4
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425b9b
xor al, al
jmp 0x425bc4
cmp word [ebp - 0x414], si
je 0x425bb3
lea eax, [ebp - 0x414]
push eax
call fcn.004561c7
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
call fcn.00402110
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c551
mov esp, ebp
pop ebp
ret 4

Function at 0x425bd7
Capabilities:
Check if file exists

Disassembly:
push 0x254
mov eax, 0x5a5b2a
call fcn.0043caa9
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x248]
mov dword [ebp - 4], ebx
push eax
call fcn.00425add
test al, al
je 0x425ccd
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00447ad0
lea eax, [ebp - 0x218]
push eax
push 0x5ac380
push 0x5a9d7c
call fcn.00432e4a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004258fd
push 0x5a9ce8
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
call fcn.004258da
add esp, 0x30
push ebx
push 1
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.004254f0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425cbe
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x425cbc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00401ff0
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004254f0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004254f0
mov al, bl
call fcn.0043ca64
ret 4
Function at 0x425ce6
Capabilities:
Check if file exists

Disassembly:
push 0x26c
mov eax, 0x5a5b7e
call fcn.0043caa9
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push eax
call fcn.00425add
test al, al
je 0x425e29
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00447ad0
lea eax, [ebp - 0x218]
push eax
push 0x5ac380
push 0x5a9d7c
call fcn.00432e4a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004258fd
push 0x5a9ce8
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.004258da
add esp, 0x30
push ebx
push 1
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.004254f0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425e1a
push str.WnConfig.exe
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004258fd
add esp, 0xc
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425e0b
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x425e09
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00401ff0
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.004254f0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004254f0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004254f0
mov al, bl
call fcn.0043ca64
ret 4
Function at 0x425e42
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x254
mov eax, 0x5a5bc7
call fcn.0043caa9
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x248]
mov dword [ebp - 4], ebx
push eax
call fcn.00425bd7
test al, al
je 0x425f86
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.004036d0
push str.WanNengWBInfo.ini
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004258fd
add esp, 0xc
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425f68
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00447ad0
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov edi, str.guanf
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00456235
pop ecx
pop ecx
test eax, eax
je 0x425f68
cmp word [ebp - 0x218], bx
jne 0x425f4a
mov eax, ebx
jmp 0x425f57
lea eax, [ebp - 0x218]
push eax
call fcn.004561c7
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402110
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004254f0
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.004254f0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004254f0
mov al, bl
call fcn.0043ca64
ret 4
Function at 0x428087
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
xor ebx, ebx
inc ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
jne 0x4280bd
xor eax, eax
jmp 0x42816e
call fcn.0042658a
test al, al
je 0x4280de
inc eax
push esp
mov ah, 0x3c
inc esp
adc al, 9
push ebp
push ebp
ljmp 0x9c83
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004264bb
test al, al
je 0x428123
or eax, 0x1fadd49a
jns 0x428165
pop ebx
mov bh, 0x7e
popal
xor byte [ebx + eax - 0x4e], ah
inc edx
rol dword [edx], 0x99
mov al, 0x3d
dec ebx
movsb byte es:[edi], byte [esi]
jecxz 0x42819c
ljmp 0x84ff:0xffe1f5e8
call fcn.0042631d
test al, al
je 0x428141
inc esp
xor cl, byte [eax]
sbb al, 0x49
jnp 0x428195
push ds
mov dword [ecx], 0x840fa0e
xor ch, byte [edx]
cdq
dec edi
mov edi, 0x30e882f3
jecxz 0x428144
call fcn.00426476
test al, al
je 0x42815c
invalid
inc dword [eax + eax*8 + 0x3be01274]
loopne 0x428187
cdq
mov ch, 0xaa
xchg edi, eax
lcall 0x9127, 0x5093f508
lodsb al, byte [esi]
sub ch, cl
xchg edi, eax
cmp dword [ebp - 8], 0
je 0x42816a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
je 0x42816c
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
adc cl, byte [ebx - 0x7499f7b3]
inc ebp
adc byte [esi - 0x77], ah
add al, 0x4a
jmp 0x4281b2
cmp dword [edx + 0x14], 8
jb 0x42819d
mov edx, dword [edx]
adc bh, bh
jne 0x4281ac
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
lea eax, [edx + eax*2]
push eax
call fcn.00428bca
add esp, 0xc
or al, byte [eax]
add byte [ebx - 0x3da2f33c], al
or al, 0
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
push 0
pop eax
cmove eax, ecx
ret
pop ebp
ret 0xc