joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4266e0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x459548
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.00426880
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x426738
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426840
cmp dword [esp + 0x30], edi
mov eax, dword [esp + 0x1c]
jae 0x426755
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x426829
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.state
call fcn.0040eb30
lea edx, [esp + 0xc]
push edx
mov ecx, str.update
mov byte [esp + 0x44], 1
call fcn.0040eb30
mov byte [esp + 0x40], 2
cmp dword [esp + 0x30], edi
mov ecx, dword [esp + 0x1c]
jae 0x42679c
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
call fcn.0040eb30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4267df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426804
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426829
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x30], edi
jb 0x42683c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043ef40
add esp, 4
mov eax, esi
jmp 0x426858
cmp dword [esp + 0x30], edi
jb 0x426853
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043ef40
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0043ef12
add esp, 0x38
ret
Function at 0x426b20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebp
push esi
xor ebp, ebp
lea ecx, [esp + 0xc]
push ecx
push ebp
lea edx, [esp + 0x18]
push edx
mov esi, eax
mov eax, dword [esi]
push ebp
push eax
mov eax, dword [edi]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call ebx
cmp eax, ebp
jne 0x426ba6
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0043ee4f
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x426b6f
pop esi
lea eax, [ebp + 8]
pop ebp
pop ebx
add esp, 8
ret 0xc
mov esi, dword [esi]
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push ebp
lea eax, [esp + 0x18]
push eax
push 0
push esi
push ecx
call ebx
test eax, eax
jne 0x426ba6
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x426b96
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [ecx], ebp
mov ecx, dword [esp + 0x20]
mov dword [ecx], edx
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x428600
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x118
lea eax, [esp + 8]
push 0
push eax
call fcn.00443e10
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jne 0x428662
cmp dword [esp + 8], 2
jb 0x428662
mov eax, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0043ef12
add esp, 0x120
ret
mov ecx, dword [esp + 0x11c]
xor ecx, esp
xor eax, eax
call fcn.0043ef12
add esp, 0x120
ret

Function at 0x428680
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x118
lea eax, [esp + 8]
push 0
push eax
call fcn.00443e10
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x11c]
sbb eax, eax
xor ecx, esp
add eax, 1
call fcn.0043ef12
add esp, 0x120
ret

Function at 0x4286e0
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.test_qt_
push SysReAllocString
mov dword [esp + 0x10], 0
call edi
lea eax, [esp + 8]
push eax
push str.test_qt_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
neg esi
push str.test_qt_
sbb esi, esi
push SysReAllocString
add esi, 1
call edi
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x429b40
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a7a1
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x464]
mov dword fs:[0], eax
mov eax, dword [esp + 0x474]
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
push eax
lea edi, [esp + 0x18]
mov dword [esp + 0x470], esi
call fcn.00428c20
add esp, 4
test eax, eax
je 0x429d57
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp esi, eax
jbe 0x429bc3
call fcn.0043f7bb
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
cmp dword [esp + 0x18], eax
mov ebx, eax
jbe 0x429be1
call fcn.0043f7bb
mov eax, dword [esp + 0x1c]
cmp esi, ebx
je 0x429d42
cmp esi, eax
jb 0x429bf2
call fcn.0043f7bb
mov eax, dword [esi]
push eax
xor ebx, ebx
push ebx
push 0x1f0fff
call ebp
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
cmp edi, ebx
je 0x429c24
mov eax, dword [esp + 0x1c]
cmp esi, eax
jb 0x429c1f
call fcn.0043f7bb
mov eax, dword [esp + 0x1c]
add esi, 4
jmp 0x429bd0
push str._setup_TerminateProcess_return_false_n
push 0x400
lea ecx, [esp + 0x64]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.0042a750
mov byte [esp + 0x46c], 1
mov edi, 7
lea eax, [esp + 0x5c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429c70
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x60]
push edx
lea esi, [esp + 0x2c]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x48]
mov byte [esp + 0x474], 2
call fcn.00406d90
mov ebp, 8
cmp dword [esp + 0x3c], ebp
jb 0x429cbe
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x58], ebp
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jae 0x429cd9
lea edx, [esp + 0x44]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x429d1a
mov eax, edx
lea esi, [eax + 2]
jmp 0x429cf0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429cf0
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x58], ebp
jb 0x429d2d
mov edx, dword [esp + 0x44]
push edx
call fcn.0043ef40
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x429d3e
push eax
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x429d6d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x429d53
push eax
call fcn.0043ef40
add esp, 4
mov eax, edi
jmp 0x429d6d
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x429d68
push eax
call fcn.0043ef40
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0043ef12
add esp, 0x45c
ret
Function at 0x42a990
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x12]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x14], edi
mov word [esp + 0x18], di
call fcn.00443e10
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
jne 0x42a9f0
push edi
push 0x4606f4
jmp 0x42aa0c
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42a9f7
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00406f20
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0043ef12
add esp, 0x210
ret

Function at 0x42aec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x471bc4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x471bc4]
push edi
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x42aeee
pop edi
pop esi
pop ebx
pop ecx
ret
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.00443e90
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 1
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x42af4e
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x42af50
xor esi, esi
mov ebp, dword [esp + 0x18]
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
cmp dword [ebp], eax
pop ebp
pop edi
pop esi
setne al
pop ebx
pop ecx
ret

Function at 0x42af80
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 0x4646b8
push 1
push 0
push 0x4646a8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x42afdf
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x42afdf
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x42afef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
test eax, eax
je 0x42afff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x42c2b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4573be
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov eax, 0xf
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea edi, [esi + 0x30]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x24], 2
call fcn.00419320
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, edi
call fcn.00419320
mov dword [esi + 0x10], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc

Function at 0x42cdc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x457acb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
xor ebx, ebx
or esi, 0xffffffff
mov dword [edi + 8], esi
mov dword [edi + 4], esi
lea ebp, [edi + 0x20]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x14], ebx
mov edx, 0xf
mov dword [ebp + 0x18], edx
mov byte [ebp + 4], bl
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 1
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [esp + 0x38], ebx
lea eax, [edi + 0x44]
mov dword [edi], vtable.TiXmlElement.0
mov dword [eax + 8], esi
mov dword [eax + 4], esi
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.TiXmlAttribute.0
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], ebx
mov byte [eax + 0x18], bl
mov dword [eax + 0x48], edx
mov dword [eax + 0x44], ebx
mov byte [eax + 0x34], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0x50], eax
mov dword [eax + 0x4c], eax
mov byte [esp + 0x38], 1
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x18], ebx
mov eax, dword [ecx + 0x14]
push eax
push ecx
lea esi, [esp + 0x1c]
call fcn.0042c880
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x44], 2
call fcn.00419320
cmp dword [esp + 0x2c], 0x10
jb 0x42ce91
mov eax, dword [esp + 0x18]
push eax
call fcn.0043ef40
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x430720
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4571bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00454ebd
push 4
mov dword [esp + 0x20], 0
call fcn.0043f2d6
mov edi, eax
add esp, 4
test edi, edi
je 0x4307a0
call fcn.00455292
mov dword [edi], eax
call fcn.004550c6
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0045559c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x430795
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004555bd
jmp 0x4307a2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x439690
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x458566
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48c]
mov ebx, ecx
lea ecx, [esp + 0x40]
push ecx
push 0x18
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
xor ebp, ebp
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x439710
mov edi, str.DrawBitmap
call fcn.0042a6d0
xor eax, eax
jmp 0x439885
push ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, ebp
mov dword [esp + 0x20], eax
jle 0x43986e
cmp edi, ebp
jle 0x43986e
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x494]
mov eax, dword [esp + 0x490]
mov ecx, dword [esp + 0x1c]
push 0xff00ff
push edi
push esi
push ebp
push ebp
push edx
push edi
push esi
push ebx
push eax
push ecx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
cmp eax, ebp
jne 0x43986e
mov edx, dword [esp + 0x490]
push 1
push edi
push esi
push ebx
push edx
push 0x4653e8
push 0x400
lea eax, [esp + 0x90]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x24
lea ecx, [esp + 0x58]
call fcn.0042a750
mov dword [esp + 0x484], ebp
mov edi, 7
lea eax, [esp + 0x74]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4397b4
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea esi, [esp + 0x2c]
call fcn.00406f20
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x60]
mov byte [esp + 0x48c], 1
call fcn.00406d90
mov ebx, 8
cmp dword [esp + 0x3c], ebx
jb 0x439802
mov eax, dword [esp + 0x28]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x70], ebx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
jae 0x43981d
lea edx, [esp + 0x5c]
mov edi, dword [0x471b30]
cmp edi, ebp
je 0x43985b
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x439830
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x70], ebx
jb 0x43986e
mov eax, dword [esp + 0x5c]
push eax
call fcn.0043ef40
add esp, 4
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.0043ef12
add esp, 0x474
ret 0xc
Function at 0x43a620
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 4
push 4
add ecx, 1
push ecx
mov ecx, dword [esp + 0x1c]
add edx, 1
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 1
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f6
push esi
call ebx
push 0x3f8
push esi
call ebx
push 2
push esi
call ebx
test eax, eax
je 0x43a6b0
mov edx, dword [ebp + 0x60]
push 1
push edx
push 0x30
push 2
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f7
push esi
call ebx
push 0x3f9
push esi
call ebx
push 8
push esi
call ebx
test eax, eax
je 0x43a787
mov ecx, dword [ebp + 0xb4]
mov edi, dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x20]
push eax
push 0x18
push ecx
call edi
mov eax, dword [ebp + 0xb4]
lea edx, [esp + 0x38]
push edx
push 0x18
push eax
call edi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push 4
push ecx
push eax
push 5
sub edi, eax
sub edi, 5
push edi
push 0
push 8
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3f5
push esi
call ebx
test eax, eax
je 0x43a787
mov eax, dword [ebp + 0xc4]
lea edx, [esp + 0x20]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0xc4]
lea ecx, [esp + 0x38]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x40]
push 4
push eax
mov eax, dword [esp + 0x2c]
push eax
push 5
sub edi, eax
push edi
push 0
push 0x3f5
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x20000
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x3f1
push esi
call ebx
test eax, eax
je 0x43a7a4
push 0
push 0x3f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 4
Function at 0x43bb60
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push str.ProductName
push ecx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43bbce
mov eax, dword [esp + 8]
cmp eax, 1
je 0x43bb9f
cmp eax, 2
jne 0x43bbba
test esi, esi
mov eax, dword [esp]
je 0x43bbc8
test eax, eax
je 0x43bbc3
test al, 1
jne 0x43bbba
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x43bbc8
mov eax, 0xd
pop ecx
ret 4
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4