joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9c37
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [esi]
call dword [eax + 0x280]
mov ebx, dword [ebp + 8]
cmp al, bl
je 0x4a9d78
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x1dc]
mov ecx, dword [esi + 0x2e8]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4a9d78
mov esi, dword [ecx + 0x330]
push edi
mov edi, esi
neg edi
lea eax, [esi - 0x318]
sbb edi, edi
and edi, eax
je 0x4a9d77
mov ecx, dword [ecx + 0x334]
test ecx, ecx
je 0x4a9d77
mov eax, dword [ebp - 4]
xor edx, edx
mov eax, dword [eax + 0x2ec]
sub eax, edx
je 0x4a9d52
sub eax, 1
je 0x4a9d43
sub eax, 1
je 0x4a9cc4
sub eax, 1
jne 0x4a9d77
test bl, bl
je 0x4a9d17
cmp dword [edi + 0x328], edx
je 0x4a9ce9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4a9ce9
test esi, esi
mov eax, 0x318
cmove esi, eax
jmp 0x4a9cf6
lea esi, [edi + 0x318]
mov ecx, esi
call fcn.004b0b41
push ebx
mov ebx, dword [ebp + 8]
mov ecx, esi
push dword [ebx + 0x334]
call fcn.004b0ca0
mov eax, dword [ebx + 0x334]
xor ecx, ecx
mov dword [edi + 0x364], eax
jmp 0x4a9d2e
push edx
lea esi, [edi + 0x318]
push ecx
mov ecx, esi
call fcn.004b0ca0
xor ecx, ecx
mov dword [edi + 0x364], ecx
mov eax, dword [edi + 0x318]
push ecx
push ecx
push ecx
push str.selectchanged
mov ecx, esi
call dword [eax + 8]
jmp 0x4a9d46
mov byte [ecx + 9], bl
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1f0]
jmp 0x4a9d77
add ecx, 0x1c
call fcn.00456e30
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x334]
test eax, eax
jle 0x4a9d73
mov byte [ecx + 0xa], bl
mov ecx, edi
call fcn.0045fff4
jmp 0x4a9d77
mov byte [ecx + 0xa], 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4acc19
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 4], 0
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x2c], eax
jne 0x4accca
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004ac992
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x10]
push 0
sub esp, 0x10
mov eax, 0x40000009
cmp dword [ebx + 0x2c], 1
mov edi, esp
lea edx, [eax - 9]
movsd dword es:[edi], dword [esi]
cmovne eax, edx
push 0
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00405460
push eax
mov ecx, ebx
call fcn.0045e03b
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.0045f702
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00459567
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x40]
lea eax, [ebp + 8]
push eax
call fcn.00458cae
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x40]
push 1
mov eax, dword [ecx]
mov edi, dword [esi]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
push eax
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
push 0x10
call fcn.004993d6
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.00511dc0
mov ecx, dword [ebx + 0x10]
add esp, 0xc
push 0x10
call fcn.004993d6
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.00511dc0
mov ecx, dword [ebx + 0x10]
add esp, 0xc
call fcn.004993d6
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 8
Function at 0x4c33c1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4c33ef
cmp eax, edi
jge 0x4c33e3
push esi
call fcn.004be7e9
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4c3412
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4c33f8
mov dword [esi + 8], edx
jmp 0x4c3427
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4c341d
xor dl, dl
jmp 0x4c3422
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4c3412
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4c345f
push str.zlib_corrupt
call fcn.004be70e
pop ecx
jmp 0x4c349f
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4c346f
push str.read_past_buffer
jmp 0x4c3457
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4c3489
push edi
push ecx
push esi
call fcn.004c66ba
add esp, 0xc
test eax, eax
je 0x4c349f
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00511dc0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x4c9fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5928c1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
inc eax
cmp ecx, eax
ja 0x4c9fdf
push 1
mov ecx, esi
call fcn.004c9a00
mov ecx, dword [esi + 8]
lea eax, [ecx - 1]
and dword [esi + 0xc], eax
mov edi, dword [esi + 0xc]
je 0x4c9fef
mov eax, dword [esi + 8]
jmp 0x4c9ff4
mov edi, dword [esi + 8]
mov eax, edi
mov ecx, dword [esi + 4]
dec edi
dec eax
and eax, edi
cmp dword [ecx + eax*4], 0
lea ebx, [eax*4]
jne 0x4ca01b
push 0x4c
call fcn.004550ff
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ebx + ecx], eax
mov ecx, dword [esi + 4]
mov ecx, dword [ebx + ecx]
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0xf
mov byte [ecx + 4], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0xf
mov dword [ebp - 4], 0
mov byte [ecx + 0x1c], 0
xor eax, eax
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 7
mov word [ecx + 0x34], ax
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004c9060
mov dword [esi + 0xc], edi
inc dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d88c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5948e7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
lea ecx, [edi + 8]
mov dword [edi], 0x5c968c
call fcn.004e31a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4d8911
inc dword [eax + 8]
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 8
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004550ff
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
push 1
push 1
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.004d87f0
mov eax, dword [edi + 0x30]
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
add eax, 0x30
add eax, edi
push eax
call fcn.004f0470
add esp, 4
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 8

Function at 0x4d89b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5948e7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
mov dword [edi], 0x5c968c
push dword [ebp + 8]
call fcn.004e31c0
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
push 0x1000
mov dword [ecx], 0
call fcn.004d80c0
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 8
mov dword [ebp + 0xc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004550ff
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
push 1
push 1
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.004d87f0
mov eax, dword [edi + 0x30]
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
add eax, 0x30
add eax, edi
push eax
call fcn.004f0470
add esp, 4
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 8
Function at 0x4d8ab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594947
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 8]
mov dword [edi], 0x5c968c
call fcn.004e3360
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
push 0x1000
mov dword [ecx], 0
call fcn.004d80c0
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004550ff
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
push 1
push 1
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.004d87f0
mov eax, dword [edi + 0x30]
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
add eax, 0x30
add eax, edi
push eax
call fcn.004f0470
add esp, 4
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 0x4dc3b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595003
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.004db4b0
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], vtable.PoDoFo::PdfObject.0
mov dword [ebp + 8], esi
call fcn.004d7e20
mov dword [esi], vtable.PoDoFo::PdfReference.0
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov ax, word [ebx + 0x24]
mov word [esi + 8], ax
cmp byte [edi + 0x13], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x18], 1
jne 0x4dc445
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
movzx eax, byte [edi + 0x12]
push eax
mov byte [edi + 0x13], 1
call dword [edx + 0xc]
movzx eax, byte [edi + 0x12]
mov ecx, edi
push eax
call fcn.004dd4e0
cmp byte [ebx + 0x13], 0
jne 0x4dc46e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, byte [ebx + 0x12]
push eax
mov byte [ebx + 0x13], 1
call dword [edx + 0xc]
mov al, byte [ebx + 0x18]
test al, al
jne 0x4dc482
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov byte [ebx + 0x18], 1
mov al, 1
mov byte [edi + 0x18], al
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 4
Function at 0x4dc820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59509e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x646384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], edi
call fcn.004de890
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004db580
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.004de990
lea esi, [edi + 0x1c]
mov dword [edi], vtable.PoDoFo::PdfObject.0
mov ecx, esi
mov dword [ebp - 0x34], esi
call fcn.004d7e20
mov ecx, dword [ebp + 8]
mov dword [esi], vtable.PoDoFo::PdfReference.0
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov ax, word [ecx + 8]
mov word [esi + 8], ax
cmp byte [edi + 0x13], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x18], 1
jne 0x4dc8dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
movzx eax, byte [edi + 0x12]
push eax
mov byte [edi + 0x13], 1
call dword [edx + 0xc]
movzx eax, byte [edi + 0x12]
mov ecx, edi
push eax
call fcn.004dd4e0
test ebx, ebx
je 0x4dc9f6
lea ecx, [ebp - 0x30]
call fcn.004d7e20
mov dword [ebp - 0x30], vtable.PoDoFo::PdfName.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, ebx
mov byte [ebp - 4], 5
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4dc920
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.004040db
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x6c]
call fcn.004db610
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
mov dword [ebp - 0x6c], vtable.PoDoFo::PdfObject.0
call fcn.004d7e20
xor eax, eax
mov dword [ebp - 0x50], vtable.PoDoFo::PdfReference.0
mov word [ebp - 0x48], ax
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x54], 1
cmp byte [ebp - 0x59], al
jne 0x4dc994
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call dword [eax + 8]
movzx eax, byte [ebp - 0x5a]
lea ecx, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 0x59], 1
call dword [eax + 0xc]
movzx eax, byte [ebp - 0x5a]
lea ecx, [ebp - 0x6c]
push eax
call fcn.004dd4e0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 9
push eax
push 0x655458
mov ecx, edi
call fcn.004cc3f0
mov ecx, eax
call fcn.004dec80
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x6c], vtable.PoDoFo::PdfObject.0
test ecx, ecx
je 0x4dc9d0
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], vtable.PoDoFo::PdfReference.0
call fcn.004d7e30
lea ecx, [ebp - 0x6c]
call fcn.004db880
lea ecx, [ebp - 0x30]
call fcn.004dda90
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 - 0x10]
xor ecx, ebp
call fcn.004553ba
mov esp, ebp
pop ebp
ret 8
Function at 0x4dcb80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595033
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
movsd xmm0, qword [ebp + 8]
sub esp, 8
movsd qword [esp], xmm0
call fcn.004db7e0
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], vtable.PoDoFo::PdfObject.0
mov dword [ebp + 0xc], esi
call fcn.004d7e20
xor eax, eax
mov dword [esi], vtable.PoDoFo::PdfReference.0
mov word [esi + 8], ax
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov byte [edi + 0x18], 1
cmp byte [edi + 0x13], al
jne 0x4dcc0f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
movzx eax, byte [edi + 0x12]
push eax
mov byte [edi + 0x13], 1
call dword [edx + 0xc]
movzx eax, byte [edi + 0x12]
mov ecx, edi
push eax
call fcn.004dd4e0
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 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5950eb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x2c]
call fcn.004de890
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004db580
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004de990
lea esi, [edi + 0x1c]
mov dword [edi], vtable.PoDoFo::PdfObject.0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004d7e20
xor eax, eax
mov dword [esi], vtable.PoDoFo::PdfReference.0
mov word [esi + 8], ax
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov byte [edi + 0x18], 1
cmp byte [edi + 0x13], al
jne 0x4dcccb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
movzx eax, byte [edi + 0x12]
push eax
mov byte [edi + 0x13], 1
call dword [edx + 0xc]
movzx eax, byte [edi + 0x12]
mov ecx, edi
push eax
call fcn.004dd4e0
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 0x4dccf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595033
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004db820
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], vtable.PoDoFo::PdfObject.0
mov dword [ebp + 0xc], esi
call fcn.004d7e20
xor eax, eax
mov dword [esi], vtable.PoDoFo::PdfReference.0
mov word [esi + 8], ax
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov byte [edi + 0x18], 1
cmp byte [edi + 0x13], al
jne 0x4dcd78
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [edi]
mov ecx, edi
movzx eax, byte [edi + 0x12]
push eax
mov byte [edi + 0x13], 1
call dword [edx + 0xc]
movzx eax, byte [edi + 0x12]
mov ecx, edi
push eax
call fcn.004dd4e0
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 8

Function at 0x4e8ad0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596526
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x5ca10c
push 1
mov dword [ebp - 4], 0
call fcn.0043e3dc
add esp, 4
mov dword [esi + 0x24], eax
mov dword [ebp - 4], 1
mov dword [esi + 0x30], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 1
test ecx, ecx
je 0x4e8b87
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push 0x78
push 0x59c3f4
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c89e0
push 0x60d424
lea eax, [ebp - 0x2c]
push eax
call fcn.00512a1a
int3
Function at 0x4e8c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59658e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x646384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x5ca10c
push 1
mov dword [ebp - 4], 0
call fcn.0043e3dc
add esp, 4
mov dword [esi + 0x24], eax
mov dword [ebp - 4], 1
mov dword [esi + 0x30], 0
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 1
test edi, edi
je 0x4e8d60
mov bl, byte [ebp + 0xc]
mov ecx, 0x5a75ec
test bl, bl
mov eax, 0x5a75f4
cmove eax, ecx
push eax
push edi
call fcn.00522a9b
add esp, 8
mov dword [esi + 8], eax
test eax, eax
je 0x4e8d8a
test bl, bl
jne 0x4e8d4a
push 2
push 0
push eax
call fcn.0052364a
add esp, 0xc
cmp eax, 0xffffffff
je 0x4e8dcd
push dword [esi + 8]
call fcn.00523c43
add esp, 4
mov dword [esi + 0x2c], eax
mov dword [esi + 4], eax
mov eax, esi
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
push 0
push 0x5a
push 0x59c3f4
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c89e0
push 0x60d424
lea eax, [ebp - 0x2c]
push eax
call fcn.00512a1a
push 0
push 0x60
push 0x59c3f4
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 3
push eax
lea ecx, [ebp - 0x2c]
call fcn.004c89e0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004e7400
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004c8930
push 0x60d424
lea eax, [ebp - 0x48]
push eax
call fcn.00512a1a
push 0x59c3f4
push 0x69
push 0x59c3f4
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 7
push eax
lea ecx, [ebp - 0x48]
call fcn.004c89e0
push 0x60d424
lea eax, [ebp - 0x48]
push eax
call fcn.00512a1a
int3
Function at 0x4e95d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
test eax, eax
je 0x4e9600
push eax
push edi
push 1
push dword [ebp + 8]
call fcn.00523e86
add esp, 0x10
cmp eax, edi
jne 0x4e96be
jmp 0x4e96a8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4e963d
mov edx, dword [esi + 0x2c]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x10]
ja 0x4e9627
push edi
push dword [ebp + 8]
lea eax, [edx + ecx]
push eax
call fcn.00511dc0
add esp, 0xc
jmp 0x4e96a8
push 0x59c3f4
mov dword [ebp + 8], 6
push 0x169
jmp 0x4e96cc
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4e9651
push 0
push edi
push dword [ebp + 8]
call fcn.0043d4b2
jmp 0x4e96a8
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4e96a8
mov eax, dword [ecx]
test eax, eax
je 0x4e9663
mov edx, dword [eax + 4]
jmp 0x4e9665
xor edx, edx
push ebx
mov ebx, dword [esi + 0x2c]
lea ecx, [ebx + edi]
mov dword [ebp + 0xc], ecx
cmp ecx, edx
mov ecx, dword [esi + 0x28]
jbe 0x4e9686
push dword [ebp + 0xc]
call fcn.004e9510
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x4e9698
cmp byte [eax + 0x31], 0
je 0x4e9695
mov eax, dword [eax + 0xc]
jmp 0x4e9698
add eax, 0x10
push edi
push dword [ebp + 8]
add eax, ebx
push eax
call fcn.00511dc0
add esp, 0xc
pop ebx
add dword [esi + 0x2c], edi
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 4]
jbe 0x4e96b6
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
mov dword [ebp + 8], 5
push 0x15e
push 0x59c3f4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004c89e0
push 0x60d424
lea eax, [ebp - 0x1c]
push eax
call fcn.00512a1a
int3