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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x513580
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
test edi, edi
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
je 0x510d23
cmp word [edi], 0
je 0x510d23
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x510c60
sub esp, 0xc
mov al, byte [ebp - 0x20]
lea ecx, [ebp - 0x228]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
jmp 0x510c85
mov eax, esi
mov dword [ebp - 0x218], esi
lea ecx, [ebp - 0x228]
add eax, esi
push eax
push edi
push ecx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x228], 0
lea eax, [ebp - 0x228]
mov dword [ebp - 0x10], 1
push 0
push eax
call fcn.00429aa0
add esp, 8
test al, al
jne 0x510cbe
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x510cbe
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne bl
jmp 0x510cc0
xor ebx, ebx
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x510cfd
mov eax, dword [ebp - 0x228]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x510cf3
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x510d63
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
test bl, bl
je 0x510d23
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push 0x104
lea esi, [ebp - 0x228]
push esi
call fcn.005cfe48
add esp, 0xc
test eax, eax
je 0x510d3a
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
push str.Common
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x510d23
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x510d23
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne al
jmp 0x510d25
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x510dc4
mov eax, dword [ebp - 0x228]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x510dba
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x510dc9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.006207e0
int3
Function at 0x5137b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ecx + 4]
mov dword [ecx], 0
mov esi, ecx
mov dword [ecx + 4], 0
push eax
push 0
push ecx
push 0x513800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x6d27f4], eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x51fef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5203e0
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], esi
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ebp - 0x10], 0
push 0x34
call fcn.005d0220
add esp, 4
mov ebx, dword [ebp - 0x20]
mov edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, edx
mov dword [ebx + 4], edx
mov edi, dword [eax]
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov eax, ebx
mov esi, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
jbe 0x51ff68
mov edi, dword [edi]
add edx, 0x10
cmp esi, 7
ja 0x51ff8e
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov edi, 7
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
mov edx, ecx
jmp 0x520020
mov dword [ebp - 0x2c], edx
mov edx, esi
mov dword [ebp - 0x34], ecx
mov ecx, 0x7ffffffe
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edi
or edx, 7
cmp edx, 0x7ffffffe
mov dword [ebp - 0x24], edx
cmovb ecx, edx
lea edx, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x51ffe7
cmp ecx, 0x7fffffee
jae 0x52006e
add edx, 0x25
mov dword [ebp - 0x10], 1
push edx
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x51fffa
add edx, 2
mov dword [ebp - 0x10], 1
push edx
call fcn.005d0220
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov dword [ecx], eax
lea ecx, [esi + esi + 2]
push ecx
push edx
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 4]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov ecx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [eax + 4]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [ebp - 0x10], 1
call fcn.005e8c60
nop word [eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
test eax, eax
je 0x52009c
push 0x34
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
Function at 0x526f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x6ccc30]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
xor eax, ebp
test esi, esi
mov dword [ebp - 0x10], eax
je 0x526f73
mov dword [esi], 0
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x526f80
mov dword [ecx], 0
cmp dword [edi + 0x10], 0
je 0x52707e
push 0
push edi
call fcn.00429aa0
add esp, 8
test al, al
jne 0x52707e
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x526fa7
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52707e
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x526fc0
mov eax, dword [edi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
xor ebx, ebx
test eax, eax
je 0x527080
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
test edx, edx
cmove eax, edx
cmp dword [ecx + 0x10], 0
je 0x526ff6
cmp dword [ecx + 0x14], 8
mov ebx, ecx
jb 0x526ff6
mov ebx, dword [ecx]
mov dl, byte [ebp + 0x24]
cmp dword [edi + 0x14], 7
jbe 0x527001
mov edi, dword [edi]
test dl, dl
mov ecx, str.open
mov edx, 0x68074c
cmovne ecx, edx
push 0
push eax
push esi
push 0x6774f8
push dword [ebp + 0x1c]
push 1
push ebx
push edi
push ecx
push dword [ebp + 0x20]
call fcn.004b7be0
add esp, 0x28
test al, al
je 0x52707e
cmp dword [ebp + 0x18], 0
mov bl, 1
je 0x527080
cmp dword [ebp - 0x14], 0
je 0x527080
mov edi, dword [ebp + 8]
push 0
call fcn.00498bd0
add esp, 4
mov esi, eax
mov eax, dword [edi + 4]
mov edi, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push esi
mov esi, dword [ebp + 0x18]
push esi
push edi
push dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x527080
mov dword [esi], 0
jmp 0x527080
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
Function at 0x536630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x536b40
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [0x6d2878], ecx
jne 0x5367aa
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x28]
push 0x20019
push 0x68269c
push 0x80000002
call fcn.004098d0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x28]
push eax
push str.Path
call fcn.004075a0
test eax, eax
je 0x5367cc
lea ecx, [ebp - 0x28]
call fcn.004080a0
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x28]
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0OutlookInstallRoot
push 0x80000002
call fcn.004098d0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x28]
push eax
push str.Path
call fcn.004075a0
test eax, eax
je 0x536805
lea ecx, [ebp - 0x28]
call fcn.004080a0
mov ecx, 2
xor eax, eax
lock cmpxchg dword [0x6d2878], ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x53676d
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x536763
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x53683e
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x5367a8
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x53679e
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x53684a
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [0x6d2878], ecx
mov ecx, dword [ebp - 0x18]
cmp eax, 1
sete al
mov dword fs:[0], ecx
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x48], 0
je 0x5366d5
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
jbe 0x5367e2
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004080a0
test esi, esi
mov ecx, 1
jne 0x536728
jmp 0x5366dd
cmp dword [ebp - 0x30], 0
je 0x53671b
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
jbe 0x53681b
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004080a0
test esi, esi
mov ecx, 1
jne 0x536728
jmp 0x536723
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
nop word cs:[eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004080a0
add esp, 0xc
pop ebp
ret
Function at 0x540900
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x54c780
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
mov edi, dword [ecx + 0xc]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, dword [ecx + 4]
xor edx, eax
xor eax, eax
mov dword [ebp - 0x28], esi
imul edx, edx, 0x1000193
and edx, dword [ecx + 0x18]
mov ebx, dword [edi + edx*8 + 4]
cmp ebx, esi
je 0x540a3d
lea esi, [edi + edx*8 + 4]
add edx, edx
lea ecx, [edi + edx*4]
mov edi, dword [edi + edx*4]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
cmp edx, dword [ebx + 8]
je 0x5409cd
mov dword [ebp - 0x24], esi
mov esi, ebx
nop word [eax + eax]
cmp esi, edi
je 0x540a3d
mov esi, dword [esi + 4]
cmp edx, dword [esi + 8]
jne 0x5409a0
test esi, esi
je 0x540a3d
mov edx, ecx
cmp ebx, esi
je 0x5409db
mov ecx, dword [ebp - 0x20]
cmp edi, esi
jne 0x5409ee
mov eax, dword [edi]
mov esi, edx
mov ebx, edi
jmp 0x5409ea
mov edx, ecx
mov ecx, dword [ebp - 0x20]
cmp edi, ebx
je 0x5409e5
mov eax, dword [ebx + 4]
jmp 0x5409ea
cmp edi, esi
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
jne 0x5409d6
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov dword [esi], eax
mov esi, ebx
mov eax, dword [esi]
dec dword [ecx + 8]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x540a2d
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, 0x1000
jb 0x540a23
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x540a51
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.005d319e
add esp, 8
push 0x18
push esi
call fcn.005d319e
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
call fcn.0061de80
int3
Function at 0x55eef0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x564c60
mov esi, ecx
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
je 0x55ef5e
mov eax, 0x659430
mov dword [esi], 0x659430
mov dword [esi + 0x78], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
jmp 0x55ef60
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esi + eax - 4], ecx
lea eax, [esi + 0x10]
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov dword [esi + ecx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
lea edx, [ecx - 0x18]
mov dword [esi + ecx - 4], edx
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x10], 1
add ecx, esi
push 0
push eax
mov dword [ebp - 0x20], esi
call fcn.0041fe60
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [edx + eax - 4], ecx
mov dword [edx + 0x10], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
call fcn.005d0220
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
push 1
call fcn.005dd08e
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x44], ecx
lea edx, [eax + 0x14]
lea ecx, [eax + 0x18]
mov dword [eax + 0x10], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x58], 0
mov byte [eax + 0x4d], 0
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
lea ecx, [eax + 0x28]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ecx
lea edx, [eax + 0x34]
lea ecx, [eax + 0x38]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x18], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x5c], 0
mov edx, dword [0x6d1e90]
mov ecx, dword [0x6d1e94]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], edx
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x55f830
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
cmp dword [ecx + 0x78], 0
mov esi, ecx
je 0x55f85e
cmp dword [esi + 0x7c], 0
je 0x55f85e
cmp dword [esi + 0x80], 0
je 0x55f85e
cmp dword [esi + 0x84], 0
je 0x55f85e
cmp dword [esi + 0x88], 0
jne 0x55f8d9
push str.prntvpt.dll
call fcn.00436bb0
add esp, 4
test eax, eax
je 0x55f8dd
mov edi, eax
push str.PTOpenProvider
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x78], eax
je 0x55f8dd
push str.PTConvertDevModeToPrintTicket
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x7c], eax
je 0x55f8dd
push str.PTCloseProvider
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x80], eax
je 0x55f8dd
push str.PTConvertPrintTicketToDevMode
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x84], eax
je 0x55f8dd
push str.PTReleaseMemory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 0x88], eax
je 0x55f8dd
mov al, 1
jmp 0x55f8df
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x564420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x564d60
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], esi
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ebp - 0x10], 0
push 0x44
call fcn.005d0220
add esp, 4
mov ebx, dword [ebp - 0x20]
mov edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, edx
mov dword [ebx + 4], edx
mov edi, dword [eax]
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov eax, ebx
mov esi, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
jbe 0x564498
mov edi, dword [edi]
add edx, 0x10
cmp esi, 7
ja 0x5644be
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov edi, 7
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
mov edx, ecx
jmp 0x564550
mov dword [ebp - 0x2c], edx
mov edx, esi
mov dword [ebp - 0x34], ecx
mov ecx, 0x7ffffffe
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edi
or edx, 7
cmp edx, 0x7ffffffe
mov dword [ebp - 0x24], edx
cmovb ecx, edx
lea edx, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x564517
cmp ecx, 0x7fffffee
jae 0x5645c0
add edx, 0x25
mov dword [ebp - 0x10], 1
push edx
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x56452a
add edx, 2
mov dword [ebp - 0x10], 1
push edx
call fcn.005d0220
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov dword [ecx], eax
lea ecx, [esi + esi + 2]
push ecx
push edx
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 4]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x3c], 7
mov dword [ecx + 0x38], 0
mov word [ecx + 0x28], 0
mov ecx, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [eax + 4]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [ebp - 0x10], 1
call fcn.005e8c60
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
test eax, eax
je 0x5645ec
push 0x44
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
Function at 0x57ec90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x130
mov dword [ebp - 0x13c], ecx
movzx eax, word [ebp + 8]
mov ecx, dword [0x6ccc30]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov esi, dword [0x6d3380]
push 0xf0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, 1
test eax, eax
je 0x57ee1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x57ee1d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x57ee1d
movzx ecx, word [eax]
test cx, cx
jne 0x57ed19
jmp 0x57ee1d
cmp ebx, 0xffffffff
je 0x57ee14
movzx ecx, word [edi + esi]
lea eax, [edi + esi]
test cx, cx
je 0x57ee18
movzx ebx, cx
movzx ecx, word [eax + 2]
mov esi, dword [eax + 4]
mov edi, eax
add edi, 8
cmp ecx, 0x1234
je 0x57eda0
movzx eax, cx
cmp eax, 0x403
jne 0x57ed09
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
push 3
push edi
call fcn.0057ee40
push dword [ebp - 0x114]
push 0
push 0x143
push ebx
mov eax, dword [ebp - 0x13c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ebx, eax
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x57ed00
push eax
call fcn.005d31b1
add esp, 4
jmp 0x57ed00
lea eax, [ebp - 0x110]
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
push 3
push edi
call fcn.0057ee40
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
cmp eax, ecx
mov dword [ebp - 0x130], eax
je 0x57eded
push eax
call fcn.005d31b1
add esp, 4
lea eax, [ebp - 0x138]
push eax
push 0
push 0x40b
push ebx
mov eax, dword [ebp - 0x13c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
jne 0x57ed09
xor edi, edi
jmp 0x57ee1d
mov edi, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov eax, edi
add esp, 0x130
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x57fbf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
call fcn.00575250
push 5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x57fc36
mov esi, eax
push 0xf0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x57fc3a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
jmp 0x57fc3c
xor esi, esi
jmp 0x57fcb4
xor ebx, ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x57fc9f
mov esi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x57fc9f
mov ebx, eax
push esi
push eax
call fcn.0057ff00
add esp, 8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push eax
push edi
call fcn.0057fcc0
xor edi, edi
mov esi, eax
test eax, eax
jne 0x57fc84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x57fca9
test eax, eax
je 0x57fca9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x57fca9
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x57fcb4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret