joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4071e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
push edi
call dword [eax + 0x20]
xor edi, edi
cmp eax, 0x2710
jne 0x407306
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40725b
mov ecx, 0x5f6364
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407236
test dx, dx
je 0x407232
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407236
add eax, 4
add ecx, 4
test dx, dx
jne 0x407210
xor eax, eax
jmp 0x40723b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40725b
mov ecx, ebx
mov byte [esi + 0xc], al
lea edi, [eax + 1]
call fcn.00455f13
cmp byte [esi + 0xc], 0
jne 0x40725b
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4072ba
mov ecx, str.dd62b5b413d6563e9
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40728d
test dx, dx
je 0x407289
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40728d
add eax, 4
add ecx, 4
test dx, dx
jne 0x407267
xor eax, eax
jmp 0x407292
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4072ba
push 6
mov byte [esi + 0xc], al
inc edi
push dword [ebx + 0x2f0]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0xc], 0
jne 0x4072ba
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x407306
mov ecx, str.ff9b657acb3fe3843
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4072ec
test dx, dx
je 0x4072e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4072ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x4072c6
xor eax, eax
jmp 0x4072f1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x407306
mov ecx, ebx
mov byte [esi + 0xc], al
inc edi
call fcn.00455f13
cmp byte [esi + 0xc], 0
je 0x4072ae
xor eax, eax
cmp eax, edi
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
pop ebp
ret 4
Function at 0x40aa50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2f29
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x66f3a4]
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 + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.CRunSoftUpd.0
mov dword [ebp - 4], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x34]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x40aacb
mov eax, dword [ecx]
jmp 0x40aacd
mov eax, ecx
mov byte [eax], 0
lea eax, [esi + 0x4c]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x40aae9
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
push edx
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0x5f6c3c
mov dword [esi + 0x20], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
movsd qword [esi + 0x10], xmm0
call fcn.0040eb90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c930
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x40cae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
pop esi
ret
Function at 0x40cd80
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3230
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xd0], 0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5f68b8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00408a70
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.0042a508
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40cf5a
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40ce80
push 0x5f68b8
mov ecx, esi
call fcn.0040a9f0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40ce59
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408b70
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x40cfb6
inc ecx
push ecx
jmp 0x40cfab
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc8], eax
inc eax
push eax
mov dword [ebp - 0xcc], eax
call fcn.00422a8d
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40cec6
push 0x5f68b8
mov ecx, esi
call fcn.0040a9f0
lea ecx, [ebp - 0x28]
call fcn.00408120
lea ecx, [ebp + 0xc]
call fcn.00408120
jmp 0x40cfb6
push dword [ebp - 0xcc]
push 0
push ebx
call fcn.004a20a0
add esp, 0xc
lea eax, [ebp - 0xd4]
push 0
push eax
push dword [ebp - 0xc8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push ebx
call fcn.0042bb1d
push ebx
call fcn.00422a96
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xc4]
push eax
call fcn.0042b387
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0042e806
add esp, 8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040ac50
cmp dword [ebp - 0x30], 0
jbe 0x40cf52
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408950
lea ecx, [ebp - 0x40]
call fcn.00408120
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e330
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40cf8d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408b70
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x40cfb6
inc eax
push eax
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00408b70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422909
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40f170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f1e7
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40f1e7
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422909
mov esp, ebp
pop ebp
ret
Function at 0x41f431
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x41f455
cmp dword [esi + 8], edi
jge 0x41f44d
push esi
call fcn.0041c455
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x41f47e
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x41f461
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x41f498
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x41f489
xor dl, dl
jmp 0x41f48e
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x41f480
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x41f4cc
mov dword [0x67e160], str.zlib_corrupt
xor eax, eax
jmp 0x41f50e
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x41f4e1
mov dword [0x67e160], str.read_past_buffer
jmp 0x41f4c8
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x41f4f8
push edi
push esi
call fcn.00421954
pop ecx
pop ecx
test eax, eax
je 0x41f4c8
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004a1a70
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x423bf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e41c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x66f3a4]
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], 0x67e62c
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], 0x67e62c
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5f6c3c
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.00427790
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 0x427d74
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5e54ca
call fcn.00423157
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x427d9f
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x427e7d
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x5f68b8
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00408a70
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.004a20a0
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5f902c
push eax
call fcn.00407b20
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x427e32
call fcn.00427c90
jmp 0x427e37
call fcn.00427d4a
push eax
lea ecx, [ebp - 0x828]
call fcn.0040b1c0
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.0040e6e0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.004b0e66
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.0040e6e0
mov eax, esi
call fcn.00423112
ret 0xc

Function at 0x427e87
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5e466b
call fcn.00423157
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.004a20a0
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x427ee4
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.0040a9f0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x427f2a
mov eax, dword [esi]
jmp 0x427f2c
mov eax, esi
push ebx
push eax
call fcn.004b0f7b
pop ecx
pop ecx
test eax, eax
jne 0x427f78
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x427f5c
call fcn.00427c90
jmp 0x427f61
call fcn.00427d4a
push eax
mov ecx, esi
call fcn.0040b1c0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0040e6e0
mov eax, esi
call fcn.00423112
ret 0x10
Function at 0x428b71
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.004a20a0
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x428baa
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5f8f70
push eax
call fcn.00407b20
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428be2
lea eax, [ebp - 0x20c]
push eax
call fcn.00434219
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004a20a0
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5f8f2c
push eax
call fcn.00407b20
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x428c21
mov eax, esi
jmp 0x428c2e
lea eax, [ebp - 0x414]
push eax
call fcn.004b0fdd
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00408a70
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004a20a0
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5f8f2c
push eax
call fcn.00407b20
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x428c80
mov eax, esi
jmp 0x428c8d
lea eax, [ebp - 0x61c]
push eax
call fcn.004b0fdd
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00408a70
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004a20a0
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.0043453b
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x428cce
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5f6ee4
push eax
call fcn.00407b20
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.0040e6e0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428d0f
lea eax, [ebp - 0x824]
push eax
call fcn.00434219
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.004a20a0
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5f8f2c
push eax
call fcn.00407b20
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x428d59
lea eax, [ebp - 0xa2c]
push eax
call fcn.004b0fdd
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00408a70
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00422909
mov esp, ebp
pop ebp
ret
Function at 0x4291ba
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5e4708
call fcn.00423157
mov ebx, ecx
call fcn.00427c45
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00429720
mov esi, str.WanNengZip.ini
push esi
call fcn.004b0fdd
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040e930
push str.wngf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00427d20
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x429230
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00408950
push str.wngf
mov ecx, esi
call fcn.00429777
test eax, eax
jne 0x4292ac
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004a20a0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42925d
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.wngf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42928e
xor eax, eax
jmp 0x42929b
lea eax, [ebp - 0x218]
push eax
call fcn.004b0fdd
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00408a70
jmp 0x4292b1
mov edi, str.wngf
push edi
mov ecx, esi
call fcn.00429777
test eax, eax
jne 0x429374
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004a20a0
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.0042797f
push str.WanNengZip.ini
mov byte [ebp - 4], 1
call fcn.004b0fdd
pop ecx
push eax
push str.WanNengZip.ini
lea ecx, [ebp - 0x230]
call fcn.0040e930
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
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]
cmp word [ebp - 0x218], 0
jne 0x429345
xor eax, eax
jmp 0x429352
lea eax, [ebp - 0x218]
push eax
call fcn.004b0fdd
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00408a70
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.0040e6e0
push edi
mov ecx, esi
call fcn.00429777
test eax, eax
jne 0x4293b0
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00427e87
push eax
mov ecx, esi
call fcn.0040b1c0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0040e6e0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0040e6e0
call fcn.00423112
ret

Function at 0x42a3b3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x42b360
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x42bb26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42bba5
push ebx
push edi
xor edi, edi
push str.GUANGSU
mov dword [ebp + 8], edi
call fcn.004b1000
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x42bb62
mov cl, byte [edi + str.GUANGSU]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x42bb4c
cmp ebx, 1
jle 0x42bb99
cmp byte [esi], 0x37
jne 0x42bb99
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x42bb77
cmp al, 0x5a
jne 0x42bb99
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.005b15a0
test eax, eax
je 0x42bb99
mov edx, dword [ebp + 8]
test edx, edx
je 0x42bb99
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x42bba3
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x42be65
Capabilities:
Create directory

Disassembly:
push 0x49c
mov eax, 0x5e49a7
call fcn.00423157
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42be84
xor eax, eax
jmp 0x42c00c
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004a20a0
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.004b72e0
push edi
xor esi, esi
call fcn.004b1000
mov edi, eax
mov dword [ebp - 0x214], 7
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x228], ax
push 0x100
push ecx
lea eax, [ebp - 0x210]
mov dword [ebp - 4], ecx
push eax
call fcn.004a20a0
add esp, 0x24
cmp byte [ebp + edi - 0x111], 0x5c
je 0x42bef3
mov byte [ebp + edi - 0x110], 0x5c
cmp byte [ebp - 0x110], 0
je 0x42bffa
mov al, byte [ebp + esi - 0x110]
cmp al, 0x3a
jne 0x42bf13
push 2
pop eax
jmp 0x42bfea
cmp al, 0x5c
jne 0x42bfe7
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004a1a70
add esp, 0xc
cmp esi, 0x100
jae 0x42c028
lea eax, [ebp - 0x210]
mov byte [ebp + esi - 0x210], 0
push eax
lea ecx, [ebp - 0x240]
call fcn.00427950
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x258]
mov ecx, ebx
push eax
call fcn.0042c593
push eax
lea ecx, [ebp - 0x228]
call fcn.0040b1c0
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.0040e6e0
push 0
push 1
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
call fcn.0042967b
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x4a8]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x42bfe7
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42c014
xor eax, eax
inc eax
add esi, eax
cmp byte [ebp + esi - 0x110], 0
jne 0x42bf00
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.0040e6e0
xor eax, eax
inc eax
call fcn.00423112
ret 4
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.0040e6e0
jmp 0x42be7d
call fcn.0042374e
int3
Function at 0x42c565
Capabilities:
Create thread

Disassembly:
mov edx, dword [ecx + 0x300]
or eax, 0xffffffff
cmp edx, eax
je 0x42c577
cmp edx, 1
jne 0x42c592
xor eax, eax
push eax
push eax
push ecx
push 0x42c303
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret