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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, edi
mov ebp, dword [eax + 0x24]
add ebx, edi
mov eax, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x40cb46
mov edx, dword [edx + ecx*4]
add edx, edi
xor esi, esi
jmp 0x40cb2f
movzx eax, al
or eax, 0x60
add esi, eax
inc edx
add esi, esi
mov al, byte [edx]
test al, al
jne 0x40cb24
cmp esi, dword [esp + 0x10]
je 0x40cb50
mov edx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x14]
jb 0x40cb1b
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx eax, word [ebp + ecx*2]
mov eax, dword [ebx + eax*4]
add eax, edi
jmp 0x40cb48
Function at 0x41ade0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff43d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], esi
mov edx, dword [ebx + 8]
mov ecx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
lea edi, [ecx + 2]
mov dword [ebp - 0x20], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00415d70
cmp dword [ebp - 0x20], 8
lea edi, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x34]
xor ecx, ecx
add eax, eax
je 0x41ae98
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41ae84
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ecx + 0x34]
call fcn.004206d0
mov edi, dword [eax + 4]
test edi, edi
jne 0x41aeb9
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + 0x38]
lea ecx, [ebp - 0x34]
call fcn.004161c0
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax + 0x38]
je 0x41aed9
lea ecx, [edi + 0x20]
push ecx
mov ecx, esi
call fcn.0040f220
jmp 0x41af6a
push 1
xor eax, eax
mov dword [ebp - 0x54], 0
push 0x5229e0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.00415d70
mov edx, dword [ebp - 0x1c]
mov ecx, edx
mov dword [ebp - 4], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41af12
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.0040eff0
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x54]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.004161c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x41b640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
jb 0x41b66b
mov ebx, dword [esi]
mov edi, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0xc]
add eax, eax
je 0x41b69c
mov edi, eax
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x41b681
mov eax, dword [ebp - 4]
mov ebx, eax
mov edi, dword [ebp - 0xc]
jmp 0x41b6a1
mov ebx, dword [ebp - 0x14]
mov eax, ebx
push edx
push esi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.004206d0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41b6d0
cmp ecx, dword [ebx + 4]
je 0x41b6d0
add ecx, 0x20
push ecx
mov ecx, edi
call fcn.0040f220
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 8]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x41b70b
lfence
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41b6ec
mov eax, dword [esi]
push ecx
push eax
push 1
push 0x5229e0
push esi
push dword [ebp - 8]
mov ecx, edi
call fcn.004124c0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00415e80
int3
Function at 0x41b720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff54d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov eax, dword [ecx + 8]
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
jb 0x41b770
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x41b79a
mov esi, dword [ebp - 0x1c]
mov edi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x41b783
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push edx
push edi
push eax
call fcn.004206d0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x54dd00
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41b7e8
mov eax, dword [ebp - 0x20]
cmp ecx, dword [eax + 4]
je 0x41b7e8
add ecx, 0x20
cmp dword [ecx + 0x14], 8
jb 0x41b7d0
mov ecx, dword [ecx]
lea eax, [ebp - 0x18]
push eax
sub esp, 0xc
push ecx
push ecx
mov ecx, esi
call fcn.0041af90
add esp, 0x18
jmp 0x41b881
cmp dword [edi + 0x14], 8
jb 0x41b7f0
mov edi, dword [edi]
lea eax, [ebp - 0x18]
push eax
sub esp, 0xc
push edi
push ecx
lea ecx, [ebp - 0x44]
call fcn.0041af90
add esp, 0x18
push 1
push 0x522a18
push 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00412780
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x41b881
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b877
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b8a0
push edx
push ecx
call fcn.004a44fe
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 8
call fcn.004da7c4
int3
Function at 0x41c4a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff68d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00476860
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x468]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x460], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], vtable.browser_login_view.1.0
mov dword [ebx + 0x14], vtable.browser_login_view.0
mov dword [ebx + 0x464], eax
call fcn.0041b8b0
mov byte [ebp - 4], 1
lea edi, [ebx + 0x49c]
mov dword [ebp + 8], edi
lea esi, [edi + 0xc]
mov eax, dword [0x5575f8]
mov dword [edi], vtable.sciter::behavior_factory.0
mov dword [edi + 8], str.drag_window
mov dword [edi + 4], eax
mov dword [ebp + 8], esi
mov dword [0x5575f8], edi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0xc
lfence
call fcn.004a4626
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [edi], vtable.sciter::drag_window_factory.0
lea esi, [ebx + 0x4b0]
xor eax, eax
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call fcn.0041eb70
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebx + 0x24], 0x800a0008
mov dword [ebx + 0x28], 0xc0000
mov dword [ebp + 8], esp
call fcn.004191e0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
call fcn.00419030
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00419a40
add esp, 0x30
mov ecx, esi
push eax
call fcn.0041c6f0
lea ecx, [ebp - 0x30]
call fcn.00418320
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x41c5fb
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x4c]
call fcn.004161c0
lea ecx, [ebp - 0x64]
call fcn.004161c0
mov eax, dword [ebx + 0x4e0]
lea ecx, [ebx + 0x47c]
mov dword [0x557a28], eax
mov dword [0x557a20], eax
lea eax, [ebx + 0x4e4]
push eax
call fcn.0041eab0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e4c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff81d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
call fcn.00477460
lea ebx, [esi + 0x4b0]
push str.IDS_PRODUCT_NAME
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.0041ade0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x41e54a
push eax
push 0xfffffffffffffff2
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetClassLongW]
cmp dword [esi + 0x4dc], 8
lea eax, [esi + 0x4c8]
mov ecx, dword [eax + 0x10]
jb 0x41e55e
mov eax, dword [eax]
cmp ecx, 3
jne 0x41e5df
push ecx
push 0x522510
push eax
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x41e5df
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x30], eax
call fcn.004164c0
lea ecx, [ebp - 0x30]
push ecx
push esi
mov eax, dword [eax + 0x84]
call eax
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call fcn.004164c0
push 0x522510
push 0x522fb8
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 2
test esi, esi
je 0x41e5d8
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 0
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x41e5ea
mov ebx, dword [ebx]
cmp eax, 5
jne 0x41e675
push eax
push 0x522fbc
push ebx
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x41e675
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x14]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x30], 0
call fcn.004164c0
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x30]
push eax
push esi
call ecx
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x41e675
call fcn.004164c0
push 0x522fc8
push str.lang
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 4
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
jmp 0x41e675
lea ecx, [ebp - 0x2c]
call fcn.004161c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x41f390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x41f51e
cmp dword [edx + 0x1c], 8
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x20], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x1c], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
jb 0x41f3cb
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
add eax, eax
je 0x41f3f4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x41f3e0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x1c]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov ebx, esi
mov dword [ebp - 0x18], esi
mov esi, dword [esi]
lea ecx, [ebx + 0x20]
call fcn.004161c0
lea ecx, [ebx + 8]
call fcn.004161c0
push 0x38
push ebx
call fcn.004a44fe
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
je 0x41f468
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x41f410
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x41f513
mov ecx, dword [ebp - 0x10]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
jne 0x41f47a
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x41f47d
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x41f513
nop dword [eax + eax]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x41f49e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x41f4c1
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x41f4b0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x1c]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov ebx, esi
mov dword [ebp - 0x14], esi
mov esi, dword [esi]
lea ecx, [ebx + 0x20]
call fcn.004161c0
lea ecx, [ebx + 8]
call fcn.004161c0
push 0x38
push ebx
call fcn.004a44fe
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, dword [ebp - 0x18]
dec dword [ecx + 8]
cmp ebx, eax
mov eax, dword [ebp + 0xc]
je 0x41f524
cmp esi, eax
jne 0x41f4d8
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x20]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x41f490
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x420880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x4208ab
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x420894
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x420a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffac7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x500
call fcn.004a4626
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0x500
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004d78d0
add esp, 0x10
lea eax, [ebx + 4]
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, esi
call fcn.00421100
mov esi, eax
mov dword [ebp - 0x1c], esi
push 0xfffe
mov dword [ebp - 4], 1
call fcn.004a4905
push 0xfffe
mov edi, eax
push 0
push edi
call fcn.004d78d0
add esp, 0x10
mov dword [ebp - 0x18], edi
push 0x7fff
push edi
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push edi
call fcn.004d739e
push str._skinimagesProductAgent
xor ecx, ecx
push 0x7fff
push edi
mov word [eax], cx
call fcn.004daaae
mov ecx, edi
mov dword [ebp - 0x3c], 0
add esp, 0x14
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420b73
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00415d70
push edi
call fcn.004a450c
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea ecx, [esi + 0x14]
cmovae eax, dword [ebp - 0x3c]
push eax
push 0x1e
push 0
call fcn.00476a60
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
mov edi, eax
call fcn.004161c0
cmp edi, 1
je 0x420bcd
xor ebx, ebx
mov edi, esi
jmp 0x420c83
mov edi, dword [ebx + 8]
push 0
push 0
mov dword [ebx + 8], esi
mov esi, edi
push 0
push 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
push 8
mov byte [ebp - 4], 4
call fcn.004a4626
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [eax], ecx
mov dword [eax + 4], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
push 0x420df0
push 0
push 0
call fcn.004defef
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x420cae
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 8]
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x7c]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x20], 0
je 0x420c57
lea ecx, [ebp - 0x24]
call fcn.004209f0
mov ecx, dword [ebx + 8]
mov dword [ebx + 8], 0
test ecx, ecx
je 0x420c6c
mov eax, dword [ecx]
push 1
call dword [eax + 0x74]
cmp dword [ebp - 0x20], 0
jne 0x420cbc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x420c80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x18]
test edi, edi
je 0x420c90
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx + 0x74]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x20], 0
call fcn.0048f7d4
call fcn.004dee57
int3
Function at 0x421100
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffb7d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00476860
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x464]
mov eax, dword [ebp + 8]
mov dword [ebx], vtable.choose_install_view.1.0
mov dword [ebx + 0x14], vtable.choose_install_view.0
mov dword [ebx + 0x460], eax
call fcn.0041b8b0
mov byte [ebp - 4], 1
lea edi, [ebx + 0x498]
mov dword [ebp + 8], edi
lea esi, [edi + 0xc]
mov eax, dword [0x5575f8]
mov dword [edi], vtable.sciter::behavior_factory.0
mov dword [edi + 8], str.drag_window
mov dword [edi + 4], eax
mov dword [ebp + 8], esi
mov dword [0x5575f8], edi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0xc
lfence
call fcn.004a4626
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [edi], vtable.sciter::drag_window_factory.0
lea esi, [ebx + 0x4ac]
xor eax, eax
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call fcn.0041eb70
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebx + 0x24], 0x80080008
mov dword [ebx + 0x28], 0xc0000
mov dword [ebp + 8], esp
call fcn.004191e0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
call fcn.00419030
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00419a40
add esp, 0x30
mov ecx, esi
push eax
call fcn.0041c6f0
lea ecx, [ebp - 0x34]
call fcn.00418320
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x421252
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x50]
call fcn.004161c0
lea ecx, [ebp - 0x68]
call fcn.004161c0
mov eax, dword [ebx + 0x4dc]
lea ecx, [ebx + 0x478]
mov dword [0x557a28], eax
mov dword [0x557a20], eax
lea eax, [ebx + 0x4e0]
push eax
call fcn.0041eab0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x421340
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff81d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
call fcn.00477460
lea ebx, [esi + 0x4ac]
push str.IDS_PRODUCT_NAME
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.0041ade0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4213ca
push eax
push 0xfffffffffffffff2
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetClassLongW]
cmp dword [esi + 0x4d8], 8
lea eax, [esi + 0x4c4]
mov ecx, dword [eax + 0x10]
jb 0x4213de
mov eax, dword [eax]
cmp ecx, 3
jne 0x42145f
push ecx
push 0x522510
push eax
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x42145f
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x30], eax
call fcn.004164c0
lea ecx, [ebp - 0x30]
push ecx
push esi
mov eax, dword [eax + 0x84]
call eax
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call fcn.004164c0
push 0x522510
push 0x522fb8
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 2
test esi, esi
je 0x421458
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 0
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x42146a
mov ebx, dword [ebx]
cmp eax, 5
jne 0x4214f9
push eax
push 0x522fbc
push ebx
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x4214f9
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x14]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x30], 0
call fcn.004164c0
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x30]
push eax
push esi
call ecx
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4214f5
call fcn.004164c0
push 0x522fc8
push str.lang
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 4
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
jmp 0x4214f5
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x14
push 0
push 0
push 0x464
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.004161c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret