joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435e10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ae7c
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0x57f1dc
lea ecx, [ebp - 0x4c]
call fcn.00403970
mov dword [ebp - 4], 0
push str.KuaiZip.MainWnd.Click.FileHistory
lea ecx, [ebp - 0x68]
call fcn.00403970
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0056a700
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00403230
lea ecx, [ebp - 0x2c]
call fcn.00408982
mov dword [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0044fbf0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00436850
movzx ecx, al
test ecx, ecx
je 0x435eca
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406210
jmp 0x435f22
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 0x2c]
call fcn.00406410
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435eff
push 0
lea ecx, [ebp - 0x2c]
call fcn.00406410
push eax
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx + 4]
call fcn.00446e70
test eax, eax
setne al
mov byte [ebp - 0x2d], al
movzx ecx, byte [ebp - 0x2d]
test ecx, ecx
jne 0x435f13
lea edx, [ebp - 0x2c]
push edx
call fcn.0044fb60
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4

Function at 0x43a480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b213
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0043ac90
add esp, 8
movzx edx, al
test edx, edx
je 0x43a4da
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044fc20
jmp 0x43a564
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00438070
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x1020], 0
jne 0x43a547
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0x43a580
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0x1030
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1020], 1
jmp 0x43a555
mov ecx, dword [ebp - 0x18]
add ecx, 0x102c
call fcn.0043aeb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044fc20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43af10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b268
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
lea ecx, [ebp - 0x14]
call fcn.00438030
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a8c0
lea ecx, [ebp - 0x14]
call fcn.004dfdf0
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.0043c4b0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x43afc0
push 0
push 0
call fcn.0053ec8f
add esp, 0x18
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044fc20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x43afe0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b296
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0043b410
movzx eax, al
test eax, eax
jne 0x43b11c
push 0xc
call fcn.0053cf1e
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x43b049
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0043b2e0
mov dword [ebp - 0x38], eax
jmp 0x43b050
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0045d9e0
mov dword [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0043b430
add eax, 4
mov ecx, eax
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
push 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0043b430
add eax, 4
mov ecx, eax
call fcn.004dfdf0
push eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0043b430
mov ecx, eax
call fcn.004dfdf0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0043b430
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0x20]
add ecx, dword [eax + 8]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x20], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.004368a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0043b460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00496090
jmp 0x43b008
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
add ecx, 4
call fcn.0043c480
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43c4d0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b38b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp - 0x238]
call fcn.0043c740
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x238]
mov dword [eax], vtable.CInternetSession.0
cmp dword [ebp + 8], 0
jne 0x43c556
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x238]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x238]
cmp dword [edx + 4], 0
jne 0x43c5b4
push 0x57f7e0
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.0043c5e0
add esp, 0xc
push 0x5d9d74
lea eax, [ebp - 0x234]
push eax
call fcn.0053cc9c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 0x14

Function at 0x43c8b0
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x43c8f8
push str.Failed_to_query_available_data_length
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0043c5e0
add esp, 0xc
push 0x5d9d74
lea eax, [ebp - 0x1c]
push eax
call fcn.0053cc9c
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43e300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0053c870
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403970
mov eax, dword [ebp - 0x118]
or eax, 1
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x43e390
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b468
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
push 0
push 0x80
push 3
lea eax, [ebp - 0x20]
push eax
push 1
push bind
lea ecx, [ebp + 8]
call fcn.00403810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x43e4b6
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
add ecx, 1
push ecx
call fcn.0050721e
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43e483
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403230
mov eax, dword [ebp - 0x2c]
jmp 0x43e4cf
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403230
mov eax, dword [ebp - 0x30]
jmp 0x43e4cf
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403230
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43e4e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b4d0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0043e300
add esp, 4
mov dword [ebp - 4], 1
push str.SndaUpdateid.dat
lea ecx, [ebp - 0x4c]
call fcn.0041b4d0
push 0x57fec7
lea ecx, [ebp - 0x2c]
call fcn.00403970
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x4c]
call fcn.00403810
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43e693
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403810
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.00403970
mov dword [ebp - 0xb4], eax
call fcn.0043e390
add esp, 0x24
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x43e693
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403970
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402bb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00403230
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.0053f10f
add esp, 4
push 0x20
push 0
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041a090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.004032f0
sub eax, 0x20
push eax
push 0x20
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041a090
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004031e0
mov edx, dword [ebp - 0xb0]
or edx, 1
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00403230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00403230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00403230
mov eax, dword [ebp + 8]
jmp 0x43e6ca
push 0x57fec8
mov ecx, dword [ebp + 8]
call fcn.00403970
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00403230
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x43efa0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b670
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.004d7680
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 1
je 0x43f00d
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0043f600
mov eax, dword [ebp - 0x78]
jmp 0x43f0b2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
push str._fixassoc
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x43f08f
lea ecx, [ebp - 0x74]
call fcn.0043f270
mov byte [ebp - 4], 1
lea edx, [ebp - 0x74]
push edx
mov ecx, 0x5fbeec
call fcn.00440310
lea ecx, [ebp - 0x3c]
call fcn.0043f620
mov byte [ebp - 4], 2
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.0043f9c0
lea ecx, [ebp - 0x74]
call fcn.0043fd40
mov dword [ebp - 0x7c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0043f7f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0043f2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0043f600
mov eax, dword [ebp - 0x7c]
jmp 0x43f0b2
mov ecx, 0x5fbeec
call fcn.00440430
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0043f600
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43f0f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
call fcn.0043f0e0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403970
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00569f90
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00403230
movzx ecx, byte [0x5fbfcc]
test ecx, ecx
je 0x43f13a
xor eax, eax
jmp 0x43f25d
mov ecx, 0x5fc068
call fcn.00408b9e
movzx edx, al
test edx, edx
jne 0x43f152
xor eax, eax
jmp 0x43f25d
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0x404
call fcn.0043fd10
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, 0x5fbeec
call fcn.0043ff50
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.00566b70
add esp, 4
mov ecx, 0x5fbf28
call fcn.00444df0
test eax, eax
jne 0x43f1ac
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043efa0
add esp, 4
test eax, eax
je 0x43f1c9
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x43f25d
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x19]
push ecx
call fcn.0043ee50
add esp, 4
test eax, eax
setne dl
mov byte [ebp - 0x21], dl
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x43f203
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 5]
call fcn.0043f880
mov eax, dword [ebp - 0x44]
jmp 0x43f25d
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0043fc90
push 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0043ea30
add esp, 8
mov dword [ebp - 4], eax
mov ecx, 0x5fbeec
call fcn.00440110
mov edx, dword [ebp - 0x20]
push edx
call sub.gdiplus.dll_GdiplusShutdown
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 5]
call fcn.0043f880
mov eax, dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4435a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0047d8c0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00443540
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44360b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004433a0
mov eax, dword [ebp - 0x224]
jmp 0x44369c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x443671
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004435a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x443668
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004433a0
mov eax, dword [ebp - 0x228]
jmp 0x44369c
mov dword [ebp - 4], 0x100
jmp 0x443612
lea ecx, [ebp - 0x14]
call fcn.00443480
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00443420
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004433a0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4
Function at 0x443c90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x443c99
xor ecx, ecx
jne 0x443c99
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x443cba
mov eax, 0xd
jmp 0x443d15
xor eax, eax
jne 0x443ca1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x443ccb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x444c27
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bb80
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.00438030
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
ja case.default.0x444bf3
mov ecx, dword [ebp - 0x30]
jmp dword [ecx*4 + 0x444cac]
push 0x114
lea ecx, [ebp - 0x10]
call fcn.0041a8c0
jmp 0x444c73
push 0x115
lea ecx, [ebp - 0x10]
call fcn.0041a8c0
jmp 0x444c73
push 0x116
lea ecx, [ebp - 0x10]
call fcn.0041a8c0
jmp 0x444c73
push 0x29
push 0x5803ec
lea ecx, [ebp - 0x2c]
call fcn.00408888
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
call fcn.0043e970
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004088d3
jmp 0x444c73
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044fc20
jmp 0x444c9b
push 5
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x445320
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x50], ax
push 0x3e
push 0
lea ecx, [ebp - 0x4e]
push ecx
call fcn.0053c870
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx edx, ax
mov dword [ebp - 8], edx
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x1004
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x445378
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x445384
lea edx, [ebp - 0x50]
push edx
call fcn.0053f49b
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x446900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x446909
xor ecx, ecx
jne 0x446909
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x446950
mov eax, dword [ebp - 0xc]
jmp 0x4469ad
cmp dword [ebp - 4], 1
je 0x446963
cmp dword [ebp - 4], 2
je 0x446963
mov eax, 0xd
jmp 0x4469ad
cmp dword [ebp + 0xc], 0
je 0x4469a1
cmp dword [ebp - 8], 0
je 0x446999
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x446990
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x446997
mov eax, 0xd
jmp 0x4469ad
jmp 0x4469a1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc