joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43533d
Capabilities:
Enumerate processes

Disassembly:
push 0x470
mov eax, 0x5d1ce7
call fcn.00492e9f
mov dword [ebp - 0x478], ecx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push ecx
mov dword [ebp - 0x47c], ecx
xor eax, eax
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x230]
push 0x640078
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004022f0
and dword [ebp - 4], 0
lea eax, [ebp - 0x474]
mov esi, 0x22c
push esi
push 0
push eax
call fcn.005a8e00
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4353c3
push 0x640078
mov ecx, ebx
call fcn.00402120
jmp 0x43555d
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], esi
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x435548
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
je 0x435411
lea eax, [ebp - 0x450]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.004022f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], esi
je 0x435459
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00402230
lea eax, [ebp - 0x474]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4353e1
jmp 0x435548
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a8e00
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x435532
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp word [ebp - 0x218], 0
jne 0x4354ae
xor eax, eax
jmp 0x4354bb
lea eax, [ebp - 0x218]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004022f0
push 0x640078
lea ecx, [ebp - 0x230]
call fcn.0042051f
test eax, eax
jne 0x435532
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.004350ab
push 0x640078
lea ecx, [ebp - 0x230]
call fcn.0042051f
test eax, eax
jne 0x435532
cmp word [ebp - 0x450], ax
je 0x43551f
lea eax, [ebp - 0x450]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.004022f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402230
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00404a00
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402230
mov eax, ebx
call fcn.00492e49
ret 8
Function at 0x435749
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5d4645
call fcn.00492e9f
lea eax, [ebp - 0x230]
push eax
call fcn.0042b3c1
mov ecx, eax
call fcn.00431fc5
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005a8e00
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push str.WanNengInfo.ini
push eax
call fcn.0041d1d6
add esp, 0x18
test eax, eax
je 0x4357d0
lea eax, [ebp - 0x218]
push eax
push ebx
push str.Pure
push str.Mode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402230
mov al, bl
call fcn.00492e49
ret

Function at 0x4358df
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x240
mov eax, 0x5d1d78
call fcn.00492e9f
mov dword [ebp - 0x24c], ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x435a85
lea eax, [ebp - 0x218]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.005abf5f
and dword [ebp - 0x220], 0
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x435972
lea eax, [ebp - 0x218]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004022f0
and dword [ebp - 4], 0
push 0x6411b8
call fcn.005abff2
pop ecx
push eax
push 0x6411b8
lea ecx, [ebp - 0x230]
call fcn.00404690
xor eax, eax
cmp word [esi], ax
je 0x4359b3
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00404690
mov esi, str..lnk
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00404690
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push eax
call fcn.00436179
push 8
pop esi
cmp dword [ebp - 0x234], esi
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x230]
push ebx
je 0x435a4b
cmp dword [ebp - 0x234], esi
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], esi
cmovae eax, dword [ebp - 0x230]
xor ebx, ebx
push ebx
push ebx
push 1
push ecx
push ebx
push edi
push eax
call fcn.0041cb27
add esp, 0x20
jmp 0x435a69
cmp dword [ebp - 0x21c], esi
cmovae eax, dword [ebp - 0x230]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
push edi
push eax
call fcn.0041cc15
add esp, 0x1c
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.00402230
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00402230
call fcn.00492e49
ret 0xc
Function at 0x435a8d
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x5d1db0
call fcn.00492e9f
mov dword [ebp - 0x44], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push eax
call fcn.0041dab0
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp word [edi], ax
je 0x435ac2
push edi
call fcn.005abff2
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00404690
mov edi, str..lnk
push edi
call fcn.005abff2
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00404690
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.00436179
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x28]
push ebx
je 0x435b35
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ebx
push ebx
push 1
push ecx
push ebx
push esi
push eax
call fcn.0041cb27
add esp, 0x20
jmp 0x435b4e
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
push esi
push eax
call fcn.0041cc15
add esp, 0x1c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push eax
push 1
call fcn.00436415
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00402230
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00402230
call fcn.00492e49
ret 0xc
Function at 0x44618e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x5d3bba
call fcn.00492f0d
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x44620b
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x44620b
call fcn.0044551b
mov esi, eax
jmp 0x4462e2
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44622e
call fcn.0044551b
jmp 0x4462d5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x446224
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x44625e
mov esi, 0x8007000e
jmp 0x4462d7
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0044533a
jmp 0x446284
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x446257
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x446224
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00446053
mov esi, eax
test edi, edi
je 0x4462e2
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4462fb
lea ecx, [ebp - 0x418]
call fcn.004458f1
mov eax, esi
call fcn.00492e5a
ret 0x10
Function at 0x448593
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0x64
push 2
push esi
mov ecx, dword [esi + 0x52c]
call fcn.00461351
lea eax, [esi + 0x6a4]
push eax
xor eax, eax
push eax
push esi
push 0x447d13
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x6a8], eax
pop esi
ret

Function at 0x448e98
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x36c]
push eax
xor eax, eax
push eax
push esi
push 0x44914f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x368], eax
pop esi
ret

Function at 0x449c18
Capabilities:
Hide graphical window

Disassembly:
push esi
push 1
push 1
push 1
mov eax, 0x7530
mov esi, ecx
push eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00448ebb
push 1
mov ecx, esi
call fcn.004619cd
pop esi
ret

Function at 0x449c76
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call fcn.005a8e00
push 0x5da948
lea eax, [ebp - 0x20c]
push str._s__
push eax
call fcn.0042cdd3
add esp, 0x18
mov eax, 0x7530
mov ecx, esi
push edi
push edi
push edi
push eax
push eax
push 0x108
push 0xce0000
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004619f3
lea eax, [esi + 0x36c]
push eax
push edi
push esi
push 0x449d6f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x368], eax
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x449ed7
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x5d41d2
call fcn.00492e9f
mov edi, ecx
mov ecx, dword [edi + 0x534]
xor esi, esi
inc esi
test ecx, ecx
je 0x449f01
call fcn.0046ad2f
xor ecx, ecx
test al, al
cmove esi, ecx
mov ecx, dword [edi + 0x540]
xor ebx, ebx
test ecx, ecx
je 0x449f9b
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0045d42d
push eax
lea ecx, [ebp - 0x28]
call fcn.00402120
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0045d356
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005abff2
pop ecx
cmp eax, 3
jg 0x449f5a
mov esi, ebx
jmp 0x449f8c
push 3
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404330
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
push ebx
sbb eax, eax
push 1
and esi, eax
call fcn.00402230
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00402230
mov ecx, dword [edi + 0x530]
test ecx, ecx
je 0x449fb6
mov eax, dword [ecx]
test esi, esi
je 0x449faf
push 1
jmp 0x449fb0
push ebx
call dword [eax + 0xe4]
call fcn.00492e49
ret
Function at 0x44a072
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor ebx, ebx
mov word [ebp - 0xc], ax
push 0x208
lea eax, [ebp - 0x214]
mov dword [ebp - 0xa], ebx
push ebx
push eax
mov edi, ecx
mov word [ebp - 6], bx
call fcn.005a8e00
push esi
call fcn.005abff2
add esp, 0x10
cmp eax, 3
jl 0x44a0cb
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.005ac00d
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.00493520
cvtsd2ss xmm0, xmm0
cmp dword [edi + 0x548], ebx
je 0x44a169
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x44a142
mulss xmm0, dword [0x5ddcac]
lea eax, [ebp - 0x214]
push ecx
push ecx
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push 0x5ddbf4
push eax
call fcn.0042cdd3
add esp, 0x10
jmp 0x44a157
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.0042cdd3
add esp, 0xc
mov ecx, dword [edi + 0x548]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x44a805
Capabilities:
Check if file exists

Disassembly:
push 0xbc
mov eax, 0x5d42e8
call fcn.00492e9f
mov ebx, ecx
mov ecx, dword [ebx + 0x540]
test ecx, ecx
je 0x44a94f
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 0x28]
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0045d42d
push eax
lea ecx, [ebp - 0x28]
call fcn.00402120
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0045d356
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005abff2
pop ecx
cmp eax, 3
jg 0x44a86f
mov esi, edi
jmp 0x44a8a2
push 3
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404330
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
push edi
sbb esi, esi
push 1
and esi, 1
call fcn.00402230
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x44a8b8
call fcn.0046ad2f
xor ecx, ecx
test al, al
cmove esi, ecx
mov ecx, dword [ebx + 0x530]
test esi, esi
jne 0x44a8d1
test ecx, ecx
je 0x44a944
mov eax, dword [ecx]
push edi
call dword [eax + 0xe4]
jmp 0x44a944
test ecx, ecx
je 0x44a8df
mov eax, dword [ecx]
push 1
call dword [eax + 0xe4]
mov eax, dword [ebx + 0x524]
mov ecx, edi
mov esi, dword [ebx + 0x520]
mov edi, eax
sub edi, esi
xor edx, edx
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, edx
test edi, edi
jmp 0x44a927
mov edx, dword [esi]
test edx, edx
je 0x44a921
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc8]
add esi, 4
inc ecx
cmp ecx, edi
mov dword [ebp - 0xc8], ecx
jne 0x44a902
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0044a072
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402230
call fcn.00492e49
ret

Function at 0x44ad50
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x44add0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5dddf0
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
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x44adcf
mov ebx, str.Wow64RevertWow64FsRedirection
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 esi
pop ebx
ret
Function at 0x44f518
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x44f520
mov dword [edx*4 + 0x667800], ecx
inc edx
cmp edx, 0x100
jb 0x44f51b
mov esi, 0x800
jmp 0x44f569
mov ecx, dword [edx*4 + 0x667400]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x667800]
mov dword [edx*4 + 0x667800], ecx
inc edx
cmp edx, esi
jb 0x44f54d
mov dword [0x669800], 0x44b15e
call fcn.0044f92b
mov ecx, dword [0x669800]
test eax, eax
mov edx, 0x44b1f7
cmove ecx, edx
mov dword [0x669800], ecx
pop esi
ret

Function at 0x44f9e2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x44f9f4
xor eax, eax
jmp 0x44fa1b
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.005b8ad3
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x44fa12
xor eax, eax
jmp 0x44fa1a
push dword [ebx]
call fcn.005b88dc
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x44fa6e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x44fa80
xor eax, eax
jmp 0x44faa7
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.005b6566
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x44fa9e
xor eax, eax
jmp 0x44faa6
push dword [ebx]
call fcn.005b88dc
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4505f3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x450614
xor eax, eax
jmp 0x450769
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
mov edx, dword [ebp + 8]
push ebx
or ebx, 0xffffffff
add ecx, edx
mov dword [ebp - 8], ecx
add edx, edi
mov dword [ebp - 4], edx
cmp edx, ecx
jae 0x450640
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x45063d
inc edx
cmp edx, ecx
jb 0x450630
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x45074d
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x450678
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x4506b5
cmp al, 0xff
je 0x4506b5
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x450746
dec ecx
shl esi, cl
and esi, 7
je 0x450658
movzx eax, byte [esi + 0x5dde94]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x5dde8c], 0
mov al, byte [ecx + 4]
je 0x45069f
test al, al
je 0x45069f
cmp al, 0xff
jne 0x450658
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
jmp 0x450627
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x4506e2
add ebx, edi
add ebx, edx
jmp 0x4506e6
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x45071c
movzx eax, byte [esi + 0x5dde94]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x45070b
cmp al, 0xff
jne 0x45071c
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x4506d6
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x4506aa
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4510b0
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5d44d5
call fcn.00492e6b
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0044acd0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.0044ad04
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4510e9
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451159
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push str.WanNeng
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x451126
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x451159
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.0044ace3
call fcn.00492e34
ret 8

Function at 0x4511f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.00453708
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
test eax, eax
je 0x4512a9
push ebx
mov ebx, 0x6411b8
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push str.WanNengIME
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005abf5f
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x451282
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c92d
pop ecx
cmp word [ebp - 0x20c], si
je 0x45129a
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004022f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x4512bb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.00453708
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
test eax, eax
je 0x451370
push ebx
mov ebx, 0x6411b8
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push str.WanNengIME.users
push eax
call fcn.005abf5f
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005abf5f
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x451349
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c92d
pop ecx
cmp word [ebp - 0x20c], si
je 0x451361
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004022f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4