Function at 0x440250
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cebb8
mov eax, dword fs:[0]
push eax
mov eax, 0x25830
call fcn.0049df10
mov eax, dword [0x50d4cc]
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 dword [ebp - 0x25824], edx
mov edi, ecx
mov dword [ebp - 0x25810], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x25814], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x25818], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x25808], ecx
mov dword [ebp - 0x2580c], esi
mov dword [ebp - 0x25820], eax
xor ebx, ebx
mov dword [ebp - 4], 0
test edi, edi
je 0x4406c2
lea eax, [edi + 0x4c]
mov dword [ebp - 0x25804], eax
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4402e0
sub ecx, edx
mov edx, esi
lea esi, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x4402f0
sub edx, esi
mov esi, dword [ebp - 0x25814]
lea edi, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x440302
sub esi, edi
mov edi, dword [ebp - 0x25818]
lea ebx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x440314
sub edi, ebx
mov ebx, dword [ebp - 0x25820]
lea eax, [ebx + 1]
mov dword [ebp - 0x2581c], eax
lea esp, [esp]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x440330
sub ebx, dword [ebp - 0x2581c]
lea eax, [esi + 0x800]
add eax, edi
add eax, edx
add eax, ecx
xor ecx, ecx
add eax, ebx
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0048d22b
mov ecx, dword [ebp - 0x25820]
mov edi, eax
mov eax, dword [ebp - 0x25824]
push str.Jpeg2PDF_Engine_By:_HH__ihaohu_gmail.com____jpeg2pdf.sf.net
push dword [ebp - 0x25814]
push eax
push ecx
push eax
push eax
push ecx
push dword [ebp - 0x25818]
push dword [ebp - 0x25808]
push 0x4e33a0
push edi
call fcn.0048d18b
mov ecx, dword [ebp - 0x25810]
mov esi, eax
push 0x6e
mov ebx, dword [ecx + 0x320e78]
push dword [ecx + 0x320e7c]
imul eax, ebx, 0x15
push str._010d_00000__c__n
add eax, 0x199cd8
add eax, ecx
push eax
call fcn.0048d18b
mov eax, dword [ebp - 0x25810]
add esp, 0x40
push edi
push esi
push dword [eax + 0x320e78]
push str._d_0_obj_n___Type_Metadata__Subtype_XML__Length__d___nstream_n_sendstream_nendobj_n
push dword [ebp - 0x25804]
call fcn.0048d18b
push edi
mov esi, eax
call fcn.0048b8d4
mov edi, dword [ebp - 0x25810]
add dword [edi + 0x320e7c], esi
lea eax, [edi + 0x4c]
add eax, esi
mov esi, dword [ebp - 0x25824]
inc dword [edi + 0x320e78]
mov dword [ebp - 0x25804], eax
movzx eax, byte [esi + 5]
mov byte [esi + 4], al
movzx eax, byte [esi + 6]
mov byte [esi + 5], al
movzx eax, byte [esi + 8]
mov byte [esi + 6], al
movzx eax, byte [esi + 9]
mov byte [esi + 7], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 8], al
movzx eax, byte [esi + 0xc]
mov byte [esi + 9], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xb], al
movzx eax, byte [esi + 0x11]
mov byte [esi + 0xc], al
movzx eax, byte [esi + 0x12]
mov byte [esi + 0xd], al
movzx eax, byte [esi + 0x13]
mov byte [esi + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [esi + 0xf], al
movzx eax, byte [esi + 0x15]
mov byte [esi + 0x10], al
movzx eax, byte [esi + 0x17]
mov byte [esi + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [esi + 0x13], al
mov byte [esi + 0x11], 0x27
mov word [esi + 0x14], 0x27
mov eax, dword [edi + 0x320e78]
mov dword [ebp - 0x2581c], eax
imul eax, eax, 0x15
push 0x6e
push dword [edi + 0x320e7c]
push str._010d_00000__c__n
add eax, 0x199cd8
add eax, edi
push eax
call fcn.0048d18b
push esi
push esi
push dword [ebp - 0x25820]
mov esi, dword [ebp - 0x25804]
push str.Jpeg2PDF_Engine_By:_HH__ihaohu_gmail.com____jpeg2pdf.sf.net
push dword [ebp - 0x25818]
push dword [ebp - 0x25814]
push dword [ebp - 0x2580c]
push dword [ebp - 0x25808]
push dword [edi + 0x320e78]
push str._d_0_obj_n___n_Title___s__n_Author___s__n_Keywords___s__n_Subject___s__n_Producer___s__n_Creator___s__n_CreationDate__D:_s__n_ModDate__D:_s__n___nendobj_n
push esi
call fcn.0048d18b
mov ecx, dword [edi + 0x320e7c]
add esi, eax
add ecx, eax
add esp, 0x54
mov eax, dword [edi + 0x320e78]
inc eax
mov dword [edi + 0x320e7c], ecx
mov dword [edi + 0x320e78], eax
imul eax, eax, 0x15
push 0x6e
push ecx
push str._010d_00000__c__n
add eax, 0x199cd8
add eax, edi
push eax
call fcn.0048d18b
push ebx
push dword [edi + 0x320e78]
push str._d_0_obj_n___Type_Catalog__Pages_1_0_R__Metadata__d_0_R___nendobj_n
push esi
call fcn.0048d18b
mov ecx, dword [edi + 0x320e7c]
add esi, eax
add ecx, eax
mov dword [ebp - 0x25804], esi
push 0x6e
push ecx
lea eax, [edi + 0x199ced]
mov dword [edi + 0x320e7c], ecx
push str._010d_00000__c__n
push eax
call fcn.0048d18b
mov ebx, dword [edi]
add esp, 0x30
mov byte [ebp - 0x25800], 0
test ebx, ebx
je 0x4405c4
push dword [ebx + 0x14]
lea eax, [ebp - 0x410]
push str._d_0_R
push eax
call fcn.0048d18b
lea eax, [ebp - 0x410]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440581
lea edi, [ebp - 0x25800]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x440591
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx]
push ebx
call fcn.0048b8d4
add esp, 4
mov ebx, esi
test esi, esi
jne 0x440562
mov edi, dword [ebp - 0x25810]
mov esi, dword [ebp - 0x25804]
lea ecx, [ebp - 0x25800]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4405d0
sub ecx, edx
cmp ecx, 1
jbe 0x4405fc
cmp byte [ebp + ecx - 0x25801], 0x20
jne 0x4405fc
dec ecx
cmp ecx, 0x253f0
jae 0x440764
mov byte [ebp + ecx - 0x25800], al
push dword [edi + 8]
lea eax, [ebp - 0x25800]
push eax
push str.1_0_obj_n___Type_Pages__Kids___s___Count__d___nendobj_n
push esi
call fcn.0048d18b
mov ecx, dword [edi + 0x320e7c]
add esi, eax
add ecx, eax
mov eax, dword [edi + 0x320e78]
inc eax
mov dword [ebp - 0x2580c], ecx
push eax
push str.xref_n0__d_n
push esi
mov dword [edi + 0x320e7c], ecx
call fcn.0048d18b
add dword [edi + 0x320e7c], eax
add esi, eax
lea eax, [edi + 0x199cd8]
add esp, 0x1c
xor ebx, ebx
mov dword [ebp - 0x25808], eax
push eax
push 0x4dfa60
push esi
call fcn.0048d18b
add dword [edi + 0x320e7c], eax
add esi, eax
mov eax, dword [ebp - 0x25808]
inc ebx
add eax, 0x15
add esp, 0xc
mov dword [ebp - 0x25808], eax
cmp ebx, dword [edi + 0x320e78]
jbe 0x440653
mov ecx, dword [edi + 0x320e78]
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x2581c]
push ecx
push str.trailer_n___Root__d_0_R__Info__d_0_R__Size__d___n
push esi
call fcn.0048d18b
push dword [ebp - 0x2580c]
add dword [edi + 0x320e7c], eax
add eax, esi
push str.startxref_n_d_n____EOF_n
push eax
call fcn.0048d18b
add dword [edi + 0x320e7c], eax
add esp, 0x20
xor ebx, ebx
lea edx, [edi + 0xc]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4406c8
lea eax, [edi + 0x4c]
sub edx, ecx
mov esi, eax
mov dword [ebp - 0x2580c], eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4406e0
sub esi, ecx
test edx, edx
je 0x4406ff
test esi, esi
je 0x4406ff
mov ecx, dword [edi + 0x320e7c]
lea eax, [esi + edx]
cmp ecx, eax
cmova ebx, ecx
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x25828], 0xf
push eax
lea ecx, [ebp - 0x2583c]
mov dword [ebp - 0x2582c], 0
mov byte [ebp - 0x2583c], 0
call fcn.00407670
cmp dword [ebp - 0x25828], 0x10
lea eax, [ebp - 0x2583c]
push 0x4e30f4
cmovae eax, dword [ebp - 0x2583c]
push eax
call fcn.0048c21e
mov edi, eax
add esp, 8
test edi, edi
jne 0x440769
push 0x4e30e4
call fcn.0048c0ab
add esp, 4
jmp 0x440781
call fcn.0048d845
push edi
push 1
push esi
push dword [ebp - 0x2580c]
call fcn.0048c6e1
push edi
call fcn.0048c8c9
add esp, 0x14
cmp dword [ebp - 0x25828], 0x10
jb 0x440798
push dword [ebp - 0x2583c]
call fcn.0048b08b
add esp, 4
cmp dword [ebp + 0x30], 0x10
jb 0x4407a9
push dword [ebp + 0x1c]
call fcn.0048b08b
add esp, 4
mov eax, ebx
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.0048b090
mov esp, ebp
pop ebp
ret