joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100041e0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x28], edi
je 0x1000425c
cmp byte [0x1003ce0b], 0
jne 0x100041fd
cmp byte [0x1003ce0a], 0
je 0x1000423e
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10004208
mov eax, dword [eax]
push ebx
push eax
push str.CMemMappedFile__s__unmap
mov ebx, 0x1003c820
push ebx
call fcn.10007809
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x1000422d
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1000423d
push ebx
call fcn.10005ee0
pop ecx
pop ebx
cmp dword [esi + 0x2c], edi
jbe 0x10004250
push dword [esi + 0x2c]
push edi
call dword [sym.imp.kernel32.dll_FlushViewOfFile]
mov dword [esi + 0x2c], edi
push dword [esi + 0x28]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov dword [esi + 0x28], edi
pop edi
pop esi
ret

Function at 0x10004270
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x1003ce0b], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov esi, 0x1003c820
jne 0x10004292
cmp byte [0x1003ce0a], 0
je 0x100042d0
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x1000429d
mov eax, dword [eax]
push ebx
push dword [ebp + 0xc]
push eax
push str.CMemMappedFile__s__writeBytes_offset_u__length_u_
push esi
call fcn.10007809
add esp, 0x14
cmp byte [0x1003ce0a], 0
je 0x100042c0
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x100042d0
push esi
call fcn.10005ee0
pop ecx
mov ecx, dword [edi]
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1002f5c8]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
je 0x10004314
mov eax, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi]
add esp, 0xc
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1002f5c8]
mov ecx, edi
call esi
mov al, 1
jmp 0x1000436b
cmp byte [0x1003ce0b], 0
jne 0x10004326
cmp byte [0x1003ce0a], 0
je 0x10004369
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10004331
mov eax, dword [eax]
push ebx
push dword [ebp + 0xc]
mov esi, 0x1003c820
push eax
push str.CMemMappedFile__s__ERROR_WRITING__NO_MEMORY_MAPPED_FILE_
push esi
call fcn.10007809
add esp, 0x14
cmp byte [0x1003ce0a], 0
je 0x10004359
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x10004369
push esi
call fcn.10005ee0
pop ecx
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10005027
Capabilities:
Resume thread
Terminate thread

Disassembly:
push 0x10
mov eax, 0x1002c905
call fcn.1002b257
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10005169
cmp dword [eax + 8], 0
je 0x10005169
lea eax, [esi + 0x30]
mov ebx, eax
mov dword [ebp - 0x10], eax
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10007809
pop ecx
test eax, eax
jne 0x100050bc
mov esi, ebx
mov dword [ebp - 4], 1
test edi, edi
je 0x1000508e
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
or dword [ebp - 4], 0xffffffff
mov ebx, esi
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10007809
pop ecx
test eax, eax
je 0x1000507c
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10005107
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10005107
cmp dword [esi + 0x2c], 0
jne 0x10005107
push 0
push ecx
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], 1
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x24]
and dword [eax + 8], 0
mov dword [ebp - 4], 2
test edi, edi
je 0x10005169
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x10005169
mov dword [ebp - 4], 3
test edi, edi
je 0x1000511c
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x24]
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
mov dword [esi + 0x2c], ebx
push dword [eax + 0x1c]
call dword [sym.imp.kernel32.dll_SetEvent]
mov eax, dword [esi + 0x24]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [esi + 0x24]
push 0x3e8
mov edi, dword [eax + 8]
push edi
mov dword [eax + 8], ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000515b
mov dword [esi + 0x20], ebx
jmp 0x10005169
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x20], 1
call fcn.1002b220
ret
Function at 0x10007809
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10007818
pop dword [ebp - 0x18]
mov eax, 0xfeab1ec1
add eax, 0x11555957
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x99ed1a94
sub dword [ebp - 0x28], 0x4b9ad549
mov dword [ebp - 0x24], 0x4c279f5f
add dword [ebp - 0x24], 0xe60bace6
mov dword [ebp - 0x20], 0x128d2142
sub dword [ebp - 0x20], 0xc640dd14
mov dword [ebp - 0x1c], 0x537ab729
add dword [ebp - 0x1c], 0xac8548d7
lea eax, [ebp - 0x28]
push eax
mov eax, 0x2ef95b60
add eax, 0xe1099630
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc290c15a
sub dword [ebp - 0x28], 0x4e1e5804
mov dword [ebp - 0x24], 0x667e976f
sub dword [ebp - 0x24], 0x251235fa
mov dword [ebp - 0x20], 0x60a61529
add dword [ebp - 0x20], 0x2c95743
mov dword [ebp - 0x1c], 0xec5bd21c
add dword [ebp - 0x1c], 0x13a42de4
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xc3c83c49
sub eax, 0xb3c54b59
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x48b93
push 0
call eax
mov ecx, 0x222f98d6
add ecx, 0xddd0be3d
xor edi, edi
add edi, eax
mov ebx, 0xcdcb8973
add ebx, 0x4238da8d
add ebx, dword [ebp - 0x18]
mov edx, 0xbd2a3e69
xor dword [ebp - 0x10], ecx
mov esi, dword [ebx]
sub dword [ebp - 0xc], edi
add esi, edx
sub dword [ebp - 0x14], 0x9942fa45
mov dword [edi], esi
sub dword [ebp - 0x14], 0x1c7c9063
add edi, 0xedba15fc
add edi, 0x1245ea08
add ebx, 0x562f4e31
add ebx, 0xa9d0b1d3
loop 0x10007936
add eax, 0xe71dcee7
sub eax, 0xe71c7fc8
xor ebx, ebx
add ebx, eax
add eax, 0x85d37f72
add eax, 0x7a2c8093
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10014de8
Capabilities:
Parse url

Disassembly:
push 0xc
mov eax, 0x1002d84e
call fcn.1002b2c2
mov esi, ecx
mov dword [ebp - 0x14], esi
push 7
mov dword [esi], vtable.TFUrlComponents.0
xor edx, edx
pop ecx
xor eax, eax
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], ecx
mov word [esi + 0x40], ax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], eax
xor eax, eax
mov byte [esi + 0x58], dl
mov dword [ebp - 4], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], ecx
mov word [esi + 0x60], ax
mov dword [esi + 0x88], edx
mov dword [esi + 0x8c], ecx
mov word [esi + 0x78], ax
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], ecx
mov word [esi + 0x90], ax
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, 0x10
mov dword [esi + 4], 0x3c
mov dword [ebp - 0x18], eax
push 2
pop edx
mov edi, dword [eax]
inc edi
mov byte [ebp - 4], 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007809
mov dword [esi + 8], eax
pop ecx
test eax, eax
je 0x10014fbe
lea ebx, [edi + edi]
mov dword [esi + 0xc], edi
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007809
mov dword [esi + 0x14], eax
pop ecx
test eax, eax
je 0x10014fbe
push ebx
push 0
push eax
mov dword [esi + 0x18], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007809
mov dword [esi + 0x20], eax
pop ecx
test eax, eax
je 0x10014fbe
push ebx
push 0
push eax
mov dword [esi + 0x24], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007809
mov dword [esi + 0x28], eax
pop ecx
test eax, eax
je 0x10014fbe
push ebx
push 0
push eax
mov dword [esi + 0x2c], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007809
mov dword [esi + 0x30], eax
pop ecx
test eax, eax
je 0x10014fbe
push ebx
push 0
push eax
mov dword [esi + 0x34], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007809
mov dword [esi + 0x38], eax
pop ecx
test eax, eax
je 0x10014fbe
push ebx
push 0
push eax
mov dword [esi + 0x3c], edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10014f8e
mov eax, dword [eax]
lea ecx, [esi + 4]
push ecx
mov ecx, dword [ebp - 0x18]
push dword [esi + 0x5c]
push dword [ecx]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10014fbe
mov ecx, esi
call fcn.100150ca
mov ecx, esi
call fcn.10015160
mov ecx, esi
call fcn.100151cf
mov byte [esi + 0x58], 1
cmp byte [esi + 0x58], 0
jne 0x10014fde
mov ecx, esi
call fcn.10015236
jmp 0x10014fde
mov eax, esi
call fcn.1002b220
ret 8
Function at 0x100182ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x81c
mov eax, 0x1002db0f
call fcn.1002b28b
mov esi, dword [ebp + 8]
xor bl, bl
mov eax, esi
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x100182cf
mov eax, dword [esi]
xor ecx, ecx
mov edi, 0x20019
mov word [eax], cx
lea eax, [ebp - 0x828]
push eax
push edi
push ecx
push str.Outlook.Application
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10018500
lea eax, [ebp - 0x824]
push eax
push edi
push 0
push str.CurVer
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100184f4
lea eax, [ebp - 0x820]
mov dword [ebp - 0x820], 0x7d0
push eax
lea eax, [ebp - 0x7e0]
xor ecx, ecx
push eax
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], ecx
push eax
push ecx
push ecx
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100184e8
cmp dword [ebp - 0x81c], 1
jne 0x100184e8
cmp dword [ebp - 0x820], eax
je 0x100184e8
and dword [ebp - 0x7e8], eax
lea ecx, [ebp - 0x7f8]
mov word [ebp - 0x7f8], ax
lea eax, [ebp - 0x7e0]
push eax
mov dword [ebp - 0x7e4], 7
call fcn.100032cd
and dword [ebp - 4], 0
lea ecx, [ebp - 0x7f8]
or edi, 0xffffffff
push edi
push 0x10031020
call fcn.10007809
cmp eax, edi
je 0x1001846c
inc eax
cmp eax, edi
je 0x1001846c
and dword [ebp - 0x800], 0
xor ecx, ecx
push edi
push eax
lea eax, [ebp - 0x7f8]
mov word [ebp - 0x810], cx
push eax
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x7fc], 7
call fcn.10007809
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.10007809
mov eax, dword [ebp - 0x7fc]
cmp eax, 8
jb 0x1001845e
mov ecx, dword [ebp - 0x810]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x818], ecx
mov byte [ebp - 4], 1
cmp eax, 0x1000
jb 0x10018451
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.10007809
mov eax, dword [ebp - 0x814]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x818]
push eax
push ecx
call fcn.10007809
pop ecx
pop ecx
mov byte [ebp - 4], 0
push 0x100319a0
mov ecx, esi
call fcn.10013dcf
mov bl, 1
mov eax, dword [ebp - 0x7e4]
mov dword [ebp - 4], edi
cmp eax, 8
jb 0x100184ce
mov ecx, dword [ebp - 0x7f8]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x100184c2
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.10007809
mov eax, dword [ebp - 0x818]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x814]
push eax
push ecx
call fcn.10007809
pop ecx
pop ecx
mov dword [ebp - 4], edi
and dword [ebp - 0x7e8], 0
xor eax, eax
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.1002b235
ret
Function at 0x1001c1a4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1003d21c], 0
jne 0x1001c213
push ebx
call fcn.10007809
xor ebx, ebx
mov byte [0x1003d21d], al
inc ebx
test al, al
jne 0x1001c20c
call fcn.10029ac0
cmp eax, 0x6b
jl 0x1001c20c
xor eax, eax
mov byte [ebp - 2], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 2]
push eax
call fcn.10007809
add esp, 0x10
test al, al
je 0x1001c20c
movzx eax, byte [0x1003d21d]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x1003d21d], al
mov byte [0x1003d21c], bl
pop ebx
cmp byte [0x1003ce0b], 0
jne 0x1001c225
cmp byte [0x1003ce0a], 0
je 0x1001c25f
cmp byte [0x1003d21d], 0
mov ecx, str.FALSE
push esi
mov eax, str.TRUE
mov esi, 0x1003ce10
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call fcn.10007809
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x1001c25e
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x1003d21d]
leave
ret
Function at 0x1001ed91
Capabilities:
Print debug messages

Disassembly:
push 0xc
mov eax, 0x1002de58
call fcn.1002b257
cmp byte [0x1003ce0b], 0
mov ebx, 0x1003d238
jne 0x1001edb4
cmp byte [0x1003ce0a], 0
je 0x1001ede1
push str._PDFX__PDFXSendOrSave
push ebx
call fcn.10007809
cmp byte [0x1003ce0a], 0
pop ecx
pop ecx
je 0x1001edd1
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1001ede1
push ebx
call fcn.10005ee0
pop ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ebx, dword [edi + 0x20]
push dword [ebx + 0x24]
push eax
call fcn.10007809
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1001ef29
cmp word [ebx + 0x58], ax
jne 0x1001ee6b
cmp byte [0x1003ce0b], al
jne 0x1001ee1c
cmp byte [0x1003ce0a], al
je 0x1001ee4e
push str._PDFX__PDFXSendOrSave_Store
mov ebx, 0x1003d238
push ebx
call fcn.10007809
cmp byte [0x1003ce0a], 0
pop ecx
pop ecx
je 0x1001ee3e
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1001ee4e
push ebx
call fcn.10005ee0
pop ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
call fcn.10007809
jmp 0x1001ef29
cmp dword [edi + 0xc], eax
jne 0x1001ee78
xor eax, eax
inc eax
jmp 0x1001ef2b
push dword [edi + 0xc]
push dword [ebp - 0x10]
call fcn.10007809
pop ecx
pop ecx
test eax, eax
jne 0x1001ef2b
inc dword [edi + 0x38]
mov dword [ebp - 0x14], edi
and dword [ebp - 4], eax
cmp byte [0x1003ce0b], al
jne 0x1001eeb5
mov al, byte [0x1003ce0a]
test al, al
jne 0x1001eeb5
mov ebx, dword [ebp + 0x14]
mov edi, 0x1003d238
mov esi, ebx
shr esi, 1
jmp 0x1001eeda
mov ebx, dword [ebp + 0x14]
mov edi, 0x1003d238
mov esi, ebx
shr esi, 1
mov eax, esi
and eax, 1
push eax
push str._PDFX__PDFXSendOrSave_Send_waitCompleted___d
push edi
call fcn.10007809
mov al, byte [0x1003ce0a]
add esp, 0xc
test al, al
je 0x1001eee5
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1001eef5
push edi
call fcn.10005ee0
pop ecx
and esi, 1
push esi
push dword [ebp - 0x10]
call fcn.10007809
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001ef21
test bl, 4
je 0x1001ef21
call fcn.10029e75
shr eax, 0x10
mov cx, 9
cmp cx, ax
sbb eax, eax
and esi, eax
lea ecx, [ebp - 0x14]
call fcn.10007809
mov eax, esi
call fcn.1002b220
ret
Function at 0x1001ef9b
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x54
mov eax, 0x1002de82
call fcn.1002b28b
mov esi, dword [ebp + 8]
xor eax, eax
cmp word [ebp + 0x20], ax
movzx ebx, word [ebp + 0x1c]
setne al
movzx eax, ax
push eax
push esi
call fcn.10007809
pop ecx
pop ecx
test eax, eax
jne 0x1001f0fb
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001f0f8
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1001f0f8
mov eax, dword [esi + 4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], esi
inc dword [eax + 0x38]
inc dword [esi + 0x14]
and dword [ebp - 4], 0
test bx, bx
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], eax
mov eax, 0x50555348
mov dword [ebp - 0x58], 0x50455354
cmovne eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
xor eax, eax
mov word [ebp - 0x4c], ax
test bx, bx
lea eax, [esi + 0xc]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], eax
mov esi, 0x50454552
mov eax, 0x50444154
mov dword [ebp - 0x44], 4
cmovne eax, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x3c], ax
mov word [ebp - 0x2c], ax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
cmp byte [0x1003ce0b], 0
push 4
pop ecx
mov word [ebp - 0x1c], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], 0x504f4653
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x4c454e20
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jne 0x1001f081
cmp byte [0x1003ce0a], 0
je 0x1001f0cb
mov esi, dword [ebp - 0x54]
test bx, bx
mov ecx, str.kPDFXPush
mov eax, str.kPDFXPushError
cmove eax, ecx
mov ebx, 0x1003d238
push eax
push esi
push str.__lx__PDFXSendOrSave__s_
push ebx
call fcn.10007809
add esp, 0x10
cmp byte [0x1003ce0a], 0
je 0x1001f0b9
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1001f0ce
push ebx
call fcn.10005ee0
pop ecx
jmp 0x1001f0ce
mov esi, dword [ebp - 0x54]
xor eax, eax
cmp word [ebp + 0x20], ax
push 8
pop ecx
cmovne eax, ecx
push eax
push 4
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.1001ed91
add esp, 0x10
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.10007809
mov eax, esi
jmp 0x1001f0fb
push 3
pop eax
call fcn.1002b235
ret
Function at 0x1001f101
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push 0x50
mov eax, 0x1002deb6
call fcn.1002b28b
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], eax
xor eax, eax
cmp word [ebp + 0x1c], ax
setne al
movzx eax, ax
push eax
push esi
call fcn.10007809
pop ecx
pop ecx
test eax, eax
jne 0x1001f225
mov eax, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
inc dword [eax + 0x38]
inc dword [esi + 0x14]
and dword [ebp - 4], 0
xor eax, eax
mov ebx, dword [esi + 4]
mov word [ebp - 0x4c], ax
lea eax, [esi + 0xc]
mov dword [ebp - 0x48], eax
xor eax, eax
push 4
pop ecx
mov word [ebp - 0x3c], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor eax, eax
push 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x54]
push 0x7fffffff
push eax
mov dword [ebp - 0x50], 0x50525350
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x52535043
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0x52535048
mov dword [ebp - 0x28], eax
call fcn.10007809
mov dword [ebp - 0x24], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], 0x55524544
cmp byte [0x1003ce0b], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jne 0x1001f1c9
cmp byte [0x1003ce0a], 0
je 0x1001f1fd
push ebx
push str.__lx__PDFXSendOrSave_kPDFXPushResponse_
mov esi, 0x1003d238
push esi
call fcn.10007809
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x1001f1ed
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1001f1fd
push esi
call fcn.10005ee0
pop ecx
xor eax, eax
cmp word [ebp + 0x1c], ax
push 8
pop ecx
cmovne eax, ecx
push eax
push 4
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.1001ed91
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.10007809
mov eax, esi
call fcn.1002b235
ret
Function at 0x10020539
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1003c190]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1003ce0b], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1003d238
push edi
mov edi, dword [ebp + 0xc]
jne 0x10020569
cmp byte [0x1003ce0a], 0
je 0x10020598
push esi
push str.__lx__PDFXInstanceDoCommand
push ebx
call fcn.10007809
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x10020588
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x10020598
push ebx
call fcn.10005ee0
pop ecx
push 0
push esi
call fcn.10007809
pop ecx
pop ecx
test eax, eax
jne 0x1002069b
test edi, edi
je 0x10020698
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x100205c4
test ebx, ebx
je 0x10020698
xor ecx, ecx
mov dword [ebp - 0x34], 0x434d4420
test ebx, ebx
mov dword [ebp - 0x2c], edi
cmove eax, ecx
mov dword [ebp + 0x14], eax
xor eax, eax
push eax
push 0x7fffffff
push edi
mov word [ebp - 0x30], ax
call fcn.10007809
mov ecx, dword [ebp + 0x14]
add esp, 0xc
inc eax
mov dword [ebp - 0x24], 0x434d444c
mov dword [ebp - 0x28], eax
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 4
test ecx, ecx
je 0x10020625
xor eax, eax
mov dword [ebp - 0x14], 0x434d4444
mov word [ebp - 0x10], ax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
cmp byte [0x1003ce0b], 0
jne 0x10020637
cmp byte [0x1003ce0a], 0
je 0x1002066f
push edi
push esi
push str._lx__PDFXSendOrSave_kPDFXCommand__s_
mov edi, 0x1003d238
push edi
call fcn.10007809
add esp, 0x10
cmp byte [0x1003ce0a], 0
je 0x1002065c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1002066c
push edi
call fcn.10005ee0
pop ecx
mov ecx, dword [ebp + 0x14]
cmp word [ebp + 0x18], 0
push 5
pop eax
push 7
pop edx
cmovne eax, edx
push eax
xor eax, eax
test ecx, ecx
setne al
add eax, 2
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.1001ed91
add esp, 0x10
jmp 0x1002069b
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002ac90
leave
ret