joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d0d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x46d28d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x46d206
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x46d206
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x46d1ed
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x46d1ed
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0046e340
mov ebp, eax
test ebp, ebp
je 0x46d1e5
push ebp
mov ecx, esi
call fcn.0046f810
test eax, eax
je 0x46d1e5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x46d1e5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x46d1a6
xor eax, eax
jmp 0x46d1ae
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.004701b0
inc ebx
xor ebp, ebp
jmp 0x46d137
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x46d110
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0046e650
test eax, eax
pop ebx
je 0x46d28d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0046e340
mov edi, eax
cmp edi, ebp
je 0x46d28d
push edi
mov ecx, esi
call fcn.0046f810
test eax, eax
je 0x46d28d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0046e890
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0046e900
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.004701b0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x475ef0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49b881
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x475f2d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.00493076
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004923be
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.0046ebc0
lea ecx, [esp + 8]
call fcn.004932e5
lea ecx, [esp + 0x30]
call fcn.00492522
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004923be
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.0046f030
lea ecx, [esp + 0x74]
call fcn.00492522
lea ecx, [esp + 8]
call fcn.004932e6
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.0046c860
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.0046eb60
mov ecx, esi
call fcn.0046f750
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.0046eb60
mov ecx, esi
call fcn.0046f750
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.0046eb60
mov ecx, esi
call fcn.0046f750
mov ecx, dword [edi + 0x5c]
call fcn.0046c040
push eax
mov ecx, esi
call fcn.0046c050
mov ecx, dword [edi + 0x5c]
call fcn.0046c600
push eax
mov ecx, esi
call fcn.0046c5a0
mov ecx, dword [edi + 0x5c]
call fcn.0046c720
push eax
mov ecx, esi
call fcn.0046c6d0
mov ecx, dword [edi + 0x5c]
push 0
call fcn.0046b920
push eax
mov ecx, esi
call fcn.0046b930
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.0049249a
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.0049249a
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004930ff
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x477770
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49baa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004894f4
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004894f4
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00478290
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4782e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49bb80
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00495164
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x478313
xor al, al
jmp 0x47843f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x478335
xor al, al
jmp 0x47843f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x478348
xor al, al
jmp 0x47843f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x47835c
xor al, al
jmp 0x47843f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004895a4
test eax, eax
jne 0x478390
xor al, al
jmp 0x47843f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x5ce554
mov dword [esp + 0x20], ebp
call fcn.00495164
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00492073
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004920ca
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x478424
mov ax, word [ebx]
test ax, ax
je 0x478416
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00478460
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4783fa
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004920ca
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4789a0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00493723
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4789e6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0047abe4
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x5e7dfc
push ecx
call fcn.0047c1e1
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x48d639
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48d671
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048b6b4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048b68c
jmp 0x48d67d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48ee37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48ee79
call fcn.00495164
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48ee79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48ee70
xor eax, eax
jmp 0x48ee81
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048ee87
pop edi
pop esi
pop ebx
ret 4

Function at 0x495694
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4956c2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4956e0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004955fa
jmp 0x4956e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4956e0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004955fa
test edi, edi
mov eax, edi
jne 0x4956ca
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48bf5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x4b538c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
push 0x5c
mov ecx, esi
mov dword [esp + 0x160], 0
call fcn.0048123e
inc eax
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.004811c6
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 1
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call fcn.00482288
mov edx, dword [0x4b538c]
mov dword [esp + 8], edx
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
push esi
mov byte [esp + 0x164], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4016b4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x10]
call fcn.004823c5
mov edx, dword [esp + 0xc]
push 0x4a9150
push edx
call fcn.004720f0
add esp, 8
test eax, eax
je 0x40169c
mov eax, dword [esp + 0xc]
push 0x4a914c
push eax
call fcn.004720f0
add esp, 8
test eax, eax
je 0x40169c
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.004824d1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], 3
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 2
call fcn.00482288
lea ecx, [esp + 0xc]
call fcn.0048273e
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00481bc9
lea edx, [esp + 0x18]
push edx
push esi
call ebp
test eax, eax
jne 0x401616
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
lea ecx, [esp + 8]
mov byte [esp + 0x15c], 0
call fcn.00482288
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x154]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x158
ret 4
Function at 0x4066b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x48ce80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0
lea edi, [esi + 0xb7c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0x11
call fcn.00482288
mov ecx, edi
mov byte [esp + 0x18], 0x10
call fcn.00482288
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0xf
call fcn.00482288
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 0xe
call fcn.00482288
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 0xd
call fcn.00482288
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 0xc
call fcn.00482288
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xb
call fcn.00482288
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xa
call fcn.00482288
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 9
call fcn.00482288
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 8
call fcn.00482288
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 7
call fcn.00482288
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 6
call fcn.00482288
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call fcn.00482288
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call fcn.00482288
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call fcn.00482288
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call fcn.00482288
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.00482288
lea ecx, [esi + 4]
mov byte [esp + 0x18], 0
call fcn.00482288
mov dword [esp + 0x18], 0xffffffff
mov ecx, esi
call fcn.00482288
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x407960
Capabilities:
Delete directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d08b
push eax
mov dword fs:[0], esp
sub esp, 0x404
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0044bde0
test eax, eax
je 0x407a22
push ebp
push 0
lea eax, [esp + 0x218]
push str.CInstall_::_CleanUpFilesAndRegistryAfterInstall_n
push eax
call fcn.00471c30
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x114]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x214]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x114]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
pop ebp
add ebx, 0x18f4
push 0x4a9c28
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.004824d1
mov edx, dword [esp + 0xc]
mov dword [esp + 0x418], 0
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call fcn.0044bde0
test eax, eax
je 0x407ae5
push 0
lea eax, [esp + 0x314]
push str.CInstall_::_CleanUpFilesAndRegistryAfterInstall_n
push eax
call fcn.00471c30
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x310]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0xc]
mov dword [esp + 0x418], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x410
ret
Function at 0x40c8e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48dbe3
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x1c], 0
lea esi, [eax + 8]
mov ecx, esi
call fcn.00482375
lea edx, [esp + 0x28]
lea ecx, [esi + 4]
push edx
call fcn.00482375
lea eax, [esp + 0x2c]
lea ecx, [esi + 8]
push eax
call fcn.00482375
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0xc]
call fcn.00482375
lea edx, [esp + 0x34]
lea ecx, [esi + 0x10]
push edx
call fcn.00482375
lea eax, [esp + 0x38]
lea ecx, [esi + 0x14]
push eax
call fcn.00482375
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x18]
call fcn.00482375
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea edx, [esi + 0x1c]
lea ebx, [esp + 0x28]
lea ebp, [esp + 0x24]
sub ebx, esi
mov dword [edx], eax
mov eax, dword [esp + 0x48]
lea edi, [esi + 0x2c]
sub ebp, esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], 5
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [edi + ebp]
mov ecx, edi
push edx
call fcn.00482375
lea eax, [ebx + edi]
lea ecx, [edi + 4]
push eax
call fcn.00482375
mov eax, dword [esp + 0x20]
add edi, 8
dec eax
mov dword [esp + 0x20], eax
jne 0x40c997
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esi + 0x54]
call fcn.00482375
lea edx, [esp + 0x7c]
lea ecx, [esi + 0x58]
push edx
call fcn.00482375
lea eax, [esp + 0x80]
lea ecx, [esi + 0x5c]
push eax
call fcn.00482375
mov ecx, dword [esp + 0x84]
lea edi, [esi + 0x64]
mov dword [esi + 0x60], ecx
mov ecx, 0x146
lea esi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], 0xa
call fcn.00482288
lea ecx, [esp + 0x7c]
mov byte [esp + 0x18], 9
call fcn.00482288
lea ecx, [esp + 0x78]
mov byte [esp + 0x18], 8
call fcn.00482288
push 0x403790
push 5
lea edx, [esp + 0x58]
push 8
push edx
mov byte [esp + 0x28], 7
call fcn.00472130
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], 6
call fcn.00482288
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 5
call fcn.00482288
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 4
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 3
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 2
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 1
call fcn.00482288
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x580
Function at 0x40d870
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 8], ecx
call fcn.0040d7e0
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x40d921
push ebx
push ebp
push edi
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
push 1
push edi
call ebx
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push eax
call ebp
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
call fcn.0046c750
test eax, eax
push 0
je 0x40d8dc
push 0xa220
push 0x111
jmp 0x40d8e3
push 0x74
push 0x100
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push edi
call ebx
push eax
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x118]
push edx
call fcn.0040d700
lea eax, [esp + 0x118]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
pop edi
pop ebp
test eax, eax
pop ebx
je 0x40d921
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop esi
add esp, 0x20c
ret
Function at 0x416310
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 8]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x416366
push 0x20019
push 1
push edi
add ecx, 0xc
push 1
push ecx
push eax
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e470
mov esi, eax
cmp esi, 0xffffffff
je 0x416366
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41635f
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x416370
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x4163d5
push 0x20019
push 2
push edi
add ecx, 0xc
push 1
push ecx
push eax
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e470
mov esi, eax
cmp esi, 0xffffffff
je 0x4163d5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push edi
push edi
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4163c0
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4163d5
mov eax, dword [ebx]
pop edi
mov dword [ebx], eax
pop esi
pop ebx
ret 0xc
xor eax, eax
pop edi
mov dword [ebx], eax
pop esi
pop ebx
ret 0xc

Function at 0x4163e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 8]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x41646f
push 0x20019
push 2
push edi
add ecx, 0xc
push 1
push ecx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
je 0x41646f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push ebx
push eax
push 0x20019
push edi
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41645b
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebp
push edx
mov edx, dword [esp + 0x2c]
push eax
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416454
mov edi, 1
mov eax, dword [esp + 0x24]
push eax
call ebx
push esi
call ebx
test edi, edi
pop ebx
je 0x41646f
mov eax, dword [ebp]
pop edi
mov dword [ebp], eax
pop esi
pop ebp
ret 0x14
xor eax, eax
pop edi
mov dword [ebp], eax
pop esi
pop ebp
ret 0x14