joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4031c0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x40ad7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
push esi
lea ecx, [esp + 0x24]
call fcn.004095e0
push ecx
mov dword [esp + 0xf8], esi
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x40f1b4
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0xfc], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x40f1e4
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0x100], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x40f1bc
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x100], 0
call fcn.00409890
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CDialog::DoModal
cmp eax, 2
jne 0x4032e2
lea ecx, [esp + 0xac]
mov dword [esp + 0xf4], 9
call sub.MFC42u.DLL_CComboBox::CComboBox
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 8
call fcn.0040a5e6
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 7
call fcn.0040a3e8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 6
call fcn.0040a3e8
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 5
call fcn.0040a3e8
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 4
call fcn.0040a3e8
mov byte [esp + 0xf4], 3
jmp 0x403434
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [edi + 0x1c0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0xb
push eax
mov byte [esp + 0x104], 0xa
call ebx
mov ecx, dword [edi + 0x1c0]
push esi
push esi
push 0x1004
push ecx
call ebx
cmp eax, esi
jle 0x403391
lea ebp, [edi + 0x1a0]
push 1
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, ebp
call sub.MFC42u.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 0xb
call fcn.0040a5aa
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0xa
call fcn.0040a3e8
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Replace
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
push 1
push esi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov eax, dword [edi + 0x1c0]
push 0
push 0
push 0x1004
push eax
inc esi
call ebx
cmp esi, eax
jl 0x403320
mov ecx, dword [edi + 0x1c0]
push 0
push 1
push 0xb
push ecx
call ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0xf4], 0
call fcn.0040a3e8
lea ecx, [esp + 0xac]
mov dword [esp + 0xf4], 0x12
call sub.MFC42u.DLL_CComboBox::CComboBox
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x11
call fcn.0040a5e6
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 0x10
call fcn.0040a3e8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 0xf
call fcn.0040a3e8
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 0xe
call fcn.0040a3e8
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0xd
call fcn.0040a3e8
mov byte [esp + 0xf4], 0xc
lea ecx, [esp + 0x80]
call fcn.0040a3e8
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], 0xffffffff
call fcn.0040a3ca
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe8
ret
Function at 0x403470
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x40ae48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.004095e0
push ecx
mov dword [esp + 0xf8], esi
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x40fa34
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0xfc], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x40f218
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0x100], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x40f1e8
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x100], 0
call fcn.00409890
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CDialog::DoModal
cmp eax, 2
jne 0x403592
lea ecx, [esp + 0xac]
mov dword [esp + 0xf4], 9
call sub.MFC42u.DLL_CComboBox::CComboBox
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 8
call fcn.0040a5e6
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 7
call fcn.0040a3e8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 6
call fcn.0040a3e8
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 5
call fcn.0040a3e8
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 4
call fcn.0040a3e8
mov byte [esp + 0xf4], 3
jmp 0x4036ff
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebp + 0x1c0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0xb
push eax
mov byte [esp + 0x104], 0xa
call ebx
mov ecx, dword [ebp + 0x1c0]
push esi
push esi
push 0x1004
push ecx
call ebx
cmp eax, esi
jle 0x40365c
lea edi, [ebp + 0x1a0]
push 1
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push eax
lea eax, [esp + 0x94]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x100], 0xb
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 0xc
call fcn.0040a5aa
lea ecx, [esp + 0x18]
mov byte [esp + 0xf4], 0xb
call fcn.0040a3e8
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0xa
call fcn.0040a3e8
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 1
push esi
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 0x1c0]
push 0
push 0
push 0x1004
push eax
inc esi
call ebx
cmp esi, eax
jl 0x4035d4
mov ecx, dword [ebp + 0x1c0]
push 0
push 1
push 0xb
push ecx
call ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0xf4], 0
call fcn.0040a3e8
lea ecx, [esp + 0xac]
mov dword [esp + 0xf4], 0x13
call sub.MFC42u.DLL_CComboBox::CComboBox
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x12
call fcn.0040a5e6
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 0x11
call fcn.0040a3e8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 0x10
call fcn.0040a3e8
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 0xf
call fcn.0040a3e8
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0xe
call fcn.0040a3e8
mov byte [esp + 0xf4], 0xd
lea ecx, [esp + 0x80]
call fcn.0040a3e8
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], 0xffffffff
call fcn.0040a3ca
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe8
ret
Function at 0x403740
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x40af0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebp
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x24]
call fcn.004095e0
push ecx
mov dword [esp + 0xf8], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x40fa34
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0xfc], 1
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x40f218
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0x100], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x40f228
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x100], 0
call fcn.00409890
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CDialog::DoModal
cmp eax, 2
jne 0x403864
lea ecx, [esp + 0xac]
mov dword [esp + 0xf4], 9
call sub.MFC42u.DLL_CComboBox::CComboBox
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 8
call fcn.0040a5e6
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 7
call fcn.0040a3e8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 6
call fcn.0040a3e8
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 5
call fcn.0040a3e8
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 4
call fcn.0040a3e8
mov byte [esp + 0xf4], 3
jmp 0x403998
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0xa
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esi + 0x1c0]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push eax
mov byte [esp + 0x104], 0xb
call ebp
mov ecx, dword [esi + 0x1c0]
xor edi, edi
push edi
push edi
push 0x1004
push ecx
call ebp
test eax, eax
jle 0x4038e4
push ecx
lea edx, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call sub.MFC42u.DLL_CString::CString
push edi
mov ecx, esi
call fcn.004039d0
mov eax, dword [esi + 0x1c0]
push 0
push 0
push 0x1004
push eax
inc edi
call ebp
cmp edi, eax
jl 0x4038b1
mov ecx, dword [esi + 0x1c0]
push 0
push 1
push 0xb
push ecx
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0xa
call fcn.0040a3e8
lea ecx, [esp + 0xc]
mov byte [esp + 0xf4], 0
call fcn.0040a3e8
lea ecx, [esp + 0xac]
mov dword [esp + 0xf4], 0x12
call sub.MFC42u.DLL_CComboBox::CComboBox
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 0x11
call fcn.0040a5e6
lea ecx, [esp + 0x90]
mov byte [esp + 0xf4], 0x10
call fcn.0040a3e8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf4], 0xf
call fcn.0040a3e8
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 0xe
call fcn.0040a3e8
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0xd
call fcn.0040a3e8
mov byte [esp + 0xf4], 0xc
lea ecx, [esp + 0x80]
call fcn.0040a3e8
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], 0xffffffff
call fcn.0040a3ca
mov ecx, dword [esp + 0xec]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xec
ret
Function at 0x407b70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x407bc8
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040773d
push eax
push esi
push dword [ebp + 8]
call fcn.004076f2
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040772d
sbb al, dh
in eax, 0x30
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040772d
fmul dword [edx - 0x7a72de92]
jl 0x407c18
invalid
invalid
Function at 0x408240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6625b], al
inc dword [eax]
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.0040773d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004076f2
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
invalid
call dword [0xfadfa580]
invalid
inc dword [eax]
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0040773d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004076f2
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0040772d
popfd
imul ebp, ebx, 0xffffffc9
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0040773d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004076f2
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0040772d
jno 0x408436
fsub qword [esi + 0x68]
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
enter 0xfffffffffffffffa, 0xffffffffffffffff
invalid
Function at 0x4095e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0040773d
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0040769e
add esp, 0xc
jmp 0x4096a5
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.0040772d
jecxz 0x4096cd
mov ebx, 0x60b5ff8d
cld
invalid
dec dword [ecx - 0x3a37b]
inc dword [ebx - 0x3a343]
inc dword [eax]
je 0x409710
lea eax, [ebp - 0x714]
push eax
call fcn.0040773d
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004076f2
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x409710
jmp fcn.004090cf
cmp dword [ebp - 0x37c], 0
je 0x40971e
jmp 0x4097d3
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x409777
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x40977c
jmp fcn.004090cf
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x4097c3
lea eax, [ebp - 0x714]
push eax
call fcn.0040773d
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004076f2
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x4097ce
jmp 0x4097d3
jmp fcn.004090cf
cmp dword [ebp - 0x37c], 0
jne 0x40987d
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00407909
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x409869
lea eax, [ebp - 0x714]
push eax
call fcn.0040773d
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.004077d2
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
invalid

Function at 0x409a70
Capabilities:
Get file system object information

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x2b4
mov edx, dword [esp + 0x2b8]
lea eax, [esp]
neg ecx
sbb ecx, ecx
push esi
and ecx, 0xffffff90
push 0x4111
push 0x2b4
add ecx, 0x80
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [esp + 8]
lea ecx, [esp + 0x2bc]
call fcn.0040a3e8
mov eax, esi
pop esi
add esp, 0x2b4
ret
Function at 0x409ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40bc69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebx, [esi + 4]
mov dword [esp + 0x18], 0
mov ecx, ebx
call sub.MFC42u.DLL_CString::CString_1
lea edi, [esi + 0x28]
mov byte [esp + 0x18], 1
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 2
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 3
test eax, eax
mov dword [esi], 0x40c990
jne 0x409f37
push 0x40fa34
jmp 0x409f38
push eax
mov ecx, edi
call fcn.0040a598
lea edx, [esi + 8]
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x409f59
mov dword [edx], eax
jmp 0x409f5e
mov eax, dword [eax + 0x20]
mov dword [edx], eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0040a5aa
mov eax, dword [esp + 0x28]
mov ebx, dword [ebx]
lea edx, [esi + 0x30]
or al, 4
lea ecx, [esp + 0x20]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x409fc0
mov dword [esi + 0x20], esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0040a3e8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0xdb54bc
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdb54c6
pushal
call 0xdb54cc
pop ebp
sub ebp, 0x10
sub ebp, 0x9b54bc
jmp 0xdb54e2
mov eax, 0x9b54bc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ad
mov edx, 0x8370bbde
lodsd eax, dword [esi]
add eax, 0xdeba0000
mov ebx, 0x10308370
xor byte [eax], dl
inc eax
dec ecx
jne 0xdb54f9
jmp 0xdb550c
push ebp
adc edx, dword [ebp + 0x57]
loop 0xdb54f0
invalid
Function at 0x42d188
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4b12c0
call fcn.0046c338
push str.ExecuteRetryInstall...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.004174d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___file__
lea ecx, [ebp - 0x10]
call fcn.00402829
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x10]
push ebx
push 2
pop esi
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00416da0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop edi
call fcn.004524e1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
mov dword [ebp - 4], esi
push 0x5c
push dword [ebx]
call fcn.00485207
pop ecx
pop ecx
test eax, eax
je 0x42d24d
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x42d24d
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004097e9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e14
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edx, str..exe
mov ecx, ebx
call fcn.00444255
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x42d2ba
mov edi, 0x4d0aa4
test esi, esi
je 0x42d289
push 5
push 0
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
push 0
push edi
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x21
jae 0x42d2fc
push str.ShellExecute_failed
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
push edi
jmp 0x42d313
mov edx, str..msi
mov ecx, ebx
call fcn.00444255
test eax, eax
je 0x42d300
mov edi, 0x4d0aa4
test esi, esi
je 0x42d2f3
push 5
push 0
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push dword [ebx]
call dword [sym.imp.msi.dll_MsiOpenDatabaseW]
xor edi, edi
jmp 0x42d32a
push str.Not_supported_file_type
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 5
push 0
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.004174d1
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046c301
ret 4
Function at 0x458910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x45893b
cmp dword [edi + 0x80], 0
jne 0x45893b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00461153
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00458b76
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45c1df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x45c21e
call fcn.00461153
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45c21e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45c226
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004517f7
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45c943
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x45c9cf
cmp dword [esi + 0x20], 0
je 0x45c9cf
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c9cf
cmp dword [ebp + 8], 0
je 0x45c9cf
xor edi, edi
mov ebx, edi
call fcn.00461153
push 0x4c0740
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x45c9b3
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45c9cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0046a00d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45c9cb
mov ecx, esi
call fcn.0045c711
mov eax, edi
jmp 0x45c9d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x463db0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b7afb
call fcn.0046c3a3
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x463eba
cmp ebx, dword [esi + 0xc]
jge 0x463eba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x463e07
cmp ebx, dword [edi + 8]
jl 0x463ea8
cmp dword [ebp + 0xc], 0
je 0x463ea8
xor ebx, ebx
jmp 0x463e41
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00463857
mov edi, eax
test edi, edi
je 0x463e21
mov dword [edi], vtable.CThreadData.0
jmp 0x463e23
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00463cdc
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x463e5c
push 4
push dword [esi + 0xc]
call fcn.00418582
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x463e74
push 2
push 4
push dword [esi + 0xc]
call fcn.00418582
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x463ee1
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.004847f0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x463eba
cmp ebx, dword [edi + 8]
jge 0x463eba
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0046c301
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00451fbe
int3