joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10028820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10136148
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
push eax
call fcn.100291c0
lea edi, [esi + 0x1c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.PoDoFo::PdfObject.0
call fcn.10027fb0
mov dword [edi], vtable.PoDoFo::PdfReference.0
xor ecx, ecx
mov word [edi + 8], cx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x18], 1
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x10028c80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10136214
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
push edi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x6c]
call fcn.1002fc20
push eax
mov ecx, esi
mov dword [esp + 0xa4], 0
call fcn.100291c0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], 2
call fcn.1002f990
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [esi], vtable.PoDoFo::PdfObject.0
call fcn.10027fb0
mov eax, dword [esp + 0xa8]
mov dword [edi], vtable.PoDoFo::PdfReference.0
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov dx, word [eax + 8]
mov word [edi + 8], dx
mov eax, dword [esp + 0xac]
mov byte [esp + 0xa0], 3
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x18], 1
test eax, eax
je 0x10028d8c
push eax
lea ecx, [esp + 0x14]
call fcn.1000b570
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 4
call fcn.100286a0
lea eax, [esp + 0x34]
push eax
push 0x101c1d80
mov ecx, esi
mov byte [esp + 0xa8], 5
call fcn.10009960
mov ecx, eax
call fcn.10030240
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 4
call fcn.100280d0
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 3
call fcn.1002d6b0
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x98
ret 8
Function at 0x1002e3a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10137453
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.101231cc
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x1002e3f1
mov eax, dword [esi + 0x1c]
push eax
call fcn.101047e9
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x100333c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10137a98
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
lea eax, [esi + esi + 2]
cmp eax, ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], esi
jge 0x10033458
lea ecx, [eax + eax*2]
mov edx, dword [edi + ecx*8 + 0xc]
mov ebx, dword [edi + ecx*8 - 0xc]
lea ecx, [edi + ecx*8]
cmp edx, ebx
jne 0x1003341e
mov dx, word [ecx + 8]
cmp dx, word [ecx - 0x10]
sbb ecx, ecx
neg ecx
test cl, cl
je 0x10033427
dec eax
lea edx, [esi + esi*2]
lea ecx, [eax + eax*2]
mov esi, dword [edi + ecx*8 + 0xc]
lea ecx, [edi + ecx*8]
lea edx, [edi + edx*8]
mov dword [edx + 0xc], esi
mov si, word [ecx + 8]
mov word [edx + 8], si
mov esi, dword [ecx + 0x10]
mov dword [edx + 0x10], esi
mov ecx, dword [ecx + 0x14]
mov esi, eax
lea eax, [eax + eax + 2]
cmp eax, ebp
mov dword [edx + 0x14], ecx
jl 0x10033404
jne 0x10033485
lea edx, [ebp + ebp*2]
lea eax, [edi + edx*8 - 0x18]
mov edx, dword [eax + 0xc]
lea ecx, [esi + esi*2]
lea ecx, [edi + ecx*8]
mov dword [ecx + 0xc], edx
mov dx, word [eax + 8]
mov word [ecx + 8], dx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
lea esi, [ebp - 1]
sub esp, 0x18
mov ebx, esp
mov ecx, ebx
mov dword [esp + 0x44], esp
call fcn.10027fb0
mov dword [ebx], vtable.PoDoFo::PdfReference.0
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0xc], ecx
mov dx, word [esp + 0x50]
mov word [ebx + 8], dx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
push edx
mov dword [ebx + 0x10], eax
mov ecx, dword [esp + 0x60]
push esi
push edi
mov dword [ebx + 0x14], ecx
call fcn.10033040
add esp, 0x24
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x30], vtable.PoDoFo::PdfReference.0
call fcn.10027fc0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10033500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10137a98
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
lea eax, [edi + edi + 2]
cmp eax, ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], edi
jge 0x1003358f
mov ecx, eax
shl ecx, 4
mov edx, dword [ecx + esi + 0xc]
mov ebx, dword [ecx + esi - 4]
add ecx, esi
cmp edx, ebx
jne 0x1003355f
mov dx, word [ecx + 8]
cmp dx, word [ecx - 8]
sbb ecx, ecx
neg ecx
test cl, cl
je 0x10033568
dec eax
mov ecx, eax
shl ecx, 4
mov edx, edi
mov edi, dword [ecx + esi + 0xc]
add ecx, esi
shl edx, 4
add edx, esi
mov dword [edx + 0xc], edi
mov cx, word [ecx + 8]
mov edi, eax
lea eax, [eax + eax + 2]
cmp eax, ebp
mov word [edx + 8], cx
jl 0x10033544
jne 0x100335b1
mov edx, ebp
shl edx, 4
mov ecx, dword [edx + esi - 4]
lea eax, [edx + esi - 0x10]
shl edi, 4
add edi, esi
mov dword [edi + 0xc], ecx
mov dx, word [eax + 8]
mov word [edi + 8], dx
lea edi, [ebp - 1]
sub esp, 0x10
mov ebx, esp
mov ecx, ebx
mov dword [esp + 0x3c], esp
call fcn.10027fb0
mov edx, dword [esp + 0x38]
mov dword [ebx], vtable.PoDoFo::PdfReference.0
mov eax, dword [esp + 0x4c]
push edx
mov dword [ebx + 0xc], eax
mov cx, word [esp + 0x4c]
push edi
push esi
mov word [ebx + 8], cx
call fcn.100330e0
add esp, 0x1c
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x30], vtable.PoDoFo::PdfReference.0
call fcn.10027fc0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x100336f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10137ac8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov dword [eax + 0xc], ecx
mov dx, word [edi + 8]
mov esi, esp
mov ecx, esi
mov dword [esp + 0x24], 0
mov word [eax + 8], dx
mov dword [esp + 0x2c], esp
call fcn.10027fb0
mov edx, dword [esp + 0x30]
sub edx, edi
mov dword [esi], vtable.PoDoFo::PdfReference.0
mov eax, dword [esp + 0x44]
sar edx, 4
push edx
mov dword [esi + 0xc], eax
mov cx, word [esp + 0x44]
push 0
push edi
mov word [esi + 8], cx
call fcn.10033500
add esp, 0x1c
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x28], vtable.PoDoFo::PdfReference.0
call fcn.10027fc0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x1003a070
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
xor esi, esi
test eax, eax
je 0x1003a0da
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push eax
push 1
push ecx
call fcn.101085b5
mov edx, dword [edi + 8]
push edx
mov esi, eax
call fcn.101082e1
add esp, 0x14
test eax, eax
je 0x1003a1e7
push 0
push 0x128
push str.......podofo_0.9.6_src_basePdfOutputDevice.cpp
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 4
call fcn.10021720
push 0x101a8490
lea ecx, [esp + 0x14]
push ecx
call fcn.10104e7f
mov edx, dword [edi + 0xc]
test edx, edx
je 0x1003a113
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 4]
cmp ecx, eax
ja 0x1003a1e7
sub eax, ecx
cmp eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
jb 0x1003a103
lea eax, [esp + 0x40]
mov esi, dword [eax]
push esi
add ecx, edx
mov edx, dword [esp + 0x40]
push ecx
push edx
jmp 0x1003a1df
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x1003a1aa
lea eax, [esp + 0x10]
push eax
call fcn.10039480
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [eax + 8]
add ebx, dword [eax]
push ecx
mov ecx, dword [edi + 0x18]
push 0xffffffffffffffff
push edx
call fcn.10039c10
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
test byte [edx + ecx + 8], 6
je 0x1003a18b
mov edx, dword [eax + 4]
test byte [edx + ecx + 8], 1
jne 0x1003a18b
push 0
push 0x138
push str.......podofo_0.9.6_src_basePdfOutputDevice.cpp
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 4
call fcn.10021720
push 0x101a8490
lea ecx, [esp + 0x14]
push ecx
call fcn.10104e7f
lea edx, [esp + 0x10]
push edx
call fcn.10039480
mov esi, dword [eax + 8]
sub esi, ebx
add esi, dword [eax]
add dword [edi + 0x28], esi
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x1003a1e7
mov ebx, dword [edi + 0x28]
mov eax, dword [edi + 4]
cmp ebx, eax
ja 0x1003a1e7
sub eax, ebx
cmp eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
jb 0x1003a1cf
lea eax, [esp + 0x40]
mov esi, dword [eax]
push esi
call fcn.100058a0
add eax, ebx
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.10105350
add esp, 0xc
add dword [edi + 0x28], esi
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x2c
ret 8
Function at 0x1003a200
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push edi
mov edi, dword [esp + 0x38]
test eax, eax
je 0x1003a25c
push eax
mov eax, dword [esp + 0x38]
push edi
push 1
push eax
call fcn.10107d64
add esp, 0x10
cmp eax, edi
je 0x1003a312
push 0
push 0x150
push str.......podofo_0.9.6_src_basePdfOutputDevice.cpp
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 5
call fcn.10021720
push 0x101a8490
lea edx, [esp + 0xc]
push edx
call fcn.10104e7f
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1003a2b0
mov eax, dword [esi + 0x28]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x10]
ja 0x1003a27c
mov edx, dword [esp + 0x34]
push edi
push edx
add eax, ecx
push eax
jmp 0x1003a30a
push str.Allocated_buffer_to_small_for_PdfOutputDevice._Cannot_write_
push 0x15b
push str.......podofo_0.9.6_src_basePdfOutputDevice.cpp
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 6
call fcn.10021720
push 0x101a8490
lea ecx, [esp + 0xc]
push ecx
call fcn.10104e7f
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1003a2c4
mov edx, dword [esp + 0x34]
push edi
push edx
call fcn.10039f60
jmp 0x1003a312
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1003a312
mov eax, dword [ecx]
test eax, eax
je 0x1003a2d6
mov edx, dword [eax + 4]
jmp 0x1003a2d8
xor edx, edx
mov eax, dword [esi + 0x28]
add eax, edi
cmp eax, edx
jbe 0x1003a2e7
push eax
call fcn.100058c0
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
test eax, eax
je 0x1003a2fe
cmp byte [eax + 0x31], 0
je 0x1003a2fb
mov eax, dword [eax + 0xc]
jmp 0x1003a2fe
add eax, 0x10
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x28]
push edi
push ecx
add edx, eax
push edx
call fcn.10105350
add esp, 0xc
add dword [esi + 0x28], edi
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 4]
jbe 0x1003a320
mov dword [esi + 4], eax
pop edi
pop esi
add esp, 0x28
ret 8
Function at 0x1003a9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101381c8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.100066f0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
xor ebx, ebx
sub ecx, edi
mov dword [esp + 0x5c], ebx
jne 0x1003aa41
call fcn.10104a22
mov edi, dword [esp + 0x20]
mov al, byte [esp + 0x74]
mov ecx, dword [esp + 0x68]
cmp al, 0x6e
jne 0x1003aa65
mov edx, dword [esi + 0x30]
mov ebp, dword [esp + 0x78]
cmp ebp, dword [edx + 0x28]
jne 0x1003aa63
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edx
cmp al, 0x6e
sete dl
mov byte [edi], dl
cmp al, 0x6e
jne 0x1003aa72
xor eax, eax
jmp 0x1003aa77
movzx eax, word [esp + 0x70]
mov edx, dword [esi + 0x58]
push ecx
mov byte [edi + edx - 1], al
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 1], eax
mov ecx, dword [esi + 0x30]
mov ebp, dword [esi + 0x58]
call fcn.10028a40
cmp byte [eax + 8], bl
jne 0x1003aad2
push str.Append___failed_because_BeginAppend___was_not_yet_called_
push 0x14f
push 0x1014682c
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x84], 8
call fcn.10021720
push 0x101a8490
lea ecx, [esp + 0x30]
push ecx
call fcn.10104e7f
mov edx, dword [eax]
push ebp
mov ecx, eax
mov eax, dword [edx + 0x20]
push edi
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1003aaee
push eax
call fcn.101047e9
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.101047e9
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18
Function at 0x1003b270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10138317
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push esi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x9c]
push eax
push str.Pages
call fcn.1003ad60
push 0
lea ecx, [esi + 8]
mov dword [esp + 0x98], 0
mov dword [esi], vtable.PoDoFo::PdfPagesTree.0
call fcn.10042ca0
lea ecx, [esp + 0x68]
mov byte [esp + 0x94], 1
call fcn.100088a0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 2
call fcn.100287a0
push str.Kids
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 3
call fcn.1000b570
mov ecx, dword [esi + 4]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x9c], 4
call fcn.10009960
mov ecx, eax
call fcn.10030240
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 3
call fcn.1002d6b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 2
call fcn.100280d0
lea ecx, [esp + 0x68]
mov byte [esp + 0x94], 1
call fcn.10008540
push str.Count
lea ecx, [esp + 0x10]
call fcn.1000b570
push 0
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 5
call fcn.10028510
mov ecx, dword [esi + 4]
push eax
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x9c], 6
call fcn.10009960
mov ecx, eax
call fcn.10030240
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 5
call fcn.100280d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x94], 1
call fcn.1002d6b0
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x90
ret 4

Function at 0x1003d230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101385ee
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.1003d030
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1003d27c
push eax
call fcn.1004c4c0
add esp, 4
mov dword [esi + 0x30], 0
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
call fcn.10043070
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 0
call fcn.1003cfd0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.1003cfd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1003d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1013865e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push esi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x1003d841
cmp eax, 0x5a
je 0x1003d841
cmp eax, 0xb4
je 0x1003d841
cmp eax, 0x10e
je 0x1003d841
push 0
push 0x13c
push str.......podofo_0.9.6_srcdocPdfPage.cpp
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x18], 7
call fcn.10021720
push 0x101a8490
lea ecx, [esp + 0x84]
push ecx
call fcn.10104e7f
cdq
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.10028f90
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb4], 0
call fcn.10028490
push str.Rotate
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 1
call fcn.1000b570
mov ecx, dword [esi + 4]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0xb8], 2
call fcn.10009960
mov ecx, eax
call fcn.10030240
lea ecx, [esp + 0xc]
mov byte [esp + 0xb0], 1
call fcn.1002d6b0
lea ecx, [esp + 0x48]
mov byte [esp + 0xb0], 0
call fcn.100280d0
lea ecx, [esp + 0x30]
mov dword [esp + 0xb0], 0xffffffff
call fcn.10029250
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xac
ret 4
Function at 0x1003fc70
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1003fc95
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push 0xffffffffffffffff
push edx
call fcn.10039c10
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
pop esi
ret 8
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
push edx
push 1
push eax
call fcn.101085b5
add esp, 0x10
pop esi
ret 8

Function at 0x10043190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10138fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x101be8d0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
push eax
push 0
call fcn.1003ad60
mov eax, dword [esi + 4]
add eax, 0x1c
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 0
mov dword [esi], vtable.PoDoFo::PdfContents.0
call fcn.10028720
push str.Contents
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.1000b570
mov ecx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x7c], 2
call fcn.10009960
mov ecx, eax
call fcn.10030240
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 1
call fcn.1002d6b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0
call fcn.100280d0
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x6c
ret 4
Function at 0x10057850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x198
push ebx
mov ebx, eax
mov eax, dword [ecx]
add eax, eax
add eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, dword [edx]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov edx, dword [ebx]
add edx, edx
push ebp
add edx, edx
push esi
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 4]
push edi
mov edi, dword [esp + 0x1ac]
mov ebx, dword [edi + 0x74]
mov ebp, dword [edi + 0x54]
mov dword [esp + 0x38], ebx
mov ebx, dword [edi + 0x78]
add eax, eax
add eax, eax
mov dword [esp + 0x3c], ebx
add ecx, ecx
add edx, edx
mov ebx, eax
sar ebx, 8
add ecx, ecx
add edx, edx
cmp ebx, ebp
lea esi, [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ebx
jl 0x100578e5
mov ebx, ecx
sar ebx, 8
cmp ebx, ebp
jl 0x100578e1
mov ebx, edx
sar ebx, 8
cmp ebx, ebp
jl 0x100578e1
mov ebx, dword [esp + 0x3c]
sar ebx, 8
cmp ebx, ebp
jge 0x10057905
mov ebx, dword [esp + 0x10]
mov ebp, dword [edi + 0x50]
cmp ebx, ebp
jge 0x10057920
sar ecx, 8
cmp ecx, ebp
jge 0x10057920
sar edx, 8
cmp edx, ebp
jge 0x10057920
mov ecx, dword [esp + 0x3c]
sar ecx, 8
cmp ecx, ebp
jge 0x10057920
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x74], ecx
mov dword [edi + 0x78], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret
mov ebp, dword [esi]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x1c]
sub ecx, ebp
sub edx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
test ecx, ecx
jge 0x1005793d
neg ecx
test edx, edx
jge 0x10057943
neg edx
cmp ecx, edx
jle 0x10057951
lea eax, [edx + edx*2]
sar eax, 3
add eax, ecx
jmp 0x10057959
lea eax, [ecx + ecx*2]
sar eax, 3
add eax, edx
cmp eax, 0x7fff
jg 0x10057a25
mov edi, dword [esi + 8]
imul eax, eax, 0x2a
mov ebx, dword [esi + 0xc]
sub ebx, dword [esi + 4]
sub edi, ebp
mov edx, edi
imul edx, dword [esp + 0x14]
mov ecx, ebx
imul ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, edx
sub eax, ecx
jns 0x1005798e
sub ecx, edx
jmp 0x10057990
mov ecx, eax
cmp ecx, dword [esp + 0x10]
jg 0x10057a25
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 4]
sub eax, ebp
mov edx, eax
imul edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
imul ecx, dword [esp + 0x18]
mov ebp, edx
sub ebp, ecx
jns 0x100579bf
sub ecx, edx
jmp 0x100579c1
mov ecx, ebp
cmp ecx, dword [esp + 0x10]
jg 0x10057a25
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, ebx
sub ecx, ebp
imul ecx, ebx
mov ebx, edi
sub ebx, edx
imul ebx, edi
add ecx, ebx
test ecx, ecx
jg 0x10057a25
mov ecx, dword [esp + 0x1c]
mov edi, ecx
sub edi, ebp
imul edi, ecx
mov ecx, eax
sub ecx, edx
imul ecx, eax
add edi, ecx
test edi, edi
jg 0x10057a25
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x1b4]
call fcn.10057310
lea edx, [esp + 0x28]
add esp, 8
cmp esi, edx
je 0x1005790f
sub esi, 0x18
jmp 0x10057920
mov ecx, esi
call fcn.100577a0
add esi, 0x18
jmp 0x10057920
Function at 0x10068270
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x18]
movzx esi, word [esi]
push edi
mov edi, dword [esp + 0x18]
mov ebx, dword [edi]
mov dword [esp + 0xc], ebx
cmp ebx, ecx
jb 0x10068294
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
sub ecx, ebx
cmp eax, ecx
jbe 0x1006829c
mov eax, ecx
xor ecx, ecx
test eax, eax
jbe 0x100682e1
push ebp
sub ebx, edx
mov ebp, eax
mov dword [esp + 0x14], eax
jmp 0x100682b0
movzx edi, byte [ebx + edx]
mov ecx, esi
shr ecx, 8
xor ecx, edi
add edi, esi
imul edi, edi, 0x3193
mov esi, 0x58bf
sub esi, edi
mov byte [edx], cl
and esi, 0xffff
inc edx
sub ebp, 1
jne 0x100682b0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop ebp
mov edx, dword [esp + 0x1c]
add ebx, eax
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
pop edi
mov word [edx], si
pop esi
mov eax, ecx
pop ebx
add esp, 8
ret