Function at 0x5aeee1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
mov dword [0x67d240], ebx
jl 0x5af50f
mov esi, dword [esp + 0x14]
cmp esi, 0xfa0
jl 0x5af50f
cmp esi, 0xffff
jg 0x5af50f
cmp edi, 0x400
jg 0x5af50f
call fcn.005af522
mov eax, dword [str.pHYs]
mov byte [eax + 0x20], bl
call fcn.005b1a42
mov ecx, dword [str.pHYs]
mov dword [ecx + 0x1c], eax
mov eax, dword [str.pHYs]
mov dword [0x67d240], ebx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x14f8], 0x100
mov eax, dword [str.pHYs]
mov dword [eax + 0x14d8], edi
mov eax, dword [str.pHYs]
mov edi, 0xff
mov dword [eax + 0x38], esi
mov eax, dword [str.pHYs]
mov dword [eax + 8], ecx
mov eax, dword [str.pHYs]
mov dword [eax + 0x14ec], 0x10
mov eax, dword [str.pHYs]
mov dword [eax + 0x10], edi
call fcn.005b07bd
call fcn.005b17e6
mov eax, dword [str.pHYs]
push dword [eax + 4]
call fcn.005aee55
mov eax, dword [str.pHYs]
xor ebp, ebp
inc ebp
push esi
mov eax, dword [eax]
mov dword [eax], ebp
mov eax, dword [str.pHYs]
mov eax, dword [eax]
mov dword [eax + 4], ebp
mov eax, dword [str.pHYs]
mov byte [eax + 0xc], bl
mov eax, dword [str.pHYs]
mov eax, dword [eax]
call dword [eax + 0x10]
test al, al
pop ecx
je 0x5af519
mov eax, dword [str.pHYs]
mov ecx, dword [eax]
cmp dword [ecx], ebx
je 0x5aeffd
call dword [ecx + 0x30]
cmp al, bl
mov eax, dword [str.pHYs]
je 0x5aeffd
cmp dword [eax + 4], 2
jne 0x5aeffd
dec dword [eax + 0x14dc]
mov eax, dword [str.pHYs]
mov edx, dword [eax + 0x14e8]
lea ecx, [eax + 0x14dc]
cmp dword [ecx], edx
jle 0x5af014
mov dword [ecx], edx
mov eax, dword [str.pHYs]
lea ecx, [eax + 0x14dc]
mov edx, dword [ecx]
cmp edx, dword [eax + 0x14e4]
jge 0x5af02b
mov dword [ecx], ebx
mov eax, dword [str.pHYs]
mov edx, dword [eax + 0x14e8]
lea ecx, [eax + 0x14e0]
cmp dword [ecx], edx
jle 0x5af042
mov dword [ecx], edx
mov eax, dword [str.pHYs]
lea ecx, [eax + 0x14e0]
mov edx, dword [ecx]
cmp edx, dword [eax + 0x14e4]
jge 0x5af059
mov dword [ecx], ebx
mov eax, dword [str.pHYs]
cmp dword [eax + 0x14dc], ebp
jge 0x5af06a
mov eax, dword [eax]
mov dword [eax], ebx
mov eax, dword [str.pHYs]
cmp dword [eax + 0x14e0], ebp
jge 0x5af07c
mov eax, dword [eax]
mov dword [eax + 4], ebx
mov eax, dword [str.pHYs]
cmp dword [eax + 0x3c], 0xffffffff
jne 0x5af0a1
cmp dword [eax + 4], ebp
je 0x5af095
cmp byte [eax + 0xc], bl
jne 0x5af095
mov dword [eax + 0x3c], 0x32
jmp 0x5af09c
mov dword [eax + 0x3c], 0x64
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x3c]
mov dword [eax + 0x4c], ecx
mov eax, dword [str.pHYs]
shl dword [eax + 0x3c], 1
call fcn.005bf730
test al, al
je 0x5af519
mov eax, dword [str.pHYs]
mov esi, str.tEXt
push 0x3fa
push esi
mov ecx, dword [eax + 0x14e0]
add ecx, dword [eax + 0x14dc]
add ecx, dword [eax + 0x14d8]
mov dword [eax + 0x14d4], ecx
mov eax, dword [str.pHYs]
mov eax, dword [eax + 0x14f8]
shl eax, 2
push eax
push ebx
call fcn.005b15c2
mov ecx, dword [str.pHYs]
add esp, 0x10
mov dword [ecx + 0x14f0], eax
mov eax, dword [str.pHYs]
cmp dword [eax + 0x14f0], ebx
je 0x5af150
mov ecx, dword [eax + 0x14ec]
push 0x406
add ecx, dword [eax + 0x14d4]
push esi
imul ecx, ecx, 0x1dc
push ecx
push ebx
call fcn.005b15c2
mov ecx, dword [str.pHYs]
add esp, 0x10
mov dword [ecx + 0x14a8], eax
mov eax, dword [str.pHYs]
cmp dword [eax + 0x14a8], ebx
jne 0x5af15f
mov dword [0x67d240], 0xc
jmp 0x5af519
mov dword [eax + 0x14c8], ebx
mov eax, dword [str.pHYs]
xor ebp, ebp
mov ecx, dword [eax + 0x14d8]
dec ecx
mov dword [eax + 0x14cc], ecx
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x14cc]
inc ecx
mov dword [eax + 0x14b0], ecx
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x14dc]
mov edx, dword [eax + 0x14b0]
lea ecx, [ecx + edx - 1]
mov dword [eax + 0x14b4], ecx
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x14b4]
inc ecx
mov dword [eax + 0x14bc], ecx
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x14e0]
mov edx, dword [eax + 0x14bc]
lea ecx, [ecx + edx - 1]
mov dword [eax + 0x14c0], ecx
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x14bc]
mov dword [eax + 0x14c4], ecx
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x14b0]
mov dword [eax + 0x14b8], ecx
mov eax, dword [str.pHYs]
mov ecx, dword [eax + 0x14c8]
mov dword [eax + 0x14d0], ecx
mov eax, dword [str.pHYs]
cmp dword [eax + 0x14d4], ebx
jle 0x5af2eb
mov dword [esp + 0x18], ebx
mov esi, dword [eax + 0x14a8]
add esi, dword [esp + 0x18]
push esi
mov dword [esi + 0x10], ebp
call fcn.005c3ecc
mov eax, dword [str.pHYs]
pop ecx
push esi
cmp ebp, dword [eax + 0x14d8]
jge 0x5af244
call fcn.005bfc2b
jmp 0x5af249
mov eax, dword [eax]
call dword [eax + 0x1c]
fld1
xor eax, eax
pop ecx
fstp dword [esi + 0x7c]
fld1
inc eax
push esi
fstp dword [esi + 0xbc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], 0xac44
mov dword [esi + 0x1c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x24], 0x80
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], eax
mov dword [esi + 0xc0], 0x49742400
call dword [esi + 0x180]
push esi
call dword [esi + 0x190]
push edi
push esi
call dword [esi + 0x19c]
push 0xac44
push esi
call dword [esi + 0x194]
push ebx
push 0x80
push esi
call dword [esi + 0x1a0]
mov eax, dword [str.pHYs]
add dword [esp + 0x3c], 0x1dc
add esp, 0x24
inc ebp
cmp ebp, dword [eax + 0x14d4]
jl 0x5af21b
mov ebp, dword [eax + 0x14d4]
mov ecx, dword [eax + 0x14ec]
add ecx, ebp
cmp ebp, ecx
jge 0x5af352
mov ecx, ebp
imul ecx, ecx, 0x1dc
mov dword [esp + 0x18], ecx
jmp 0x5af30f
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + 0x14a8]
add esi, ecx
push esi
call fcn.005c3ecc
push esi
call fcn.005b77fd
and dword [esi + 0x3c], 0xffffffbf
push esi
mov dword [esi + 0x10], ebp
call dword [esi + 0x180]
mov eax, dword [str.pHYs]
add dword [esp + 0x24], 0x1dc
add esp, 0xc
inc ebp
mov ecx, dword [eax + 0x14ec]
add ecx, dword [eax + 0x14d4]
cmp ebp, ecx
jl 0x5af30b
cmp dword [eax + 0x14d8], ebx
je 0x5af479
push 0x48e
push str.tEXt
push 0x1dc
push ebx
call fcn.005b15c2
mov ecx, dword [str.pHYs]
mov ebp, 0xfffffc18
mov dword [ecx + 0x14ac], eax
mov eax, dword [str.pHYs]
mov esi, dword [eax + 0x14ac]
push esi
mov dword [esi + 0x10], ebp
call fcn.005c3ecc
mov eax, dword [str.pHYs]
mov ecx, dword [eax]
push dword [eax + 0x14ac]
call dword [ecx + 0x1c]
push esi
call dword [esi + 0x180]
push esi
call dword [esi + 0x190]
push edi
push esi
call dword [esi + 0x19c]
push dword [esp + 0x3c]
push esi
call dword [esi + 0x194]
push ebx
push 0xffffffffffffffff
push esi
call dword [esi + 0x1a0]
mov eax, dword [esp + 0x58]
add esp, 0x3c
and eax, 4
mov dword [esi + 0xc0], 0x49742400
fld1
shl eax, 0x12
fstp dword [esi + 0xbc]
or eax, 0x84012
mov esi, eax
call fcn.005af777
cmp eax, 9
je 0x5af412
call fcn.005af777
cmp eax, 8
je 0x5af412
or esi, 0x40
jmp 0x5af415
or esi, 0x20
mov eax, dword [str.pHYs]
push edi
push 0xffffffffffffffff
push edi
push dword [esp + 0x20]
push esi
push dword [eax + 0x40]
push ebp
call fcn.005b817c
mov esi, eax
cmp esi, ebx
jne 0x5af43f
mov eax, dword [str.pHYs]
mov byte [eax + 0x20], bl
jmp 0x5af519
push edi
push 0x652948
push esi
call fcn.005b122f
mov byte [esi + 0xff], bl
mov eax, dword [str.pHYs]
add esp, 0xc
mov dword [eax + 0x14f4], esi
mov eax, dword [str.pHYs]
push esi
push ebp
mov byte [eax + 0x20], 1
call fcn.005ae37f
push 1
push ebp
call fcn.005aeb38
jmp 0x5af493
mov dword [eax + 0x14f4], ebx
mov eax, dword [str.pHYs]
mov dword [eax + 0x14ac], ebx
mov eax, dword [str.pHYs]
mov byte [eax + 0x20], 1
call fcn.005b95a0
call fcn.005bb1b0
call fcn.005c4aed
mov eax, dword [str.pHYs]
lea ecx, [eax + 0x299c]
mov esi, dword [ecx]
jmp 0x5af4cc
push dword [esi + 0x5d8]
push esi
call fcn.005c4212
mov eax, dword [str.pHYs]
mov esi, dword [esi]
pop ecx
pop ecx
lea ecx, [eax + 0x299c]
cmp esi, ecx
jne 0x5af4b1
cmp dword [eax + 0x14ac], ebx
je 0x5af4dd
call fcn.005bfa7f
call fcn.005be906
mov eax, dword [str.pHYs]
cmp dword [eax + 4], 0xd
jne 0x5af4f1
or byte [eax + 9], 2
call fcn.005aa489
test al, al
jne 0x5af506
mov dword [0x67d240], 3
jmp 0x5af519
call fcn.005af6db
mov al, 1
jmp 0x5af51b
mov dword [0x67d240], 0xe
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 0xc