joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458e0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bbe8]
cmp dword [eax + 0x30], 0
je 0x458eb6
cmp dword [ebx + 0x94], 0
jne 0x458eb0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458d9c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458eb0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458e76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458eb0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041773c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458e85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459a18
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459a4d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fd8
jmp 0x459a5a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45aaac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45aaed
mov eax, esi
call fcn.004411cc
test al, al
je 0x45aaed
mov eax, dword [ebx + 0x84]
call fcn.00440ec8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45aaed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440ec8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45b7ac
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4147d0]
call fcn.00404880
xor eax, eax
push ebp
push 0x45b8f0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469e10], 0
jne 0x45b7ff
mov ecx, dword [0x46a5d4]
mov dl, 1
mov eax, dword [0x4070ec]
call fcn.0040b730
call fcn.00403924
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bac
mov eax, ebx
call fcn.00404750
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45b900
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405804
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404760
test eax, eax
jle 0x45b897
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45b890
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404170
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404158
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407f2c
test eax, eax
jne 0x45b890
mov ebx, 0x15
jmp 0x45b89c
mov ebx, 0x10
jmp 0x45b89c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x469e10]
call fcn.0045b704
mov eax, dword [ebp - 8]
call fcn.0045b704
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040581c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b8f7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f0c
lea eax, [ebp - 0x10]
mov edx, dword [0x4147d0]
call fcn.00404950
ret

Function at 0x466eac
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.00403ee8
test ebx, ebx
je 0x466f4d
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x466ee8
mov eax, ebx
call fcn.004043a8
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x466f59
mov eax, esi
mov edx, ebx
call fcn.00403f3c
jmp 0x466f59
mov eax, ebx
call fcn.004043a8
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x466f59
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x466f68
call fcn.00408db4
jmp 0x466f59
mov eax, esi
mov edx, 0x466f7c
call fcn.00403f3c
add esp, 0x20
pop edi
pop esi
pop ebx
ret
Function at 0x401740
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x430218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x441510]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], eax
mov esi, ecx
mov ebp, 0x432620
call fcn.0042317f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s_s
push edx
mov dword [esp + 0x38], 0
call fcn.00401720
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx - 4]
lea eax, [ecx - 0x10]
add esp, 0x10
cmp edx, 1
mov dword [esp + 0x18], eax
jle 0x4017d3
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x18]
call fcn.00401280
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
mov dword [esp + 0x18], eax
dec dword [eax + 0xc]
jne 0x4017df
mov dword [eax + 0xc], 0xffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x401822
mov ebx, dword [esi + 4]
inc ebx
mov eax, ebx
imul eax, eax, 0x64
cdq
idiv dword [esi]
mov ecx, dword [esi + 8]
mov dword [esi + 4], ebx
mov dword [ecx + 0x7c], eax
call fcn.0042317f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
push eax
mov byte [esp + 0x2c], 1
push 0x43279c
jmp 0x401843
call fcn.0042317f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
push eax
mov byte [esp + 0x2c], 2
push 0x43278c
lea ecx, [esp + 0x18]
push ecx
call fcn.00401720
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x19c]
add esp, 0xc
push ebx
push 0
add eax, 0x180
push 0x180
push edx
call edi
mov eax, dword [esi + 8]
push 0
push 0
add eax, 0x180
mov eax, dword [eax + 0x1c]
push 0x18b
push eax
call edi
mov ecx, dword [esi + 8]
push 0
dec eax
push eax
add ecx, 0x180
mov ecx, dword [ecx + 0x1c]
push 0x186
push ecx
call edi
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x19c]
add eax, 0x180
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebx - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4018d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4018f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebp, 4
cmp ebp, str.updateau.exe
jl 0x401772
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10]
mov eax, 1
pop ebx
call fcn.00411598
add esp, 0x1c
ret 4
Function at 0x401af0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x401b15
push 5
push 0
push 0
push str.http:__active.zqgame.com_zqgame_sgyx_Unloading
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, esi
pop esi
jmp method.CWinApp.virtual_104
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
test eax, eax
je 0x42c693
mov eax, dword [eax + 0x10]
cmp eax, 6
je 0x42c6a5
cmp eax, 5
je 0x42c6a5
call fcn.0042d175
cmp byte [eax + 0x14], 0
jne 0x42c6a5
mov ecx, esi
call fcn.0042c644
mov eax, dword [esi + 0x98]
test eax, eax
je 0x42c6b1
call eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x42c6c3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi + 0x78], 0
call fcn.004234ce
mov eax, dword [eax + 8]
pop esi
ret
Function at 0x402d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x441510]
mov dword [esp + 0x1a4], eax
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402db3
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0x432e50
push ecx
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402dca
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x402ddf
xor eax, eax
mov ecx, dword [esp + 0x1a4]
call fcn.00411598
add esp, 0x1a8
ret
mov eax, dword [esp + 0x1ac]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xa4]
push edx
push str._s__s_
push eax
call fcn.00412579
mov ecx, dword [esp + 0x1b4]
add esp, 0x10
mov eax, 1
call fcn.00411598
add esp, 0x1a8
ret

Function at 0x402e20
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x30
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e87
mov edx, dword [esp + 0x34]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.ProcessorNameString
push ecx
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402e7d
xor eax, eax
add esp, 0x30
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov eax, 1
add esp, 0x30
ret
Function at 0x402eb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2c
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E968_E325_11CE_BFC1_08002BE103180000_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402f13
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.DriverDesc
push ecx
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402f50
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [esp + 4]
push eax
push 0
mov dword [esp + 0xc], 0
call sub.DDRAW.dll_DirectDrawCreate
test eax, eax
jl 0x402f50
mov eax, dword [esp]
test eax, eax
je 0x402f50
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x43832c
push eax
call dword [ecx]
test eax, eax
jge 0x402f56
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
add esp, 0x2c
ret
mov eax, dword [esp + 4]
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x1000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
test eax, eax
jge 0x402fa6
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp]
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
add esp, 0x2c
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov dword [ecx], eax
mov eax, dword [esp]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
add esp, 0x2c
ret

Function at 0x402ff0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x294
mov eax, dword [0x441510]
mov dword [esp + 0x290], eax
lea eax, [esp + 0x100]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x403097
mov ax, word [esp + 0x100]
cmp al, 1
jne 0x403092
cmp ah, al
jne 0x403092
push esi
push 0xff
lea ecx, [esp + 8]
push ecx
xor esi, esi
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x40305b
lea edx, [esp + 4]
push edx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x40305b
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call sub.WS2_32.dll_inet_ntoa
mov esi, eax
call sub.WS2_32.dll_WSACleanup
mov edx, dword [esp + 0x29c]
mov eax, esi
sub edx, esi
pop esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403070
mov eax, 1
mov ecx, dword [esp + 0x290]
call fcn.00411598
add esp, 0x294
ret
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esp + 0x290]
xor eax, eax
call fcn.00411598
add esp, 0x294
ret
Function at 0x403220
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push 0
push 0
call ebx
mov esi, eax
test esi, esi
jne 0x40323d
pop esi
pop ebx
add esp, 0x1c
ret
push ebp
push edi
push esi
call fcn.004234c0
add esp, 4
mov edi, eax
push edi
push esi
call ebx
mov esi, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov dword [esp + 0x10], 0xa
push edi
call ebp
cmp eax, 3
jne 0x40332d
xor eax, eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x24], ecx
xor edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x24]
push edx
push edi
call ebx
mov eax, dword [esi + 0x1dc]
shl eax, 5
mov ecx, edi
lea edx, [eax + esi + 0x230]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4032b4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x1dc]
shrd ecx, edx, 0x14
mov dword [esi + eax*4 + 0x1e0], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1dc]
shr edx, 0x14
mov edx, dword [esp + 0x20]
shrd ecx, edx, 0x14
mov dword [esi + eax*4 + 0x208], ecx
mov eax, dword [esi + 0x1dc]
mov ecx, dword [esi + eax*4 + 0x1e0]
shr edx, 0x14
mov edx, dword [esi + 0x1d4]
add edx, ecx
mov ecx, dword [esi + 0x1d8]
mov dword [esi + 0x1d4], edx
mov edx, dword [esi + eax*4 + 0x208]
add ecx, edx
inc eax
mov dword [esi + 0x1d8], ecx
mov dword [esi + 0x1dc], eax
mov cl, byte [edi]
mov eax, dword [esp + 0x10]
inc cl
dec eax
mov byte [edi], cl
mov dword [esp + 0x10], eax
jne 0x403266
push edi
call fcn.004234bb
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x403470
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
push edi
xor eax, eax
mov ecx, 0x140
mov edi, esi
push esi
rep stosd dword es:[edi], eax
call fcn.00402d40
lea eax, [esi + 0x1c0]
push eax
lea ecx, [esi + 0x80]
push ecx
call fcn.00402e20
lea edx, [esi + 0x1c8]
push edx
lea eax, [esi + 0x100]
push eax
call fcn.00402eb0
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x180]
shr edx, 0x14
push eax
mov dword [esi + 0x1c4], edx
call fcn.00402ff0
lea ecx, [esi + 0x1a0]
push ecx
call fcn.004030b0
push esi
call fcn.00403220
add esp, 0xc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x403528
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1cc], eax
sub ecx, dword [esp + 0xc]
mov dword [esi + 0x1d0], ecx
push esi
call fcn.00403360
add esp, 4
pop edi
pop esi
add esp, 0x20
ret
Function at 0x4041a0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
lea eax, [esp + 8]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SoftwarepownSanGuoOnline_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], esi
call ebx
test eax, eax
jne 0x4041fb
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.Name
push esi
call edi
push str.Path
push esi
call edi
push str.CurrVer
push esi
call edi
test esi, esi
pop edi
je 0x4041fb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [esp + 8]
push ecx
push 0x2001f
push 0
push str.Softwarepown
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x40423e
test esi, esi
je 0x40422a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov esi, dword [esp + 8]
jne 0x40423e
push str.SanGuoOnline
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test esi, esi
je 0x404249
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ecx
ret

Function at 0x405ac0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x441510]
push esi
mov esi, dword [esp + 0x78]
xor edx, edx
mov dword [esp + 0x70], eax
mov eax, esi
push edi
mov byte [esp + 0x70], dl
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, dl
jne 0x405b05
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.00405860
lea ecx, [esp + 8]
call fcn.00405950
push 0x442e00
lea ecx, [esp + 0xc]
call fcn.00405a40
mov ecx, dword [esp + 0x74]
pop edi
pop esi
call fcn.00411598
add esp, 0x70
ret
Function at 0x405c80
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43059b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x441510]
push esi
push edi
mov dword [esp + 0x110], eax
call fcn.0042317f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
mov dword [esp + 0x12c], 0
call edi
push 0x433748
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push str._s_s
push edx
call fcn.00401720
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
push eax
call esi
push 0
push 2
lea ecx, [esp + 0x14]
push ecx
push 0
call edi
push 0x433734
push 0x433720
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._s_s_s
push eax
call fcn.00401720
mov ecx, dword [esp + 0x1c]
add esp, 0x14
push ecx
call esi
push 0x433700
push 0x433720
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._s_s_s
push eax
call fcn.00401720
mov ecx, dword [esp + 0x1c]
add esp, 0x14
push ecx
call esi
push 0x433720
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push str._s_s
push eax
call fcn.00401720
mov esi, dword [esp + 0x18]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x405dae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x108]
call fcn.00411598
add esp, 0x118
ret
Function at 0x4088bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x40890e
call fcn.0042d175
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x40890e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x408904
xor eax, eax
jmp 0x408a27
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x40893e
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x40893e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x408a24
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x40896b
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.00409e42
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x408a24
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4089b4
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x4089b4
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x4089ae
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.00409e42
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x408a14
and dword [ebp + 0xc], 0
jmp 0x408a14
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x408a14
push 0xc
call fcn.00423490
mov esi, eax
test esi, esi
pop ecx
je 0x4089f6
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4089f8
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x408a0f
push dword [ebp - 8]
call fcn.00422b81
jmp 0x408a14
call fcn.00422b58
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x408979
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc