joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4013f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40140d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40142e
cmp esi, eax
jae 0x401407
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401420
cmp esi, eax
jae 0x401407
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x138
mov eax, dword [0x465fd4]
mov dword [esp + 0x134], eax
mov eax, dword [0x467234]
test eax, eax
jne 0x401817
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push SysReAllocString
mov dword [0x467234], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401817
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40180d
mov edx, dword [str.Windows_Classic.theme]
mov eax, dword [0x4507c0]
mov ecx, dword [0x4507c4]
mov dword [esp + 0xc], edx
mov edx, dword [0x4507c8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov eax, dword [0x4507cc]
mov dword [esp + 0x1c], ecx
mov cx, word [0x4507d0]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x40180b
lea ecx, [esp + 0x14]
push ecx
mov edx, 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 0x40180b
mov dword [0x467230], 1
pop edi
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x134]
mov eax, dword [0x467230]
call fcn.00425d0f
add esp, 0x138
ret
Function at 0x402130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c5d3
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 + 4], edi
lea ebx, [esi + 8]
mov ecx, ebx
mov dword [esp + 0x18], edi
mov dword [esi], 0x450890
call fcn.004384c2
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov ecx, ebx
mov byte [esp + 0x18], 1
call fcn.004384c2
mov dword [ebx], method.CPtrArray.virtual_0
or eax, 0xffffffff
push 0x4671e0
push edi
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
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x402a90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44c668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor eax, eax
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CPen.0
mov ecx, dword [esp + 0x3c]
push ecx
push eax
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.004411df
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004412bb
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
lea eax, [edi + 2]
push eax
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00440c7a
lea eax, [edi + 5]
push eax
push ebx
mov ecx, esi
call fcn.00440915
lea ebp, [edi + 3]
push ebp
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00440c7a
lea eax, [edi + 6]
push eax
lea eax, [ebx + 1]
push eax
mov ecx, esi
call fcn.00440915
lea eax, [edi + 4]
push eax
lea ecx, [ebx + 2]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00440c7a
lea eax, [edi + 7]
push eax
lea eax, [ebx + 2]
push eax
mov ecx, esi
call fcn.00440915
push ebp
lea eax, [ebx + 3]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00440c7a
lea eax, [edi + 6]
push eax
lea eax, [ebx + 3]
push eax
mov ecx, esi
call fcn.00440915
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00440c7a
lea eax, [edi + 5]
push eax
lea eax, [ebx + 4]
push eax
mov ecx, esi
call fcn.00440915
lea ecx, [edi + 1]
push ecx
lea eax, [ebx + 5]
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00440c7a
lea eax, [edi + 4]
push eax
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.00440915
push edi
add ebx, 6
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00440c7a
push ebp
push ebx
mov ecx, esi
call fcn.00440915
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004412bb
lea ecx, [esp + 0x10]
call fcn.00441236
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.00441236
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 0x403150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c6e8
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 ebp, ecx
mov eax, esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
push edi
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], vtable.CBrush.0
cmp dword [0x467218], 7
mov dword [esp + 0x30], edi
jne 0x4031b7
call fcn.00401710
test eax, eax
jne 0x4031b7
push 0xf
jmp 0x4031b9
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x4031dc
fld qword [0x4508c0]
sub esp, 8
fstp qword [esp]
push eax
call fcn.004012f0
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.004411df
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
mov edx, dword [edi + 4]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.00441236
cmp dword [0x467218], 2
jl 0x40322a
mov ecx, dword [edi + 4]
push 0xf
push 2
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
test eax, eax
push 7
jne 0x40324e
call ebx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
add edx, 4
push edx
add eax, 4
push eax
push edi
mov ecx, ebp
call fcn.00402a90
jmp 0x403266
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
add ecx, 4
push ecx
add edx, 5
push edx
push edi
mov ecx, ebp
call fcn.00402970
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.00441236
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 0x4036e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00448fff
movzx ebx, word [esp + 0x14]
mov edi, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 2
push ebx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x403711
push 2
push ebx
xor edi, edi
push edi
call ebp
mov esi, eax
test esi, esi
je 0x403742
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x403742
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x403742
push eax
call fcn.00401690
add esp, 4
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp bp, 0x10
je 0x403749
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
push edi
call fcn.00441c4f
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x408870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cb48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0043a60c
push eax
lea ecx, [esp + 0x30]
call fcn.00440f79
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 eax, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0043a60c
mov ecx, eax
call fcn.00440cc6
mov eax, dword [esi + 0x170]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x408992
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x16c]
call fcn.00440ee2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
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 + 0x17c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004411df
test edi, edi
je 0x408948
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x170]
push edi
push eax
call fcn.00441268
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x184], eax
mov eax, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esi + 0x170]
sub ecx, edi
push ecx
push 0
push 0
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x16c]
sub ecx, edi
test edx, edx
je 0x4089b3
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00440fd4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x40a350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cc38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.0040a2a0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00403a40
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40a3e2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40a830
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x114]
xor edx, edx
mov ecx, 0x3e8
div ecx
lea ecx, [esp]
push ecx
push 0
push 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x11c]
mov dword [esp + 0xc], eax
mov eax, dword [edx]
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x40a888
xor al, al
add esp, 0x10c
ret 8
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0x10c
ret 8
Function at 0x40ab10
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
push eax
mov esi, ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40ab37
mov cl, byte [esp + 4]
mov al, 1
test al, cl
jne 0x40ab48
push str.news.sina.com.cn
mov ecx, esi
call fcn.0040a8a0
test al, al
setne al
pop esi
pop ecx
ret

Function at 0x40b1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cc98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x24]
mov byte [esp + 0x24], al
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push 1
lea edx, [esp + 0x28]
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], edi
call fcn.0040a2a0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00403a40
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b236
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40b570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ccfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x450c24
lea edi, [esi + 4]
call fcn.0043df98
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0
push 0x4508f0
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esi + 8], 0x13579bdf
mov dword [esi + 0xc], 0x2468ace0
mov dword [esi + 0x10], 0xfdb97531
mov dword [esi + 0x14], 0x80000062
mov dword [esi + 0x18], 0x40000020
mov dword [esi + 0x1c], 0x10000002
mov dword [esi + 0x20], SysReAllocString
mov dword [esi + 0x24], 0x3fffffff
mov dword [esi + 0x28], 0xfffffff
mov dword [esi + 0x2c], SysReAllocString
mov dword [esi + 0x30], 0xc0000000
mov dword [esi + 0x34], 0xf0000000
call fcn.00404530
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x413020
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x465fd4]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push esi
mov dword [esp + 0x110], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x413094
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
call fcn.00425d0f
add esp, 0x110
ret 0xc

Function at 0x413b90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44dd18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x413c96
push esi
call fcn.0043df98
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 8], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x14], 0
jge 0x413bfb
push 0x104
lea ecx, [esp + 0xc]
call fcn.004039f0
mov esi, dword [esp + 8]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x413c0f
xor eax, eax
jmp 0x413c23
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413c14
sub eax, edx
js 0x413ca6
cmp eax, dword [esi - 8]
jg 0x413ca6
push edi
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x14]
mov byte [eax + esi], 0
call fcn.004047d0
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x413c6b
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x413c6b
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x80], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x413c95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.004013c0
int3
Function at 0x414ce0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x414d7b
push esi
push edi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
call fcn.004168d0
mov edi, 0x46413c
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
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 eax, 0x51eb851f
mov ecx, edx
mul dword [esp + 0x50]
shr edx, 5
and ecx, 3
push edx
lea eax, [esp + 0x10]
push str.KVLic__d00.dat
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004276c9
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x40
ret
Function at 0x415630
Capabilities:
Get common file path

Disassembly:
sub esp, 0x228
lea eax, [esp + 0x20]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00415ad0
add esp, 8
lea eax, [esp + 0x124]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
lea edx, [esp + 0x124]
push ecx
push edx
call fcn.00415ad0
mov ax, word [esp + 8]
add esp, 8
cmp ax, word [esp + 0x10]
jne 0x4156e9
mov cx, word [esp + 2]
cmp cx, word [esp + 0x12]
jne 0x4156e9
mov dx, word [esp + 6]
cmp dx, word [esp + 0x16]
jne 0x4156e9
mov ax, word [esp + 0xa]
cmp ax, word [esp + 0x1a]
jne 0x4156e9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x22c]
and ecx, 0xffff
and edx, 0xffff
sub edx, ecx
mov ecx, dword [esp + 0x230]
mov dword [eax], edx
mov dx, word [esp + 0xe]
mov word [ecx], dx
mov al, 1
add esp, 0x228
ret 8
mov eax, dword [esp + 0x22c]
mov dword [eax], 0x3c
mov al, 1
add esp, 0x228
ret 8

Function at 0x415710
Capabilities:
Get common file path

Disassembly:
sub esp, 0x228
mov dl, byte [0x467418]
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x128], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x24]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00415ad0
add esp, 8
lea eax, [esp + 0x128]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, 0xa
pop edi
cmp word [esp + 0xc], ax
jae 0x4157a4
lea ecx, [esp]
lea edx, [esp + 0x20]
push ecx
push edx
mov word [esp + 0x14], ax
call fcn.00415b40
add esp, 8
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x22c]
mov dword [esp + 0x1c], eax
add ecx, eax
lea eax, [esp + 0x10]
mov word [esp + 0x1c], cx
mov dword [esp + 0x18], edx
mov dx, word [esp + 0x230]
lea ecx, [esp + 0x124]
push eax
push ecx
mov word [esp + 0x26], dx
call fcn.00415b40
mov al, 1
add esp, 0x230
ret 8
Function at 0x415b40
Capabilities:
Timestomp file

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
push 0
push edi
call fcn.00415800
mov esi, eax
add esp, 8
xor ebx, ebx
test esi, esi
je 0x415b8d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push ebx
lea edx, [esp + 0x10]
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
push 0
push eax
push edi
call fcn.00415840
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x416c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44dfc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
mov esi, ecx
lea ecx, [esp + 0x44]
call fcn.00417df0
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], 0
call fcn.00417df0
lea ecx, [esp + 0xc]
mov byte [esp + 0x84], 1
call fcn.00417df0
lea ecx, [esp + 0x60]
mov byte [esp + 0x84], 2
call fcn.00417df0
mov eax, dword [esi + 0x64]
mov byte [esp + 0x84], 3
test eax, eax
jne 0x416cf5
lea ecx, [esp + 0x60]
mov byte [esp + 0x84], 2
call fcn.00417e20
lea ecx, [esp + 0xc]
mov byte [esp + 0x84], 1
call fcn.00417e20
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 0
call fcn.00417e20
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], 0xffffffff
call fcn.00417e20
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
lea eax, [esp + 0x60]
push ebx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, esi
call fcn.00417000
push 0x20
lea ecx, [esp + 0x30]
call fcn.004180c0
push 0x20
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], eax
call fcn.004180c0
mov edx, dword [esi + 0xc]
lea ecx, [esp + 8]
push 4
push ecx
push edx
mov dword [esp + 0x14], eax
call fcn.004199a0
lea ecx, [esp + 0x18]
push 4
push ecx
push eax
call fcn.004199a0
add esp, 0x18
lea ecx, [esp + 0x10]
mov ebx, eax
push 8
call fcn.004180c0
xor edx, edx
cmp bl, al
sete dl
lea ecx, [esp + 0x64]
mov esi, edx
mov byte [esp + 0x88], 2
call fcn.00417e20
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], 1
call fcn.00417e20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 0
call fcn.00417e20
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], 0xffffffff
call fcn.00417e20
mov ecx, dword [esp + 0x80]
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret