joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413878
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41393e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x148]
push eax
mov eax, dword [sym.WeiXun.exe__Auutils_EXEDir]
push dword [eax]
push 0x413954
push 0x413960
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.00458728
mov eax, dword [ebp - 0x14c]
call fcn.00458860
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x413920
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00458618
mov eax, dword [ebp - 0x150]
call fcn.00446bf4
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4138e2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413945
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.004583d4
ret

Function at 0x4142f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
lea eax, [ebp - 0x14]
push eax
push 0x41436c
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x414359
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xd]
push eax
push 0
push 0
push 0x41439c
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x414344
cmp byte [ebp - 0xd], 1
sete byte [ebp - 1]
jmp 0x41434e
push ebp
call fcn.00414214
pop ecx
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x414363
push ebp
call fcn.00414214
pop ecx
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4147b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00458850
xor eax, eax
push ebp
push 0x414876
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x41488c
call fcn.004589a4
test eax, eax
jne 0x4147f8
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x414898
call fcn.004586b4
cmp byte [ebp - 5], 0
je 0x414839
lea edx, [ebp - 0xc]
mov eax, 0x4148a8
call sym.WeiXun.exe__Auutils_GetExecutableByExtension_qqrx17System_AnsiString
cmp dword [ebp - 0xc], 0
je 0x414839
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00458860
push eax
mov eax, dword [ebp - 0xc]
call fcn.00458860
push eax
push 0x4148b0
call sub.USER32.DLL_GetDesktopWindow
push eax
call sub.SHELL32.DLL_ShellExecuteA
jmp 0x414858
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00458860
push eax
push 0x4148b0
call sub.USER32.DLL_GetDesktopWindow
push eax
call sub.SHELL32.DLL_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41487d
lea eax, [ebp - 0xc]
call fcn.004583b0
lea eax, [ebp - 4]
call fcn.004583b0
ret
Function at 0x4148b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x414978
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10a]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10a]
mov ecx, 0x106
call fcn.00458618
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0044a9a0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call sym.WeiXun.exe__Auutils_IsDirectoryExists_qqrx17System_AnsiString
test al, al
jne 0x41495a
lea edx, [ebp - 0x118]
mov eax, dword [0x4e8964]
mov eax, dword [eax]
call fcn.00491aa4
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.00446c8c
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 4]
call fcn.0044a9a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41497f
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.004583d4
ret

Function at 0x414984
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4149ef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x10a]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x10a]
call fcn.0044710c
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0044a9a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4149f6
lea eax, [ebp - 0x110]
call fcn.004583b0
ret

Function at 0x4149fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x414a6c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x10a]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x10a]
mov ecx, 0x106
call fcn.00458618
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0044a9a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414a73
lea eax, [ebp - 0x110]
call fcn.004583b0
ret
Function at 0x414a78
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x414c33
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0xc
jne 0x414aa9
mov eax, dword [ebp - 8]
call fcn.004583b0
jmp 0x414c18
cmp byte [ebp - 1], 1
jb 0x414b38
cmp byte [ebp - 1], 4
ja 0x414b38
mov al, byte [ebp - 1]
dec al
je 0x414adb
dec al
je 0x414aea
dec al
je 0x414af9
dec al
jne 0x414b08
mov eax, dword [ebp - 8]
mov edx, 0x414c48
call fcn.00458404
jmp 0x414b10
mov eax, dword [ebp - 8]
mov edx, 0x414c58
call fcn.00458404
jmp 0x414b10
mov eax, dword [ebp - 8]
mov edx, 0x414c68
call fcn.00458404
jmp 0x414b10
mov eax, dword [ebp - 8]
mov edx, 0x414c7c
call fcn.00458404
jmp 0x414b10
mov eax, dword [ebp - 8]
call fcn.004583b0
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, SysReAllocString
mov eax, 0x414c90
call sym.WeiXun.exe__Auutils_RegReadStr_qqrx17System_AnsiStringt1ui
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00458404
jmp 0x414c00
mov eax, dword [ebp - 8]
call sym.WeiXun.exe__Auutils_GetWindowsDir_qqrv
cmp byte [ebp - 1], 6
je 0x414c00
xor eax, eax
mov al, byte [ebp - 1]
add eax, 0xfffffffb
cmp eax, 6
ja case.0x414b5b.6
jmp dword [eax*4 + 0x414b62]
mov eax, dword [ebp - 8]
mov edx, 0x414cdc
call fcn.00458670
mov eax, dword [ebp - 8]
jmp 0x414c00
mov eax, dword [ebp - 8]
mov edx, 0x414cec
call fcn.00458670
mov eax, dword [ebp - 8]
jmp 0x414c00
mov eax, dword [ebp - 8]
mov edx, 0x414cfc
call fcn.00458670
mov eax, dword [ebp - 8]
jmp 0x414c00
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 3
mov edx, 1
call fcn.004588c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, 0x414d0c
call fcn.004586b4
jmp 0x414c00
mov eax, dword [ebp - 8]
call sym.WeiXun.exe__Auutils_GetSystemDir_qqrv
jmp 0x414c00
mov eax, dword [ebp - 8]
call sym.WeiXun.exe__Auutils_GetTempDir_qqrv
jmp 0x414c00
mov eax, dword [ebp - 8]
mov edx, dword [sym.WeiXun.exe__Auutils_EXEDir]
call fcn.00458404
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0044a9a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00458404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414c3a
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004583d4
ret

Function at 0x414db8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00458860
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x414dde
test byte [ebp - 0xc], 0x10
jne 0x414de2
xor eax, eax
jmp 0x414de4
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x414fe8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
lea eax, [ebp - 0x98]
mov edx, 0x94
call sym.WeiXun.exe__Auutils_InitMSRecord_qqrpvi
lea eax, [ebp - 0x98]
push eax
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [ebp - 0x94], 6
setae byte [ebp - 1]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x415020
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00458668
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, 0x50
cdq
idiv ecx
mov edx, eax
add edx, edx
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004589ec
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x4151bf
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00458668
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*2]
cmp eax, edx
jge 0x4150c1
mov eax, dword [ebp - 4]
call fcn.00458668
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
sub ecx, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax]
lea edx, [ebp - 0x17]
call fcn.00456858
jmp 0x4150da
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax]
lea edx, [ebp - 0x17]
mov ecx, 3
call fcn.00456858
mov al, byte [ebp - 0x17]
and al, 0xfc
and eax, 0xff
shr eax, 2
mov edx, 0x415244
mov al, byte [edx + eax]
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x17]
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 0x16]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or eax, edx
mov edx, 0x415244
mov al, byte [edx + eax]
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x16]
and al, 0xf
and eax, 0xff
shl eax, 2
mov dl, byte [ebp - 0x15]
and dl, 0xc0
and edx, 0xff
shr edx, 6
or eax, edx
mov edx, 0x415244
mov al, byte [edx + eax]
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x15]
and al, 0x3f
and eax, 0xff
mov edx, 0x415244
mov al, byte [edx + eax]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x10]
shl eax, 2
inc eax
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004588b8
mov edx, dword [ebp - 0x10]
lea edx, [eax + edx - 1]
lea eax, [ebp - 0x1b]
mov ecx, 4
call fcn.00456858
mov eax, dword [ebp - 0xc]
mov ecx, 0x14
cdq
idiv ecx
test edx, edx
jne 0x4151b3
mov eax, dword [ebp - 8]
call fcn.004588b8
mov edx, dword [ebp - 0x10]
lea edx, [eax + edx + 3]
mov ecx, 2
mov eax, 0x415290
call fcn.00456858
add dword [ebp - 0x14], 2
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x415080
mov eax, dword [ebp - 4]
call fcn.00458668
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x415206
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00458668
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004588b8
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00458668
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004588b8
mov byte [eax + ebx - 1], 0x3d
jmp 0x415234
mov eax, dword [ebp - 4]
call fcn.00458668
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x415234
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00458668
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004588b8
mov byte [eax + ebx - 1], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41535c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00458850
xor eax, eax
push ebp
push 0x41544d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x415460
call fcn.00458404
cmp dword [ebp - 4], 0
je 0x41542c
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 4]
call fcn.00446254
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 4]
call fcn.00458448
mov eax, dword [ebp - 4]
cmp byte [eax], 0x2e
je 0x4153d6
lea edx, [ebp - 4]
mov ecx, 1
mov eax, 0x415484
call fcn.00458948
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00458860
push eax
push SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x41542c
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0x415488
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41542c
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00458618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415454
lea eax, [ebp - 0x118]
call fcn.004583b0
lea eax, [ebp - 4]
call fcn.004583b0
ret

Function at 0x41555c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00458860
push eax
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
sete byte [ebp - 0xd]
cmp dword [ebp - 0xc], 1
jne 0x41559f
cmp dword [ebp + 8], 0
setne byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8

Function at 0x4155e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x20019
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00415498
test al, al
je 0x415630
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00458860
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x415634
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x415724
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xf003f
lea eax, [ebp + 8]
mov cl, 1
mov edx, dword [ebp - 4]
call fcn.00415498
test al, al
je 0x41577a
mov eax, dword [ebp - 0xc]
call fcn.00458668
push eax
mov eax, dword [ebp - 0xc]
call fcn.00458860
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00458860
push eax
mov eax, dword [ebp + 8]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov eax, dword [ebp + 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret 4

Function at 0x415810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xf003f
lea eax, [ebp + 8]
mov cl, 1
mov edx, dword [ebp - 4]
call fcn.00415498
test al, al
je 0x41585a
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00458860
push eax
mov eax, dword [ebp + 8]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov eax, dword [ebp + 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret 4

Function at 0x415954
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xf003f
lea eax, [ebp - 0xc]
mov cl, 1
mov edx, dword [ebp - 4]
call fcn.00415498
test al, al
je 0x41599e
push 8
lea eax, [ebp + 8]
push eax
push 3
push 0
mov eax, dword [ebp - 8]
call fcn.00458860
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret 8

Function at 0x4159a4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xf003f
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00415498
test al, al
je 0x4159e4
mov eax, dword [ebp - 8]
call fcn.00458860
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegDeleteValueA
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret
Function at 0x415a18
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x415aac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
push 0xf003f
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, 0x415ac0
call sym.WeiXun.exe__Auutils_LeftPartR_qqrx17System_AnsiStringt1
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
xor ecx, ecx
call fcn.00415498
test al, al
je 0x415a91
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, 0x415ac0
call sym.WeiXun.exe__Auutils_RightPartR_qqrx17System_AnsiStringt1
mov eax, dword [ebp - 0x10]
call fcn.00458860
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyA
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415ab3
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004583d4
ret

Function at 0x415ac4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor edx, edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x415bc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
push 0xf003f
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00415498
test al, al
je 0x415b96
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x104
jmp 0x415b69
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.0044a9a0
lea eax, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x115]
call fcn.0044710c
mov edx, dword [ebp - 0x120]
pop eax
call fcn.00458670
mov eax, dword [ebp - 0x11c]
call fcn.00415ac4
pop ecx
inc dword [ebp - 8]
mov dword [ebp - 0x10], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x115]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
je 0x415b1d
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00415a18
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415bc8
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.004583d4
ret

Function at 0x415c2c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x20019
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00415498
test al, al
je 0x415c7d
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x415c84
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x415dc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x20019
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00415498
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x415daa
xor eax, eax
push ebp
push 0x415da3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
jne 0x415d8c
cmp dword [ebp - 0x18], 0
je 0x415d8c
mov eax, dword [0x4e8770]
cmp byte [eax + 0xc], 0
je 0x415d25
mov eax, dword [0x4e8764]
cmp dword [eax], 2
jne 0x415d25
inc dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x415d8c
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
call fcn.004589ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00458860
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegEnumValueA
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.004589ec
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x415d3b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415daa
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415dc7
lea eax, [ebp - 0x24]
call fcn.004583b0
ret
Function at 0x416768
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00458850
xor eax, eax
push ebp
push 0x4168f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x41690c
call fcn.004589a4
test eax, eax
jne 0x4167ae
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x416918
call fcn.004586b4
lea eax, [ebp - 0x4c]
mov edx, 0x3c
call sym.WeiXun.exe__Auutils_InitMSRecord_qqrpvi
mov dword [ebp - 0x44], 0x21
mov dword [ebp - 0x38], 0x101
mov dword [ebp - 0x2c], 0x81
mov dword [ebp - 0x24], 0x81
mov dword [ebp - 0x1c], 0x801
mov dword [ebp - 0x14], 0x801
mov eax, 0x21
call fcn.00456570
mov dword [ebp - 0x48], eax
mov eax, 0x101
call fcn.00456570
mov dword [ebp - 0x3c], eax
mov eax, 0x81
call fcn.00456570
mov dword [ebp - 0x30], eax
mov eax, 0x81
call fcn.00456570
mov dword [ebp - 0x28], eax
mov eax, 0x801
call fcn.00456570
mov dword [ebp - 0x20], eax
mov eax, 0x801
call fcn.00456570
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
push eax
push SysReAllocString
mov eax, dword [ebp - 4]
call fcn.00458668
push eax
mov eax, dword [ebp - 4]
call fcn.00458860
push eax
call sub.WININET.DLL_InternetCrackUrlA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4168ae
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
call fcn.004585a0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
call fcn.004585a0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x20]
call fcn.004585a0
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x30]
call fcn.004585a0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
call fcn.004585a0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.004585a0
mov eax, dword [ebp + 8]
mov dx, word [ebp - 0x34]
mov word [eax], dx
mov eax, dword [ebp - 0x48]
call fcn.00456590
mov eax, dword [ebp - 0x3c]
call fcn.00456590
mov eax, dword [ebp - 0x30]
call fcn.00456590
mov eax, dword [ebp - 0x28]
call fcn.00456590
mov eax, dword [ebp - 0x20]
call fcn.00456590
mov eax, dword [ebp - 0x18]
call fcn.00456590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4168fb
lea eax, [ebp - 4]
call fcn.004583b0
ret