joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407db0
Capabilities:
Print debug messages

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
test edi, edi
mov dword [esp + 4], ecx
jne 0x407dce
push str.DestroyHUB_NULL
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ecx
ret 4
push ebp
push esi
mov esi, dword [edi + 0x220]
test esi, esi
je 0x407deb
mov eax, esi
mov esi, dword [esi]
push eax
call fcn.00421308
add esp, 4
test esi, esi
jne 0x407dda
mov eax, dword [edi + 0x218]
test eax, eax
je 0x407e08
push eax
call fcn.00421308
add esp, 4
mov dword [edi + 0x218], 0
mov eax, dword [edi + 0x21c]
test eax, eax
je 0x407e25
push eax
call fcn.00421308
add esp, 4
mov dword [edi + 0x21c], 0
mov eax, dword [edi + 0x210]
test eax, eax
je 0x407e42
push eax
call fcn.00421308
add esp, 4
mov dword [edi + 0x210], 0
mov eax, dword [edi + 0x224]
mov ebp, 1
cmp eax, ebp
jb 0x407e9c
lea esi, [edi + 0x22c]
mov eax, dword [esi]
test eax, eax
je case.0x407e6c.0
mov ecx, dword [eax]
cmp ecx, 0x50
ja case.0x407e6c.2
xor edx, edx
mov dl, byte [ecx + 0x407ed4]
jmp dword [edx*4 + 0x407ec4]
mov ecx, dword [esp + 0xc]
push eax
call fcn.00407db0
jmp 0x407e88
push eax
call fcn.00421308
add esp, 4
mov dword [esi], 0
mov eax, dword [edi + 0x224]
inc ebp
add esi, 4
cmp ebp, eax
jbe 0x407e57
mov eax, dword [edi]
pop esi
cmp eax, 0x40
pop ebp
jne 0x407eb3
push edi
call fcn.00421308
add esp, 4
pop edi
pop ecx
ret 4
mov ecx, 0x9a
xor eax, eax
rep stosd dword es:[edi], eax
pop edi
pop ecx
ret 4

Function at 0x408440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445d33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.00432ea8
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.00432ea8
or eax, 0xffffffff
push 0x45eb00
mov dword [ebx], method.CPtrArray.virtual_0
push edi
mov dword [esi], 0x4497b4
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40b9d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x446140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CPen.0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.0043b41a
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0043ab2b
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.0043af2b
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call fcn.0043af77
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0043af2b
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call fcn.0043af77
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0043af2b
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call fcn.0043af77
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0043af2b
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call fcn.0043af77
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0043af2b
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call fcn.0043af77
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call fcn.0043af2b
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call fcn.0043af77
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.0043af2b
push ebp
push ebx
mov ecx, esi
call fcn.0043af77
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0043ab2b
lea ecx, [esp + 0x10]
call fcn.0043b471
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.0043b471
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x40cbf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x446310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], vtable.CBrush.0
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.004085a0
test eax, eax
je 0x40cc4e
push 0xf
jmp 0x40cc50
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x40cc71
push 0x3fe33333
push 0x33333333
push eax
call fcn.004094b0
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.0043b41a
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.0043b471
call fcn.00408590
test eax, eax
je 0x40ccc9
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x40cced
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.0040b9d0
jmp 0x40cd05
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.0040b8b0
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.0043b471
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x40d220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00441e26
mov edi, dword [esp + 0x14]
mov ebx, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
and edi, 0xffff
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x40d25b
xor ebx, ebx
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x40d25b
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d26c
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x40d27c
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.0040d1e0
add esp, 4
cmp ax, 0x10
je 0x40d292
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
push ebx
call fcn.0043c685
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40d410
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x45eb38]
sub esp, 0x134
test eax, eax
jne 0x40d4e5
lea eax, [esp]
mov dword [0x45eb38], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d4e5
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d4d8
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x40d4d8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40d4d8
mov dword [0x45eb34], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x45eb34]
add esp, 0x134
ret
Function at 0x40ef30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.0043497b
push eax
lea ecx, [esp + 0x30]
call fcn.0043b172
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.0043497b
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0043b028
mov eax, dword [esi + 0x148]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x40f066
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x144]
call fcn.0043a997
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x154]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0043b41a
test edi, edi
je 0x40f012
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x148]
push edi
push eax
call fcn.0043aad8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x15c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x148]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x144]
sub ecx, edi
test edx, edx
je 0x40f087
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043b1e4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x410e65
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x446820
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov dword [esp + 0xc], 1
call fcn.00410e40
test eax, eax
jne 0x410e80
push 0x458e68
jmp 0x410eea
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x410ee5
mov eax, dword [esp + 0x18]
mov edx, dword [eax - 8]
test edx, edx
je 0x410ee5
push 1
push 2
push 0x80
push 1
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0044138b
test eax, eax
mov byte [esp + 0xc], 0
lea ecx, [esp + 0x14]
je 0x410ef9
call fcn.00433e84
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call fcn.00433e84
mov eax, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
push str.CFTPClient::GetFile
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [esp + 0xc], 0
lea ecx, [esp + 0x14]
call fcn.00433e84
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call fcn.00433e84
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8

Function at 0x411f40
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
mov ecx, 0x100
xor eax, eax
lea edx, [esp]
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x408]
lea eax, [esp + 0x40c]
push eax
push ecx
push edx
call fcn.00422744
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret

Function at 0x411f90
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xc00
mov ecx, 0x100
xor eax, eax
lea edx, [esp]
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esp + 0x404]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc14]
lea eax, [esp + 0xc18]
push eax
push ecx
push edx
call fcn.00422744
mov ecx, dword [esp + 0xc14]
mov edx, dword [esp + 0xc1c]
add esp, 0xc
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc10]
push ecx
push edx
push eax
lea ecx, [esp + 0x414]
push str.ERROR:_s__d__nFUNC:_s:_s_n
push ecx
call fcn.00420d08
add esp, 0x18
lea edx, [esp + 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0xc00
ret
Function at 0x413a80
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x447069
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00414260
lea ecx, [ebp + 0x2078]
call fcn.00403b10
lea esi, [ebp + 0xc0]
mov ecx, esi
call fcn.00433e0f
mov ecx, ebp
mov dword [ebp + 0x23ec], 0
call fcn.004128a0
mov ecx, ebp
call fcn.00414050
mov ecx, ebp
call fcn.00412b20
test eax, eax
jne 0x413ce9
mov ecx, ebp
call fcn.004129a0
test eax, eax
jne 0x413ce9
mov ecx, ebp
call fcn.00412b80
test eax, eax
jne 0x413ce9
mov ecx, ebp
call fcn.00412930
test eax, eax
jne 0x413ce9
lea ecx, [ebp + 0x1198]
call fcn.00401aa0
add eax, 0x108
mov ecx, esi
push eax
call fcn.0043400d
mov eax, dword [esi]
lea ecx, [ebp + 0x23f0]
push eax
call fcn.00405120
push 0
mov ecx, ebp
call fcn.004367ad
mov ecx, ebp
call fcn.00413d10
mov ecx, ebp
call fcn.00412ca0
test eax, eax
jne 0x413ce9
mov ecx, ebp
call fcn.00413da0
test eax, eax
jne 0x413ce9
push 1
push 0x3eb
mov ecx, ebp
call fcn.00413a00
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x413b8a
push 0
push 0x3ec
mov ecx, ebp
call fcn.00413a00
lea ecx, [esp + 0x10]
call fcn.00417c20
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x240], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00411e80
mov edi, str.UsbDriverusbdrv.inf
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x30]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.004183b0
cmp eax, 1
je 0x413c1e
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.00418380
test eax, eax
jne 0x413c1e
push eax
push eax
push str.Install_the_driver_fail___n_The_program_will_exit.
call fcn.0043c54c
push 0
call fcn.004227c2
test ebp, ebp
jne 0x413c26
xor eax, eax
jmp 0x413c29
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 0x2180]
push eax
mov ecx, esi
call fcn.00408030
push ebp
mov ecx, esi
call fcn.00408060
push 0x10
push 0xfa
mov ecx, esi
call fcn.00408040
push 0x840
call fcn.00433bc5
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x240], 1
je 0x413c78
push 0x412020
mov ecx, eax
call fcn.00415010
jmp 0x413c7a
xor eax, eax
mov dword [ebp + 0x5c], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
push str.wizard.cfg
lea ecx, [ebp + 0x2078]
mov byte [esp + 0x244], 0
call fcn.00403c30
push eax
lea edx, [esp + 0x13c]
push 0x457390
push edx
call fcn.00420d08
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
lea eax, [esp + 0x134]
push eax
call fcn.00415130
mov ecx, dword [ebp + 0x5c]
call fcn.00415720
lea ecx, [esp + 0x10]
mov dword [esp + 0x240], 0xffffffff
call fcn.00417c90
xor eax, eax
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x238
ret
Function at 0x4144b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x100
lea eax, [esp]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push ecx
push edx
push 0x459f34
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 1
add esp, 0x110
ret

Function at 0x4145e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x44da80
push 1
push 0
push 0x44da70
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x41460e
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
push 0x352
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x44da90
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jge 0x414651
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp + 0x218]
lea edx, [esp + 8]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, 1
add esp, 0x210
ret 8
Function at 0x414700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x447093
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0043a8e0
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x4497e0
mov ebx, dword [esp + 0x2c]
mov dword [esi], method.CDC.virtual_0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x4147d1
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x50]
test ebx, ebx
jne 0x414773
xor eax, eax
jmp 0x414776
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0043a997
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0043b41a
test ebp, ebp
je 0x4147af
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0043aad8
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0043ad67
jmp 0x4147e3
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x414ee0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x414f85
mov eax, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPlugInVersion
push eax
lea esi, [edi + 0x2c]
call ebx
mov dword [esi], eax
mov ecx, dword [edi]
push str.GetPlugInType
push ecx
call ebx
mov dword [esi + 4], eax
mov edx, dword [edi]
push str.GetPlugInName
push edx
call ebx
mov dword [esi + 8], eax
mov eax, dword [edi]
push str.GetAuthor
push eax
call ebx
mov dword [esi + 0xc], eax
mov ecx, dword [edi]
push str.GetCopyRight
push ecx
call ebx
mov dword [esi + 0x10], eax
mov edx, dword [edi]
push str.QueryInterface
push edx
call ebx
mov dword [esi + 0x14], eax
mov eax, dword [edi]
push str.GetInterface
push eax
call ebx
mov ecx, dword [esi]
mov dword [esi + 0x18], eax
test ecx, ecx
pop ebx
je 0x414f85
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x414f85
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x414f85
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x414f85
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x414f85
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x414f85
test eax, eax
je 0x414f85
mov eax, esi
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x430f60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00421010
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43102b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43102b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x430fde
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x430fe9
or bh, 8
and edi, 0x8000000
je 0x431004
mov eax, dword [0x4625dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x43102b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret