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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652d28
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6ee06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea edx, [ecx + 0x98]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410010
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e90a
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004c16bd
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x40e906
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x3a8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040abe0
lea eax, [ebp - 0x48]
push eax
call fcn.004c0344
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x40e93d
mov eax, dword [eax]
push eax
push 0x6d8f6c
push str.UserID
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x40e988
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e97e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea1d
push edx
push ecx
call fcn.00424265
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e9be
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e9b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea22
push edx
push ecx
call fcn.00424265
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40ea02
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e9f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea27
push edx
push ecx
call fcn.00424265
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423c15
mov esp, ebp
pop ebp
ret 0x18
call fcn.004eb7f6
call fcn.004eb7f6
call fcn.004eb7f6
int3
Function at 0x40ea30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652d66
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x6ee06c]
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, ecx
mov esi, dword [ebp + 8]
lea edx, [edi + 0x98]
push ecx
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x844], esi
call fcn.00410010
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004e7e00
add esp, 0x10
lea eax, [ebp - 0x840]
cmp dword [ebp - 0x82c], 8
cmovae eax, dword [ebp - 0x840]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x6d5b54
push 0x6d8f6c
push str.UserID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eaf3
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00403400
push str.pdfuser
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x828]
mov ecx, esp
push eax
call fcn.0040fc30
push esi
mov ecx, edi
call fcn.0040f320
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x40eb73
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ebce
push edx
push ecx
call fcn.00424265
add esp, 8
mov edx, dword [ebp - 0x82c]
cmp edx, 8
jb 0x40ebaf
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eba5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ebd3
push edx
push ecx
call fcn.00424265
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.00423c15
mov esp, ebp
pop ebp
ret 8
call fcn.004eb7f6
call fcn.004eb7f6
int3
Function at 0x4106c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x410719
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x410719
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x410708
cmp esi, edx
jae 0x410719
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4106f6
cmp esi, edx
jae 0x410719
cmp word [esi], 0
je 0x410719
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x412060
Capabilities:
Check if file exists

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 0x6531b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x6ee06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 4], 0
mov ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
push 0xb
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
push 0x6d8efc
mov word [edi], ax
call fcn.00403400
push 1
mov dword [ebp - 4], 0
mov ecx, edi
push 0x6d6ddc
mov dword [ebp - 0x14], 1
call fcn.0040ffa0
push 5
push str.image
mov ecx, edi
call fcn.0040ffa0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x412104
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040f9a0
mov ecx, eax
call fcn.004c0bc0
mov esi, eax
cmp edi, esi
je 0x412145
mov ecx, edi
call fcn.00401860
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x41217f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412175
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412207
push edx
push ecx
call fcn.00424265
add esp, 8
push edi
call fcn.004c01fa
add esp, 4
test eax, eax
jne 0x41219a
push 1
push 0x6d6ddc
mov ecx, edi
call fcn.0040ffa0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4121a4
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4121ef
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4121c3
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.004c16bd
add esp, 8
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4121ef
mov esi, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
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 4
call fcn.004eb7f6
int3
Function at 0x413250
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653377
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6ee06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x4132a5
mov dword [edi], 0x6d94ec
mov dword [edi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.0040bed0
lea ebx, [edi + 4]
mov dword [esi + 0x3c], 0
push 0x20
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.00414890
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], ax
jne 0x4132fb
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.0040be50
mov dword [ebp - 4], 2
mov eax, dword [edi]
push 8
mov dword [ebp + 0xc], ebx
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [ebx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042429f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.00420fff
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
add esp, 8
lea eax, [ebx + 0x14]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, eax
not ecx
mov dword [ebx], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
and ecx, 1
mov dword [ebx + 0x38], 0
shl ecx, 2
mov edx, ecx
or edx, 8
and al, 8
cmove edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
or eax, 0x10
and cl, 4
cmove eax, edx
mov dword [ebx + 0x3c], eax
mov eax, edi
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 0x4145d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652b00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6ee06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042429f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00420fff
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6537f0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ee06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x417d51
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.004c5a93
mov esi, dword [0x7000b4]
test esi, esi
jne 0x417dd4
push 0x6fe6fc
call fcn.00420a2a
add esp, 4
test eax, eax
je 0x417d7a
push eax
call fcn.0042141c
add esp, 4
mov esi, dword [0x7000b4]
test esi, esi
jne 0x417dac
push 0x3c
call fcn.0042429f
add esp, 4
mov esi, eax
push 0x3c
push 0
push esi
call fcn.004e7e00
add esp, 0xc
mov ecx, esi
call fcn.004c357f
mov esi, eax
mov dword [0x7000b4], esi
push 0x6fe6fc
mov dword [ebp - 4], 0
call fcn.00420a4f
add esp, 4
test eax, eax
je 0x417dcd
push eax
call fcn.0042141c
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0
mov ecx, esi
call fcn.004c3e94
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x6d8efc
mov word [ecx], ax
call fcn.00403400
mov edi, dword [ebp + 8]
push 0
push edi
call fcn.0040f9a0
mov ecx, eax
call fcn.004c0f1f
mov esi, dword [0x700190]
test esi, esi
jne 0x417e83
push 0x70012c
call fcn.00420a2a
add esp, 4
test eax, eax
je 0x417e39
push eax
call fcn.0042141c
add esp, 4
mov esi, dword [0x700190]
test esi, esi
jne 0x417e5b
push 4
call fcn.0042429f
mov esi, eax
add esp, 4
mov dword [esi], vtable.CPublicParamUtil.0
mov dword [0x700190], esi
push 0x70012c
mov dword [ebp - 4], 1
call fcn.00420a4f
add esp, 4
test eax, eax
je 0x417e7c
push eax
call fcn.0042141c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004172f0
call fcn.00407670
sub esp, 0xc
call fcn.0041d610
test eax, eax
jne 0x417f3f
sub esp, 8
call fcn.00419230
mov ecx, eax
call fcn.0040d6e0
push edi
call fcn.004330a0
add esp, 4
push 4
call fcn.004334d0
add esp, 4
push 0x6da044
push 0x6e
call fcn.0042af70
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x417f18
push esi
call fcn.0042af70
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x417f11
push esi
call fcn.0042af70
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x417f11
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.004334e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x401b60
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push str.CImageAnimUI
call fcn.00439570
call fcn.00464ec0
mov ecx, eax
call fcn.00464f90
jmp 0x417f41
js 0x417f46
call fcn.0041dd60
mov eax, dword [0x6fe118]
test eax, eax
je 0x417f5b
call eax
test eax, eax
je 0x417f5b
call dword [0x6fe404]
call fcn.004c5a42
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x418110
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653866
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x6ee06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00419230
push 0x800
mov esi, eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004e7e00
lea ecx, [esi + 0x68]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x418164
mov ecx, dword [ecx]
push ecx
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x6d5b54
push 0x6d8f6c
push str.UserID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4181b0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00403400
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x828]
mov ecx, esp
push eax
call fcn.0040fc30
push str.softuser
lea eax, [ebp - 0x870]
mov ecx, esi
push eax
call fcn.0040ebe0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x418244
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41823a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4182da
push edx
push ecx
call fcn.00424265
add esp, 8
mov dword [ebp - 4], 1
lea eax, [ebp - 0x858]
mov esi, dword [0x6fe884]
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x41827e
cmp dword [ebp - 0x844], 0x10
push dword [ebp - 0x848]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.0040ace0
mov esi, dword [0x6fe884]
lea ecx, [esi + 0x60]
lea eax, [ebp - 0x870]
cmp ecx, eax
je 0x4182ab
cmp dword [ebp - 0x85c], 0x10
push dword [ebp - 0x860]
cmovae eax, dword [ebp - 0x870]
push eax
call fcn.0040ace0
mov esi, dword [0x6fe884]
mov esi, dword [esi + 0x70]
lea ecx, [ebp - 0x870]
call fcn.0040def0
test esi, esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423c15
mov esp, ebp
pop ebp
ret 4
call fcn.004eb7f6
int3
Function at 0x41b7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653c83
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x6ee06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.004e7e00
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x41b879
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x41b879
call fcn.0041ae40
mov edi, eax
jmp 0x41b995
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41b89c
call fcn.0041ae40
jmp 0x41b988
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x41b8ba
call fcn.0041ae40
jmp 0x41b988
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x41b8db
mov edi, 0x8007000e
jmp 0x41b98a
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x41b9d0
jb 0x41b8f9
cmp eax, 0xffffffff
ja 0x41b9d0
cmp eax, 0x400
jbe 0x41b90e
push eax
lea ecx, [ebp - 0x424]
call fcn.0041e770
jmp 0x41b934
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x41b934
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x41b94b
mov edi, 0x8007000e
jmp 0x41b98a
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41b96b
call fcn.0041ae40
jmp 0x41b988
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.0041c5f0
mov edi, eax
test esi, esi
je 0x41b995
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x41b9b0
lea ecx, [ebp - 0x424]
call fcn.0041e760
nop
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423c15
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00410600
int3
Function at 0x41e680
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
call fcn.004c76a7
test eax, eax
je 0x41e6db
push str.LogonWnd
push str.TitleBarWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x41e6db
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e6db
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4
Function at 0x426b70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6ee06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x121], 0
mov dword [ebp - 0x120], 0x11c
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004e7e00
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00426ab0
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x128], 0xa
jb 0x426c0a
mov byte [ebp - 0x121], 1
jmp 0x426c2c
cmp dword [ebp - 0x128], 6
jne 0x426c2c
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x426c2c
cmp dword [ebp - 0x12c], 3
jb 0x426c2c
mov byte [ebp - 0x121], 1
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423c15
mov esp, ebp
pop ebp
ret
Function at 0x42b610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42b631
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42b649
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x42b661
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42b677
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42b68f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret