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

Disassembly:
push 0x634
mov eax, 0x5e3f2e
call fcn.0046dcda
mov esi, ecx
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
mov ebx, eax
call fcn.00451dc6
mov ecx, eax
call fcn.004686f7
push 0x208
mov edi, eax
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00480640
push edi
lea eax, [ebp - 0x628]
push str._sEUDC_
push eax
call fcn.00407f60
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46b9a8
xor eax, eax
jmp 0x46baac
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00480640
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00480640
push edi
lea eax, [ebp - 0x218]
push str._sEUDCEUDC.EUF
push eax
call fcn.00407f60
push ebx
lea eax, [ebp - 0x420]
push str._sEUDCEUDC.EUF
push eax
call fcn.00407f60
add esp, 0x30
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046b88d
test eax, eax
je 0x46b9a1
push edi
mov edi, str._sEUDCEUDC.TTE
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00407f60
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00407f60
add esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046b88d
test eax, eax
je 0x46b9a1
xor ebx, ebx
mov dword [ebp - 0x62c], 7
xor eax, eax
mov dword [ebp - 0x630], ebx
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x640]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
call fcn.0046bdff
test eax, eax
je 0x46ba9a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.004287e0
test eax, eax
jne 0x46ba9a
xor esi, esi
inc esi
jmp 0x46ba9c
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x640]
call fcn.0041edb0
mov eax, esi
call fcn.0046dc84
ret

Function at 0x46bc16
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push esi
push eax
push 0xf003f
push 0
push str.EUDC936
push reloc.WS2_32.dll_accept
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46bc81
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0046bd94
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041edb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046d81d
mov esp, ebp
pop ebp
ret
Function at 0x46bc90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x22c
mov eax, 0x5e3f61
call fcn.0046dcda
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
push 0xf003f
xor ebx, ebx
mov dword [ebp - 0x238], 0x208
push ebx
push str.EUDC936
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x234], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x46bcde
xor eax, eax
jmp 0x46bd8c
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0046bd94
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.00480640
add esp, 0xc
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x234]
test eax, eax
je 0x46bd49
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
jmp 0x46bd7c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x218], 0
jne 0x46bd5d
mov eax, ebx
jmp 0x46bd6a
lea eax, [ebp - 0x218]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402ad0
xor esi, esi
inc esi
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.0041edb0
mov eax, esi
call fcn.0046dc84
ret 4

Function at 0x46bdff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0xf003f
xor esi, esi
mov ebx, 0x208
push esi
push str.EUDC936
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x46be50
xor eax, eax
jmp 0x46bec4
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00480640
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push str.SystemDefaultEUDCFont
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
test eax, eax
je 0x46be94
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46be4c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x20c], si
je 0x46beb2
lea eax, [ebp - 0x20c]
push eax
call fcn.0048ece7
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402ad0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d81d
mov esp, ebp
pop ebp
ret 4
Function at 0x46bffe
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
xor edi, edi
push eax
push 0xf003f
push edi
push str.EUDC936
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x210], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c0a9
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00480640
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048ed33
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
push str.SystemDefaultEUDCFont
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
test eax, eax
je 0x46c0ca
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
push edi
push 1
lea ecx, [ebp + 8]
call fcn.0041edb0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0046d81d
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x46c0ab

Function at 0x46c3d1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 8], 7
mov esi, 0x5eea74
mov word [ebp - 0x1c], ax
xor edi, edi
push esi
mov dword [ebp - 0xc], edi
call fcn.0048ece7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00402ad0
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push edi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c447
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call fcn.0041edb0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d81d
mov esp, ebp
pop ebp
ret
Function at 0x46c499
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x418]
mov ebx, str.WnWBImeDictFile
push eax
push ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x46c5ec
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push eax
push ebx
push 1
push 0x5e6948
push dword [ebp - 0x418]
call edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00480640
add esp, 0xc
mov ebx, str.WnDictInst.exe
push ebx
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea eax, [ebp - 0x414]
push 0x5e9d50
push eax
call fcn.00407f60
add esp, 0x10
lea eax, [ebp - 0x414]
push 0x104
push eax
push 1
push str.DefaultIcon
push dword [ebp - 0x418]
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00480640
add esp, 0xc
push ebx
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea eax, [ebp - 0x20c]
push str.__s_s___install
push eax
call fcn.00407f60
lea eax, [ebp - 0x20c]
push 0x5eeb1c
push eax
call fcn.0048ed02
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 1
push str.shellopencommand_
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x41c]
push eax
push str..wncl
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x46c5eb
push 0x104
push str.WnWBImeDictFile
push 1
push 0x5e6948
push dword [ebp - 0x41c]
call edi
push dword [ebp - 0x41c]
call ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0046d81d
mov esp, ebp
pop ebp
ret

Function at 0x46c5fb
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
call fcn.0046c60b
mov ecx, esi
pop esi
jmp fcn.0046c499
Function at 0x46c60b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x41c]
push eax
mov ebx, str.WnWBImeSkinFile
push ebx
push SysReAllocString
call esi
test eax, eax
jne 0x46c795
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push eax
push ebx
push 1
push 0x5e6948
push dword [ebp - 0x41c]
call edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00480640
add esp, 0xc
mov ebx, str.WnSkinInst.exe
push ebx
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea eax, [ebp - 0x414]
push 0x5e9d50
push eax
call fcn.00407f60
add esp, 0x10
lea eax, [ebp - 0x414]
push 0x104
push eax
push 1
push str.DefaultIcon
push dword [ebp - 0x41c]
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00480640
add esp, 0xc
push ebx
call fcn.00451dc6
mov ecx, eax
call fcn.00468717
push eax
lea eax, [ebp - 0x20c]
push str.__s_s___install
push eax
call fcn.00407f60
lea eax, [ebp - 0x20c]
push 0x5eeb1c
push eax
call fcn.0048ed02
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 1
push str.shellopencommand_
push dword [ebp - 0x41c]
call edi
push dword [ebp - 0x41c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x418]
push eax
push str..wnpf
push SysReAllocString
call esi
test eax, eax
jne 0x46c794
push 0x104
push str.WnWBImeSkinFile
push 1
push 0x5e6948
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
call ebx
lea eax, [ebp - 0x418]
push eax
push str..swnpf
push SysReAllocString
call esi
test eax, eax
jne 0x46c794
push 0x104
push str.WnWBImeSkinFile
push 1
push 0x5e6948
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
call ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d81d
mov esp, ebp
pop ebp
ret

Function at 0x46c7a5
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x5e6948
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c7ed
push str.WnWBImeDictFile
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str..wncl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x46c7f1
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
call fcn.0046c801
mov ecx, esi
pop esi
jmp fcn.0046c7a5

Function at 0x46c801
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x5e6948
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c853
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.WnWBImeSkinFile
push dword [ebp - 4]
call esi
push str..wnpf
push dword [ebp - 4]
call esi
push str..swnpf
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46ee70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.004701c0
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.00470170
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.00470210
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x46eeac
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x46ef00
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x46eef0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x46eef0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x46f120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4206
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x46f17a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x46f197
mov eax, dword [esi + 0x20]
jmp 0x46f19a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x46f1b4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x46f1ce
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x46f1e8
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.00483f86
push eax
call fcn.0048f609
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00480640
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x46f2a7
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.00480640
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x46f298
test eax, eax
je 0x46f298
add eax, eax
cmp eax, 0x412
jae 0x46f293
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x46f29e
call fcn.0046e455
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.00404470
mov eax, dword [esi + 0x30]
test eax, eax
je 0x46f2d3
cmp dword [esi + 0x34], 8
jb 0x46f2b9
mov ecx, dword [esi + 0x20]
jmp 0x46f2bc
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x46f2d3
push 1
push 0x5e6ba4
lea ecx, [esi + 0x20]
call fcn.00405da0
cmp dword [esi + 0x30], 0
jne 0x46f2e8
push 3
push 0x5ef17c
lea ecx, [esi + 0x20]
call fcn.00402ad0
mov dword [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d81d
mov esp, ebp
pop ebp
ret
Function at 0x46f310
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x46f32c
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x46f325
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x46f349
push eax
call fcn.0046d837
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x46f35f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402c20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46f375
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x46f390
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402c20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46f3a6
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x46f3c1
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402c20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46f3d7
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x46f3f2
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00402c20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46f408
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x46f422
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00402c20
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x46f441
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x470a80
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x470abe
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x470abe
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret
Function at 0x4716d2
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5e44ef
call fcn.0046dca6
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00464345
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.0046440b
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x47170b
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 0x47177b
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5e6c2c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x471748
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47177b
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.00464358
call fcn.0046dc6f
ret 8

Function at 0x471c92
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5e4ef4
call fcn.0046dca6
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00464345
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0046440b
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x471cd2
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 0x471d34
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5e6c2c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x471d0f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x471d34
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00464358
call fcn.0046dc6f
ret 8
Function at 0x471d5c
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5ddf7b
call fcn.0046dcda
mov esi, ecx
mov ebx, 0x5e6b58
lea eax, [ebp - 0x230]
push ebx
push str.InstallTime
push str.AppInfo
push eax
call fcn.00472205
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push ebx
call fcn.004287e0
test eax, eax
jne 0x471e0c
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00480640
lea eax, [esi + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x471dc0
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
push str.InstallTime
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x471dec
xor eax, eax
jmp 0x471df9
lea eax, [ebp - 0x218]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402ad0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00483eb3
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.0041edb0
mov eax, esi
call fcn.0046dc84
ret

Function at 0x471ea3
Capabilities:
Read .ini file

Disassembly:
push 0x864
mov eax, 0x5e45cc
call fcn.0046dcda
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.0045524b
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x858]
call fcn.004041b0
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00480640
lea ecx, [ebx + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x471f0d
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x830], 0
xor eax, eax
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
cmp word [ebp - 0x810], ax
je 0x471f67
lea eax, [ebp - 0x810]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00402ad0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x840]
call fcn.00454c66
test eax, eax
jne 0x471fd7
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ecx, ebx
cmovae eax, dword [ebp - 0x828]
push eax
push edi
push esi
lea eax, [ebp - 0x870]
push eax
call fcn.00472205
push eax
lea ecx, [ebp - 0x858]
call fcn.004043f0
xor ebx, ebx
lea ecx, [ebp - 0x870]
push ebx
push 1
call fcn.0041edb0
jmp 0x471fee
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x840]
push ebx
push eax
lea ecx, [ebp - 0x858]
call fcn.004029b0
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.00483eb3
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x840]
mov esi, eax
call fcn.0041edb0
push ebx
push 1
lea ecx, [ebp - 0x858]
call fcn.0041edb0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0041edb0
mov eax, esi
call fcn.0046dc84
ret 0xc