joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421fe1
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3100
call fcn.0050fe50
mov eax, dword [0x6b94f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x3100], edi
call fcn.00528630
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00528630
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00418e7b
add esp, 0x10
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x422077
mov al, 1
jmp 0x422180
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.00528630
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.00528630
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.00528630
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4220f9
mov bl, 2
jmp 0x422177
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.0042218f
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.0042218f
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42213a
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
mov ecx, edi
call fcn.0041df21
lea edx, [ebp - 0x9dc]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42215b
mov ecx, dword [ebp - 0x3100]
lea eax, [ebp - 0x9dc]
sub edx, edi
push edx
push eax
call fcn.0041df21
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050eeb2
leave
ret
Function at 0x422fbd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x6b94f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x21c], esi
call fcn.00528630
add esp, 0xc
mov ebx, 0x20019
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x423088
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42307c
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x4230ad
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4230ad
cmp ebx, 0x20019
jne 0x4230ad
mov esi, dword [ebp - 0x21c]
mov ebx, 0x20119
jmp 0x423012
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402b20
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0050eeb2
leave
ret

Function at 0x423426
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.0050fe50
mov eax, dword [0x6b94f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x1000
mov dword [ebp - 0x1218], eax
push esi
lea eax, [ebp - 0x1210]
push 0
push eax
call fcn.00528630
and dword [ebp - 0x1214], 0
add esp, 0xc
xor eax, eax
xor ebx, ebx
mov word [ebp - 8], ax
lea eax, [ebp - 0x1214]
push eax
push esi
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x423501
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x423500
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00528630
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.00423511
add esp, 0x18
test eax, eax
je 0x4234f2
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0053cc19
push dword [ebp - 0x1218]
lea eax, [ebp - 0x210]
push eax
call fcn.0052690c
add esp, 0x10
test eax, eax
jne 0x4234f9
inc esi
cmp esi, edi
jb 0x423496
jmp 0x423500
mov ebx, dword [ebp + esi*4 - 0x1210]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0050eeb2
leave
ret
Function at 0x423511
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test esi, esi
je 0x42353e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x423bca
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x625d4c
call fcn.0050fa26
mov esi, ecx
cmp dword [esi + 0x10], 0
ja 0x423c4f
lea eax, [ebp - 0x28]
push str.APPDATA_HTTP_CACHE_FOLDER
push eax
call fcn.00416b33
pop ecx
pop ecx
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
call fcn.004061f0
mov ecx, eax
call fcn.00413d4b
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x423c10
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x423c18
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x40]
push 0x62bd4c
push eax
call fcn.0041e2c3
add esp, 0x10
mov ecx, esi
push eax
call fcn.00402aa0
lea ecx, [ebp - 0x40]
call fcn.00402a40
lea ecx, [ebp - 0x58]
call fcn.00402a40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a40
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x423c59
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423c75
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x423c6e
mov eax, dword [esi]
push eax
call fcn.0041ef0d
pop ecx
cmp dword [esi + 0x28], 0
ja 0x423cac
push 0
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_KEY
push eax
call fcn.00416a91
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0041ebcd
add esp, 0x20
lea ecx, [esi + 0x18]
push eax
call fcn.00406620
lea ecx, [ebp - 0x28]
call fcn.004065d0
cmp dword [esi + 0x40], 0
ja 0x423ce3
push 0
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_CHAIN
push eax
call fcn.00416a91
pop ecx
pop ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0041ebcd
add esp, 0x20
lea ecx, [esi + 0x30]
push eax
call fcn.00406620
lea ecx, [ebp - 0x70]
call fcn.004065d0
call fcn.0050f9d0
ret
Function at 0x4245af
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x625f2e
call fcn.0050fa26
push 0x67
push 0x6f
push 0x6c
push 0x74
pop eax
push eax
push 0x6e
push 0x65
push eax
push 0x6e
push 0x6f
push 0x43
push 0x70
push eax
push eax
push 0x48
push 0x77
push 0x6f
push 0x68
push 0x53
lea eax, [ebp - 0x40]
push str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
push eax
call fcn.0041e2c3
add esp, 0x50
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x62c1fc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406420
push 0x62c200
lea ecx, [ebp - 0x28]
call fcn.00406420
push 0x6a4ae8
lea ecx, [ebp - 0x28]
call fcn.00406420
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00408960
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.00402a40
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov al, bl
call fcn.0050f9d0
ret

Function at 0x4246c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6b94f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.00528630
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00424675
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x42473f
cmp dword [ebp - 0x118], ebx
jbe 0x424785
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x424785
cmp eax, 6
jne 0x42476a
cmp byte [ebp - 6], 1
jne 0x424765
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x424761
sub eax, 1
je 0x42475d
push 7
jmp 0x424767
push 5
jmp 0x424767
push 3
jmp 0x424767
push 4
pop ebx
jmp 0x424785
push 0xa
pop ecx
cmp eax, ecx
jne 0x424782
cmp dword [ebp - 0x114], 0x55f0
sbb ebx, ebx
add ebx, 9
jmp 0x424785
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0050eeb2
leave
ret
Function at 0x424d14
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x868
mov eax, 0x625fdc
call fcn.0050fa26
mov esi, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x86c], eax
mov eax, 0x6a33d4
cmovne eax, edx
push eax
call fcn.00402b20
xor ecx, ecx
add esi, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x868], ecx
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x860], ecx
cmp dword [esi + 0x10], ecx
ja 0x424da3
lea eax, [ebp - 0x858]
push eax
call fcn.0042325d
pop ecx
push eax
mov ecx, esi
call fcn.00402aa0
lea ecx, [ebp - 0x858]
call fcn.00402a40
xor ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x424dab
mov esi, dword [esi]
lea eax, [ebp - 0x85c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x424deb
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.00402b20
jmp 0x424f72
lea eax, [ebp - 0x868]
push eax
push 0x20119
push 0
push 0x62cd7c
push dword [ebp - 0x85c]
call esi
test eax, eax
je 0x424e2d
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
jmp 0x424ddf
lea eax, [ebp - 0x864]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x868]
call esi
test eax, eax
je 0x424e60
push dword [ebp - 0x868]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x85c]
call esi
jmp 0x424e16
lea eax, [ebp - 0x860]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x870]
push dword [ebp - 0x864]
call esi
test eax, eax
je 0x424e97
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
jmp 0x424e54
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00528630
add esp, 0xc
mov dword [ebp - 0x874], 0x400
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x86c]
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
call esi
push dword [ebp - 0x868]
call esi
push dword [ebp - 0x85c]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x424f07
sub ecx, edx
sar ecx, 1
je 0x424e16
xor eax, eax
mov dword [ebp - 0x830], ebx
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], 7
push eax
call fcn.004029e0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov ecx, edi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.00402b20
lea ecx, [ebp - 0x840]
call fcn.00402a40
lea ecx, [ebp - 0x828]
call fcn.00402a40
mov eax, edi
call fcn.0050f9d0
ret 0x14
Function at 0x424f87
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6b94f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], ebx
ja 0x424fdf
lea eax, [ebp - 0x1c]
push eax
call fcn.0042325d
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.00402aa0
lea ecx, [ebp - 0x1c]
call fcn.00402a40
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x424fea
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x42500d
xor al, al
jmp 0x4250c6
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push 0x62cd7c
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x425030
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x425006
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x425062
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x425006
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4250b5
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x425087
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call esi
mov bl, 1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050eeb2
leave
ret 0x10
Function at 0x425155
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x4251d6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x62cd18
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x4251d6
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
jmp 0x4251d8
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x428536
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x428566
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x428565
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x428555
pop edi
pop esi
pop ebp
ret 8

Function at 0x428754
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x6260ba
call fcn.0050f9f2
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x4288db
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x428824
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x6b9128], 0x10
mov ecx, 0x6b9114
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x6b9114]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004089d0
inc edi
cmp edi, 4
jl 0x4287ec
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x42878e
mov dword [ebp + 0x10], edi
test edi, edi
je 0x4288db
mov eax, edi
cmp edi, esi
jge 0x42885a
cmp eax, esi
jae 0x4288e4
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x428842
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x4288c6
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x6b9128], 0x10
mov ecx, 0x6b9114
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x6b9114]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004089d0
inc ebx
cmp ebx, edi
jl 0x428897
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x4288db
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.004089d0
sub esi, 1
jne 0x4288cc
mov eax, dword [ebp + 8]
call fcn.0050f9bb
ret
call fcn.0050f68d
int3
Function at 0x42e110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42e131
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42e149
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x42e161
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42e177
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42e18f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4356b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x4356ee
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x4356ee
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x435701
jmp 0x43585d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x435787
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x148]
call edx
push 0
push 0
push 0
push str.killfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00434fc0
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x435792
jmp 0x43585d
cmp dword [ebp + 8], 0
je 0x43585d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x43585d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
je 0x43585d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x114]
call edx
movzx eax, al
test eax, eax
je 0x43585d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x148]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00434fc0
mov esp, ebp
pop ebp
ret 4
Function at 0x43a150
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626b9b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6b94f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0043bba0
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], vtable.DuiLib::CNotifyPump.0
push 0x53
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004386d0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x20
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.DuiLib::INotifyUI.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx], vtable.DuiLib::IMessageFilterUI.0
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], vtable.DuiLib::IDialogBuilderCallback.0
mov edx, dword [ebp - 0x10]
add edx, 0x2c
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [eax], vtable.DuiLib::IQueryControlText.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.DuiLib::WindowImplBase.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], vtable.DuiLib::WindowImplBase.1.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], vtable.DuiLib::WindowImplBase.2.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], vtable.DuiLib::WindowImplBase.3.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], vtable.DuiLib::WindowImplBase.4.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], vtable.DuiLib::WindowImplBase.5.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0042a840
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret