joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10002327
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
test byte [esi + 0x50], 1
je 0x1000238c
test byte [esi + 0xa5], 2
lea edi, [esi + 0xa4]
je 0x1000238c
call dword [sym.imp.USER32.dll_ReleaseCapture]
and byte [edi + 1], 0xfd
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
add eax, 0xfffffff2
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, 0xe
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100023ac
mov ecx, esi
call fcn.10001fbb
jmp 0x100023ac
mov eax, dword [esi + 0x70]
xor edi, edi
cmp dword [eax - 8], edi
je 0x100023ac
mov ecx, esi
call fcn.10001fbb
push 1
push edi
push edi
push dword [esi + 0x70]
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
leave
ret 0xc

Function at 0x10002511
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
jne 0x10002532
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esi + 0x20]
push 0
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 0x44], eax
pop esi
ret
Function at 0x10003e46
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1090
call fcn.100122c0
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x10003fbb
push esi
mov esi, dword [edi + 0x24]
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x1048
lea eax, [ebp - 0x1090]
push ebx
push eax
call fcn.10011ff0
add esp, 0xc
cmp dword [0x10029028], ebx
je 0x10003e9e
mov dword [edi + 0x48], ebx
lea eax, [ebp - 0x1090]
push 0x824
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x10029028], ebx
je 0x10003ec0
mov dword [edi + 0x48], 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1090]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x1090]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp + 8]
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0xcb
mov dword [ebp - 4], eax
push dword [0x1001f6cc]
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xc], eax
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x24], ebx
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
je 0x10003f9c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x1c]
add edx, eax
inc ecx
cmp edx, ecx
jge 0x10003f9c
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x10]
push 0xcc0020
sub eax, dword [ebp - 0x18]
push ebx
push ebx
push dword [ebp - 4]
sub eax, esi
cdq
sub eax, edx
push esi
push dword [ebp - 8]
sar eax, 1
add eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [edi + 4], ebx
jne 0x10003f9c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xc8c8c8
sub eax, esi
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + ecx + 5]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
add eax, 0x14
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetPixel]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x10003fc1
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10018064
call fcn.10011b90
push ecx
mov eax, 0x3108
call fcn.100122c0
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 0x10], esp
je 0x1000418d
mov edi, dword [eax + 0x24]
test edi, edi
mov dword [ebp - 0x14], edi
je 0x1000418d
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000418d
mov esi, 0x1001dbd0
mov eax, esi
test eax, eax
je 0x1000418d
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
sub dword [ebp - 0x24], 0x87
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x10029028], 0
mov dword [ebp - 0x1c], eax
je 0x1000405a
mov eax, dword [ebp + 8]
and dword [eax + 0x48], 0
mov edi, 0x824
lea eax, [ebp - 0x1088]
push edi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x10029028], 0
je 0x10004083
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 1
lea eax, [ebp - 0x1088]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 8], eax
mov ax, word [ebp + eax*2 - 0x108a]
cmp ax, 0x3a
je 0x100040ab
cmp ax, 0xff1a
jne 0x10004179
lea eax, [ebp - 0x1088]
push 0x1001dbcc
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10004179
lea eax, [ebp - 0x20d0]
push edi
push eax
lea eax, [ebp - 0x3118]
push edi
push eax
lea eax, [ebp - 0x1088]
push 1
push eax
push dword [ebp - 0x14]
call fcn.10009c97
cmp eax, 3
jne 0x10004179
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPointW]
push eax
lea eax, [ebp - 0x1088]
push dword [ebp + 8]
push eax
push ebx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x40]
mov dword [ebp + 8], eax
push ecx
push eax
push esi
push ebx
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx + eax + 8]
mov eax, dword [ebp - 0x24]
sub eax, 4
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
sub eax, ecx
mov ecx, dword [ebp - 0x40]
add ecx, 8
cmp ecx, eax
jg 0x10004179
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xc0c0c0
push ebx
call edi
push 1
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push 0x24
push eax
push dword [ebp + 8]
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x18]
push ebx
call edi
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x100064d4
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
mov eax, 0x10018174
call fcn.10011b90
push ecx
mov eax, 0x1060
call fcn.100122c0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
mov dword [ebp - 0x10], esp
je 0x1000658d
cmp dword [0x1002902c], 0
je 0x1000658d
mov eax, dword [0x1001f5e4]
mov ebx, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
push 0x1060
lea eax, [ebp - 0x1070]
push 0
push eax
call fcn.10011ff0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x106c], esi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
push edi
mov dword [ebp - 0x1070], edi
push dword [0x1001f6cc]
mov dword [ebp - 0x1068], eax
push 0x10005d3e
push 2
call esi
push edi
mov dword [ebp - 0x1064], eax
push dword [0x1001f6cc]
push 0x10005e0e
push 3
call esi
mov dword [ebp - 0x1060], eax
lea eax, [ebp - 0x1070]
push eax
lea eax, [ebp + 8]
push ebx
push eax
mov ecx, 0x1001f5e0
call fcn.1000a282
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x10006cd8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100181b0
call fcn.10011b90
push ecx
mov eax, 0x90e8
call fcn.100122c0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
xor esi, esi
shr eax, 0x10
test ax, ax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
je 0x10006e3c
lea ecx, [edi + 0x3144]
call fcn.1000a2bf
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 1
push esi
push str.SoftwareCNNICCdnClientDisplayTypedSKWs
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10006e3c
cmp dword [ebp + 8], esi
je 0x10006e3c
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10006e33
cmp dword [ebp - 0x18], esi
je 0x10006e33
push 0x104a
lea eax, [ebp - 0x10f8]
push esi
push eax
call fcn.10011ff0
mov eax, dword [edi + 0x3148]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov ebx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jae 0x10006e33
push esi
push esi
push esi
lea ecx, [ebp - 0x24]
push esi
push ecx
lea ecx, [ebp - 0x90f8]
mov dword [ebp - 0x24], 0x3fff
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10006e2b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x82
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x90f8]
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006e2b
cmp dword [ebp - 0x1c], 1
jne 0x10006e2b
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x40
jg 0x10006e2b
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x10f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x10f8]
lea ecx, [edi + 0x3144]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.1000a128
inc dword [ebp - 0x14]
jmp 0x10006d8a
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x10006e53
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100181bc
call fcn.10011b90
push ecx
mov eax, 0x90e8
call fcn.100122c0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
xor esi, esi
shr eax, 0x10
test ax, ax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
je 0x10006fc0
lea ecx, [edi + 0x3150]
call fcn.1000a2bf
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 1
push esi
push str.SoftwareCNNICCdnClientDisplayTypedVKWs
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10006fc0
cmp dword [ebp + 8], esi
je 0x10006fc0
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10006fb7
cmp dword [ebp - 0x18], esi
je 0x10006fb7
push 0x104a
lea eax, [ebp - 0x10f8]
push esi
push eax
call fcn.10011ff0
mov eax, dword [edi + 0x3154]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov ebx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jae 0x10006fb7
push esi
push esi
push esi
lea ecx, [ebp - 0x24]
push esi
push ecx
lea ecx, [ebp - 0x90f8]
mov dword [ebp - 0x24], 0x3fff
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10006faf
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x82
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x90f8]
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006faf
cmp dword [ebp - 0x1c], 1
jne 0x10006faf
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x40
jg 0x10006faf
cmp dword [edi + 0x3158], 0x19
jae 0x10006faf
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x10f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x10f8]
lea ecx, [edi + 0x3150]
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.1000a128
inc dword [ebp - 0x14]
jmp 0x10006f05
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x10006fd7
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x100181c8
call fcn.10011b90
push ecx
mov eax, 0x1060
call fcn.100122c0
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
shr eax, 0x10
cmp ax, di
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], eax
je 0x10007052
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov ebx, str.KwCount
push eax
mov edi, str.Console
push ebx
mov esi, SysReAllocString
push edi
push esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push 4
inc dword [ebp - 0x14]
pop eax
lea ecx, [ebp - 0x14]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push ecx
push eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
xor edi, edi
cmp dword [0x1002900c], edi
je 0x100071a9
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 0x10
test ax, ax
je 0x100071a9
cmp word [ebp - 0x24], di
je 0x100071a9
push 0x1001df6c
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x100071a9
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x40
jg 0x100071a9
mov eax, dword [esi + 0x3148]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov dword [ebp + 8], edi
mov edi, dword [eax]
cmp edi, dword [esi + 0x3148]
je 0x100070d2
lea eax, [edi + 8]
push eax
push dword [ebp + 0xc]
call ebx
test eax, eax
je 0x100071a9
mov edi, dword [edi]
inc dword [ebp + 8]
jmp 0x100070b2
xor eax, eax
test eax, eax
jne 0x100071a9
and dword [ebp + 8], eax
mov eax, dword [esi + 0x3154]
mov edi, dword [eax]
cmp edi, dword [esi + 0x3154]
je 0x10007103
lea eax, [edi + 8]
push eax
push dword [ebp + 0xc]
call ebx
test eax, eax
je 0x10007109
mov edi, dword [edi]
inc dword [ebp + 8]
jmp 0x100070e7
xor eax, eax
test eax, eax
je 0x10007117
push dword [ebp + 8]
push esi
call fcn.100057a2
jmp 0x1000719f
push 0x104a
lea eax, [ebp - 0x1070]
push 0
push eax
call fcn.10011ff0
add esp, 0xc
lea eax, [ebp - 0x1070]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esi + 0x3154]
lea ecx, [ebp - 0x1070]
push ecx
lea ecx, [esi + 0x3150]
mov eax, dword [eax]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1000a128
mov edx, dword [esi + 0x3158]
cmp edx, 0x19
jbe 0x1000719f
mov eax, dword [esi + 0x3154]
xor ecx, ecx
mov eax, dword [eax]
lea edi, [edx - 1]
cmp ecx, edi
jge 0x1000717b
inc ecx
jmp 0x1000716f
cmp eax, dword [esi + 0x3154]
je 0x1000719f
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push eax
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.100116fc
dec dword [esi + 0x3158]
pop ecx
mov dword [esi + 0x3168], 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x100071c7
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [ebp + 8]
push ebx
shr eax, 0x10
push esi
push edi
test ax, ax
je 0x100072a6
mov edi, str.SoftwareCNNICCdnClientDisplayTypedVKWs
mov esi, SysReAllocString
xor ebx, ebx
push edi
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100072a6
cmp dword [ebp - 4], ebx
je 0x100072a6
mov ecx, 0x82
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], bx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3154]
mov esi, dword [eax]
cmp esi, eax
je 0x1000729d
mov dword [ebp - 8], 1
push dword [ebp - 8]
lea eax, [ebp - 0x218]
push str.url_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x40
jg 0x1000728d
lea eax, [eax + eax + 2]
push eax
push edi
push 1
lea eax, [ebp - 0x218]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 8]
mov esi, dword [esi]
inc dword [ebp - 8]
cmp esi, dword [eax + 0x3154]
jne 0x1000724d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10007d2e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10018228
call fcn.10011b90
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x1002085c], edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
je 0x10007e4c
xor eax, eax
cmp eax, dword [0x10020860]
jae 0x10007d6b
mov ecx, dword [0x1002085c]
mov dword [ecx + eax*4], edi
inc eax
jmp 0x10007d57
mov eax, dword [ebp + 8]
mov dword [0x10020860], edi
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x10007e4c
mov esi, dword [eax + 0x28]
mov eax, esi
shr eax, 0x10
test ax, ax
je 0x10007e4c
push 0x82
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.10011ff0
add esp, 0xc
cmp dword [0x10029028], edi
je 0x10007db3
mov dword [esi + 0x48], edi
lea eax, [ebp - 0x94]
push 0x41
push eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x10029028], edi
je 0x10007dd4
mov dword [esi + 0x48], 1
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x94]
push eax
call esi
test eax, eax
jle 0x10007e4c
lea eax, [ebp - 0x94]
push eax
call esi
cmp eax, 0x40
jg 0x10007e4c
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrW]
lea eax, [ebp - 0x94]
push 0x1001df6c
push eax
call esi
test eax, eax
jne 0x10007e4c
lea eax, [ebp - 0x94]
push 0x1001dea0
push eax
call esi
test eax, eax
jne 0x10007e4c
lea eax, [ebp - 0x94]
push eax
call fcn.10007ec5
lea eax, [ebp - 0x94]
push eax
call fcn.10007e5f
mov edi, dword [0x10020860]
jmp 0x10007e4c
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x1000981f
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
push edi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100098af
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x100098a8
mov eax, dword [ebp - 0x210]
cmp dword [ebp + 8], eax
jb 0x10009874
mov ecx, dword [ebp - 0x20c]
add ecx, eax
cmp dword [ebp + 8], ecx
jbe 0x10009883
lea eax, [ebp - 0x224]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
jmp 0x10009858
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, dword [ebp + 0x10]
jae 0x100098a8
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 0xc
Function at 0x10009f18
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
and byte [ebp - 0x114], 0
push ebx
push esi
push edi
push 0x41
xor eax, eax
and byte [ebp - 0x21c], al
pop ecx
lea edi, [ebp - 0x113]
and byte [ebp - 0x324], al
rep stosd dword es:[edi], eax
push 0x41
lea edi, [ebp - 0x21b]
pop ecx
rep stosd dword es:[edi], eax
push 0x41
lea edi, [ebp - 0x323]
pop ecx
rep stosd dword es:[edi], eax
xor edi, edi
cmp dword [0x1001dbc0], edi
je 0x1000a0cf
lea eax, [ebp - 0x114]
push 0x104
push eax
push dword [0x1001f6cc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1000a0cf
lea eax, [ebp - 0x114]
mov dword [0x1001dbc0], edi
push eax
call fcn.1000a0fb
lea eax, [ebp - 0x114]
push str.CdnHint.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x114]
push 0x1001e210
push eax
call fcn.10012517
pop ecx
cmp eax, edi
pop ecx
je 0x1000a0cf
push eax
call fcn.10012352
pop ecx
mov esi, 0x1001f610
mov ecx, esi
call fcn.1000a2bf
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp ax, 0x804
jne 0x10009fef
mov dword [ebp - 4], str.Hint
jmp 0x1000a00c
cmp ax, 0x404
je 0x1000a005
cmp ax, 0xc04
je 0x1000a005
cmp ax, 0x1004
jne 0x1000a0cf
mov dword [ebp - 4], str.Hint_big5
cmp dword [ebp - 4], edi
je 0x1000a0cf
mov ecx, esi
call fcn.1000a2bf
mov eax, dword [0x1001f614]
mov ebx, dword [eax]
lea eax, [ebp - 0x114]
push eax
push edi
push str.Number
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], edi
jbe 0x1000a0cf
lea edi, [eax + 1]
lea eax, [ebp - 0x324]
push edi
push 0x1001e1f0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
lea eax, [ebp - 0x324]
push 0x1001f584
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1000a0c4
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1000a0c4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x530]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.1000a167
mov eax, edi
cmp eax, dword [ebp - 8]
jb 0x1000a047
pop edi
pop esi
pop ebx
leave
ret