Function at 0x5a2ad0
Capabilities:
Enumerate pe sections

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x188
mov edx, dword [ecx + 0x18]
mov esi, dword [ecx]
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0x14]
mov dword [ebp - 0x148], edx
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x134], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x15c], edx
mov edx, dword [esi]
mov dword [ebp - 0x138], eax
mov edi, dword [ecx + 4]
mov dword [ebp - 0x150], edx
mov edx, dword [esi + 0x50]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x140], edx
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp - 0x138]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x134]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [ebp - 0x13c], eax
mov dword [esp + 4], str.PDF:_Image_type__d_data_p_size_p_filename_s_align_d_n
mov dword [esp], 8
call fcn.004fc8f0
mov eax, dword [ebp - 0x13c]
cmp eax, 1
je 0x5a2ba0
cmp eax, 2
je 0x5a2c30
mov dword [esp + 4], str.PDF:_Image_load_error_n
mov dword [esp], 8
call fcn.004fc8f0
lea esp, [ebp - 0x10]
mov eax, 0xffffffff
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
test edi, edi
je 0x5a3368
mov eax, dword [ebp - 0x134]
lea edx, [eax - 0x12]
cmp eax, 0x12
jle 0x5a3550
xor eax, eax
jmp 0x5a2bd6
add eax, 1
cmp eax, 0x7d0
je 0x5a343f
cmp eax, edx
je 0x5a31f0
cmp dword [edi + eax], 0x73594870
jne 0x5a2bc0
fld dword [0x7d7658]
cmp byte [edi + eax + 0xc], 1
fstp dword [ebp - 0x13c]
movss xmm6, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm6
je 0x5a3218
mov eax, dword [ebp - 0x134]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call dword [0x90b524]
sub esp, 0xc
mov edi, eax
jmp 0x5a2cca
test edi, edi
je 0x5a3310
mov eax, dword [ebp - 0x134]
lea edx, [eax - 0x12]
cmp eax, 0x12
jle 0x5a31c8
xor eax, eax
jmp 0x5a2c66
add eax, 1
cmp eax, 0x7d0
je 0x5a3460
cmp edx, eax
je 0x5a31c8
cmp dword [edi + eax], 0xe0ffd8ff
jne 0x5a2c50
movzx edx, byte [edi + eax + 0xd]
cmp dl, 1
je 0x5a33c0
fld dword [0x7d7658]
fstp dword [ebp - 0x13c]
movss xmm6, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm6
cmp dl, 2
je 0x5a34fd
lea esi, [esi]
mov eax, dword [ebp - 0x134]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call dword [0x90b51c]
sub esp, 0xc
mov edi, eax
test edi, edi
je 0x5a2b75
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [0x90b54c]
sub esp, 4
cmp ax, 4
je 0x5a3130
mov dword [esp], edi
call dword [0x90b50c]
movd xmm0, eax
sub esp, 4
movq qword [ebp - 0x130], xmm0
fild qword [ebp - 0x130]
fstp dword [ebp - 0x134]
mov dword [esp], edi
call dword [0x90b508]
movd xmm0, eax
sub esp, 4
movq qword [ebp - 0x130], xmm0
fild qword [ebp - 0x130]
fst dword [ebp - 0x138]
fld st(0)
fstp qword [ebp - 0x158]
fld dword [ebp - 0x134]
fld st(0)
fstp qword [ebp - 0x150]
fld dword [ebp - 0x13c]
fstp qword [esp + 0x20]
fld dword [ebp - 0x144]
mov dword [esp + 4], str.PDF:_iWxiH___3.0f_x__3.0f__dpi___3.2f_x__3.2f_n
fstp qword [esp + 0x18]
fxch st(1)
mov dword [esp], 8
fstp qword [esp + 0x10]
fstp qword [esp + 8]
call fcn.004fc8f0
fldz
fld dword [ebp - 0x144]
fcomi st(1)
fstp st(1)
fld qword [ebp - 0x150]
fld qword [ebp - 0x158]
jbe 0x5a2dc0
fstp st(1)
fld dword [ebp - 0x134]
fdivrp st(2)
fld qword [0x7d7678]
fmulp st(2)
fxch st(1)
fmul dword [0x7d7640]
fstp dword [ebp - 0x134]
fld dword [ebp - 0x134]
jmp 0x5a2dc2
fstp st(2)
fldz
fld dword [ebp - 0x13c]
fcomi st(1)
fstp st(1)
jbe 0x5a2e00
fstp st(2)
fxch st(1)
fld dword [ebp - 0x138]
fdivrp st(1)
fld qword [0x7d7678]
fmulp st(1)
fmul dword [0x7d7640]
fstp dword [ebp - 0x138]
fld dword [ebp - 0x138]
jmp 0x5a2e04
fstp st(0)
fxch st(1)
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x5a2e3a
fild dword [ebp - 0x148]
fdiv dword [0x7d7680]
fmul st(2), st(0)
fxch st(2)
fstp dword [ebp - 0x134]
fld dword [ebp - 0x134]
fxch st(2)
fmulp st(1)
fstp dword [ebp - 0x138]
fld dword [ebp - 0x138]
mov dword [esp + 4], str.PDF:_changed_to_iWxiH___3.2f_x__3.2f_n
mov dword [esp], 8
fstp qword [esp + 0x10]
fstp qword [esp + 8]
call fcn.004fc8f0
fld dword [esi + 4]
fsub dword [esi + 0x18]
fsub dword [esi + 0x10]
fldz
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x5a2e80
fld dword [ebp - 0x134]
fcomi st(1)
ja 0x5a3190
fstp st(0)
fstp st(0)
jmp 0x5a2e82
fstp st(0)
fld dword [ebp - 0x138]
fsubr dword [esi + 0x68]
fld dword [esi + 0x14]
fcompi st(1)
fstp st(0)
ja 0x5a30c8
cmp ebx, 2
je 0x5a30fa
jg 0x5a3070
test ebx, ebx
je 0x5a3150
cmp ebx, 1
jne 0x5a2b89
fld dword [ebp - 0x134]
fsubr dword [esi + 4]
fmul dword [0x7d7628]
fst dword [ebp - 0x144]
fldz
fcomi st(1)
ja 0x5a3300
fstp st(0)
fld dword [esi + 8]
fsub dword [esi + 0xc]
fld dword [ebp - 0x138]
mov eax, dword [0x774de0]
add eax, eax
mov dword [ebp - 0x148], eax
fsub st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x13c]
fild dword [ebp - 0x148]
faddp st(1)
fsubr dword [esi + 0x68]
fstp dword [esi + 0x68]
fldz
fstp dword [esi + 0x6c]
fld dword [ebp - 0x13c]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fld dword [ebp - 0x138]
fstp qword [esp + 0x10]
fld dword [ebp - 0x134]
mov dword [esp + 4], str.PDF:_image_is__3.2f_x__3.2f__painting_at__3.2f___3.2f_n
fstp qword [esp + 8]
mov dword [esp], 8
call fcn.004fc8f0
movss xmm2, dword [ebp - 0x138]
movss dword [esp + 0x14], xmm2
movss xmm3, dword [ebp - 0x134]
movss dword [esp + 0x10], xmm3
movss xmm4, dword [ebp - 0x13c]
movss dword [esp + 0xc], xmm4
movss xmm5, dword [ebp - 0x144]
mov dword [esp + 4], edi
movss dword [esp + 8], xmm5
mov ebx, dword [ebp - 0x140]
mov dword [esp], ebx
call dword [0x90b540]
mov eax, dword [ebp - 0x15c]
sub esp, 0x18
test eax, eax
je 0x5a3052
fld dword [ebp - 0x138]
fadd dword [ebp - 0x13c]
movss xmm6, dword [ebp - 0x13c]
fstp dword [ebp - 0x140]
fld dword [ebp - 0x134]
fld dword [ebp - 0x144]
movss xmm7, dword [ebp - 0x140]
fadd st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x134]
movss xmm1, dword [ebp - 0x134]
fstp dword [ebp - 0x134]
movss xmm0, dword [ebp - 0x134]
unpcklps xmm1, xmm6
unpcklps xmm0, xmm7
movlhps xmm0, xmm1
movups xmmword [ebp - 0x128], xmm0
mov dword [esp], ebx
mov dword [esp + 0x14], eax
movups xmmword [esp + 4], xmm0
call dword [0x90b53c]
sub esp, 0x18
mov ebx, eax
test eax, eax
je 0x5a3052
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x90b510]
sub esp, 0x10
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [0x90b514]
sub esp, 8
mov dword [esp], esi
call fcn.005a0cd0
cvttss2si eax, dword [ebp - 0x138]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
cmp ebx, 3
jne 0x5a2b89
fld dword [ebp - 0x134]
fsubr dword [esi + 4]
fmul dword [0x7d7628]
fst dword [ebp - 0x144]
fldz
fcomi st(1)
ja 0x5a32f0
fstp st(0)
fld dword [esi + 0x68]
fld dword [ebp - 0x138]
fld st(0)
fsubr st(2)
fstp dword [ebp - 0x13c]
fild dword [0x774de0]
faddp st(1)
fsubp st(1)
fstp dword [esi + 0x68]
fldz
jmp 0x5a2f0c
mov dword [esp], esi
call fcn.005a2360
mov dword [esp], esi
call fcn.005a1920
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.005a0be0
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x140], eax
cmp ebx, 2
jne 0x5a2ea1
fld dword [esi + 4]
fsub dword [esi + 0x10]
fsub dword [ebp - 0x134]
fst dword [ebp - 0x144]
fldz
fcomi st(1)
ja 0x5a32d8
fstp st(0)
fld dword [ebp - 0x138]
fsubr dword [esi + 0x68]
fst dword [ebp - 0x13c]
jmp 0x5a2f0c
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [0x90b544]
sub esp, 4
jmp 0x5a2cee
fld dword [esi + 0x18]
mov eax, dword [0x774de0]
add eax, eax
fst dword [ebp - 0x144]
fld dword [esi + 0x68]
fld dword [ebp - 0x138]
mov dword [ebp - 0x148], eax
fld st(0)
fsubr st(2)
fstp dword [ebp - 0x13c]
fild dword [ebp - 0x148]
faddp st(1)
fsubp st(1)
fstp dword [esi + 0x68]
fldz
jmp 0x5a2f0c
fdivr st(1)
fmul dword [ebp - 0x138]
fst dword [ebp - 0x138]
fstp qword [esp + 0x10]
fst qword [esp + 8]
fstp dword [ebp - 0x134]
mov dword [esp + 4], str.PDF:_changed_to_iWxiH___3.2f_x__3.2f_n
mov dword [esp], 8
call fcn.004fc8f0
jmp 0x5a2e82
fld dword [0x7d7658]
fstp dword [ebp - 0x13c]
movss xmm7, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm7
jmp 0x5a2ca8
fld dword [0x7d7658]
fstp dword [ebp - 0x13c]
movss xmm7, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm7
jmp 0x5a2c06
movzx edx, byte [edi + eax + 4]
movzx ecx, byte [edi + eax + 5]
shl edx, 8
add edx, ecx
movzx ecx, byte [edi + eax + 6]
shl edx, 8
add edx, ecx
movzx ecx, byte [edi + eax + 7]
shl edx, 8
add edx, ecx
movzx ecx, byte [edi + eax + 9]
mov dword [ebp - 0x138], edx
fild dword [ebp - 0x138]
fdiv qword [0x7d7660]
movzx edx, byte [edi + eax + 8]
shl edx, 8
add edx, ecx
movzx ecx, byte [edi + eax + 0xa]
movzx eax, byte [edi + eax + 0xb]
shl edx, 8
add edx, ecx
shl edx, 8
add eax, edx
fstp dword [ebp - 0x138]
fld dword [ebp - 0x138]
mov dword [ebp - 0x138], eax
fst dword [ebp - 0x144]
fild dword [ebp - 0x138]
fdiv qword [0x7d7660]
fstp dword [ebp - 0x13c]
fld dword [0x7d7668]
fcompi st(1)
jbe 0x5a34de
fstp st(0)
fldz
fstp dword [ebp - 0x144]
fld dword [ebp - 0x13c]
fld dword [0x7d7668]
fcompi st(1)
jbe 0x5a34bf
fstp st(0)
fldz
fstp dword [ebp - 0x13c]
jmp 0x5a2c06
fstp st(1)
fld st(0)
fstp dword [ebp - 0x144]
jmp 0x5a3118
fstp st(1)
fld st(0)
fstp dword [ebp - 0x144]
jmp 0x5a309a
fstp st(1)
fld st(0)
fstp dword [ebp - 0x144]
jmp 0x5a2ed9
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
call fcn.0050c6b0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call dword [0x90b518]
fld dword [0x7d7658]
sub esp, 8
mov edi, eax
fstp dword [ebp - 0x13c]
movss xmm7, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm7
jmp 0x5a2cca
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
call fcn.0050c6b0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call dword [0x90b520]
fld dword [0x7d7658]
sub esp, 8
mov edi, eax
fstp dword [ebp - 0x13c]
movss xmm6, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm6
jmp 0x5a2cca
movzx edx, byte [edi + eax + 0xe]
movzx ecx, byte [edi + eax + 0xf]
shl edx, 8
add edx, ecx
mov dword [ebp - 0x138], edx
movzx edx, byte [edi + eax + 0x10]
fild dword [ebp - 0x138]
movzx eax, byte [edi + eax + 0x11]
shl edx, 8
add eax, edx
mov dword [ebp - 0x138], eax
fstp dword [ebp - 0x144]
fild dword [ebp - 0x138]
fstp dword [ebp - 0x13c]
fld dword [ebp - 0x144]
fld dword [0x7d7668]
fcompi st(1)
jbe 0x5a34a0
fstp st(0)
fldz
fstp dword [ebp - 0x144]
fld dword [ebp - 0x13c]
fld dword [0x7d7668]
fcompi st(1)
jbe 0x5a3481
fstp st(0)
fldz
fstp dword [ebp - 0x13c]
jmp 0x5a2ca8
fld dword [0x7d7658]
fstp dword [ebp - 0x13c]
movss xmm6, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm6
jmp 0x5a2c06
fld dword [0x7d7658]
fstp dword [ebp - 0x13c]
movss xmm6, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm6
jmp 0x5a2ca8
fld dword [0x7d766c]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x5a2ca8
fldz
fstp dword [ebp - 0x13c]
jmp 0x5a2ca8
fld dword [0x7d766c]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x5a3420
fldz
fstp dword [ebp - 0x144]
jmp 0x5a3420
fld dword [0x7d766c]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x5a2c06
fldz
fstp dword [ebp - 0x13c]
jmp 0x5a2c06
fld dword [0x7d766c]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x5a32b2
fldz
fstp dword [ebp - 0x144]
jmp 0x5a32b2
movzx edx, byte [edi + eax + 0xe]
movzx ecx, byte [edi + eax + 0xf]
shl edx, 8
add edx, ecx
mov dword [ebp - 0x138], edx
fild dword [ebp - 0x138]
fdiv qword [0x7d7670]
movzx edx, byte [edi + eax + 0x10]
movzx eax, byte [edi + eax + 0x11]
shl edx, 8
add eax, edx
mov dword [ebp - 0x138], eax
fstp dword [ebp - 0x144]
fild dword [ebp - 0x138]
fdiv qword [0x7d7670]
fstp dword [ebp - 0x13c]
jmp 0x5a3402
fld dword [0x7d7658]
fstp dword [ebp - 0x13c]
movss xmm7, dword [ebp - 0x13c]
movss dword [ebp - 0x144], xmm7
jmp 0x5a2c06