Function at 0x10062610
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101bd59f
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x102832a0]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
mov eax, dword [0x102832a0]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov ebx, ecx
cmp dword [ebx + 0x78], 0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], esi
mov byte [esp + 0x23], 0
mov dword [esp + 0x24], 0xff
mov edi, 1
je 0x10062aea
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp eax, 6
jne 0x10062aea
mov eax, dword [esi + 8]
cmp eax, edi
je 0x100626a3
cmp eax, 3
jne 0x10062aea
cmp dword [ebp + 0x24], 0
jne 0x10062aea
mov edi, dword [ebx + 0x70]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100626b5
sub eax, edx
mov esi, eax
xor eax, eax
test esi, esi
jle 0x100626df
jmp 0x100626d0
mov cl, byte [edi + eax]
mov byte [esp + eax + 0x23c], cl
inc eax
cmp eax, esi
jl 0x100626d0
mov edx, dword [ebx + 0x7c]
push edx
mov edx, dword [ebx + 0x74]
mov byte [esp + eax + 0x240], 0
mov eax, dword [0x1029550c]
push eax
lea ecx, [esp + 0x244]
push ecx
push str._s__d__d.jpg
push edx
call fcn.10106a28
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
add esp, 0x14
push eax
push ecx
lea edx, [esp + 0x244]
push edx
lea eax, [esp + 0x648]
push str._s__d__d.jpg
push eax
call fcn.10106a28
mov eax, dword [0x1029bb2c]
add esp, 0x14
test eax, eax
jne 0x10062760
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x244]
push eax
push str._s__d__d.png
lea ecx, [esp + 0x44c]
push ecx
jmp 0x10062932
cmp eax, 1
jne 0x10062781
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x244]
push ecx
push str._s__d__d.bmp
jmp 0x1006292a
cmp eax, 2
jne 0x100627ab
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x244]
push edx
push str._s__d__d.j2k
lea eax, [esp + 0x44c]
push eax
jmp 0x10062932
cmp eax, 3
jne 0x100627d5
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x244]
push eax
push str._s__d__d.jp2
lea ecx, [esp + 0x44c]
push ecx
jmp 0x10062932
cmp eax, 4
jne 0x100627f6
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x244]
push ecx
push str._s__d__d.jpc
jmp 0x1006292a
cmp eax, 5
jne 0x10062820
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x244]
push edx
push str._s__d__d.jpg
lea eax, [esp + 0x44c]
push eax
jmp 0x10062932
cmp eax, 6
jne 0x1006284a
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x244]
push eax
push str._s__d__d.pcx
lea ecx, [esp + 0x44c]
push ecx
jmp 0x10062932
cmp eax, 7
je 0x10062913
cmp eax, 8
jne 0x1006287d
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x244]
push edx
push str._s__d__d.pnm
lea eax, [esp + 0x44c]
push eax
jmp 0x10062932
cmp eax, 9
jne 0x100628a7
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x244]
push eax
push str._s__d__d.ras
lea ecx, [esp + 0x44c]
push ecx
jmp 0x10062932
cmp eax, 0xa
jne 0x100628c5
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x244]
push ecx
push str._s__d__d.tga
jmp 0x1006292a
cmp eax, 0xb
jne 0x100628ec
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x244]
push edx
push str._s__d__d.tif
lea eax, [esp + 0x44c]
push eax
jmp 0x10062932
cmp eax, 0xc
jne 0x10062913
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x244]
push eax
push str._s__04d__04d.tif
lea ecx, [esp + 0x44c]
push ecx
jmp 0x10062932
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x244]
push ecx
push str._s__d__d.png
lea edx, [esp + 0x44c]
push edx
call fcn.10106a28
mov eax, dword [ebx + 0x74]
inc dword [ebx + 0x7c]
add esp, 0x14
push 0x1025da90
push eax
call fcn.10106a11
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006296d
mov ecx, dword [ebx + 0x74]
push ecx
push str.Couldnt_open_image_file__s
or edx, 0xffffffff
call fcn.1001d950
add esp, 8
jmp 0x100634d3
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 8]
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
je 0x100629a8
jmp 0x10062990
push edi
push eax
call fcn.1010af48
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add esp, 8
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x10062990
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push edi
call fcn.10106b5b
add esp, 4
cmp dword [0x1029bb2c], 5
je 0x100634d3
lea eax, [esp + 0x63c]
push eax
call fcn.10109d58
add esp, 4
push 0x1025dab4
call fcn.100c5600
mov edi, eax
add esp, 4
test edi, edi
je 0x100634d3
lea ecx, [esp + 0x43c]
push ecx
call fcn.10109d58
add esp, 4
lea esi, [esp + 0x43c]
call fcn.10061700
push eax
call fcn.100c5600
mov esi, eax
add esp, 4
test esi, esi
je 0x100634d3
push 0
lea ecx, [esp + 0x40]
call fcn.100c49c0
mov dword [esp + 0x850], 0
mov edx, dword [ebx + 0x74]
push edi
push edx
lea ecx, [esp + 0x44]
call fcn.100c78a0
test al, al
je 0x10062ad1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xa8]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10062a7c
fadd qword [0x1026bdf0]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10062aa7
fld dword [0x1026bde8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x10062aa7
push 0
push ecx
lea ecx, [esp + 0x44]
fstp dword [esp]
call fcn.100c8c00
jmp 0x10062aa9
fstp st(0)
cmp dword [0x1029bb2c], 0xc
jne 0x10062abf
push 6
push 1
lea ecx, [esp + 0x44]
call fcn.100c5d00
push esi
lea edx, [esp + 0x440]
push edx
lea ecx, [esp + 0x44]
call fcn.100c7850
mov dword [esp + 0x850], 0xffffffff
lea ecx, [esp + 0x3c]
call sym.epatent.dll_public_virtual:_void___thiscall_GImage::destructor_void_
jmp 0x100634d3
cmp dword [esi + 8], edi
jne 0x10062f68
cmp dword [esi + 4], edi
jne 0x10062f68
mov edi, dword [ebx + 0x70]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10062b04
sub eax, edx
mov esi, eax
xor eax, eax
test esi, esi
jle 0x10062b24
mov cl, byte [edi + eax]
mov byte [esp + eax + 0x43c], cl
inc eax
cmp eax, esi
jl 0x10062b15
mov edx, dword [ebx + 0x7c]
push edx
mov edx, dword [ebx + 0x74]
mov byte [esp + eax + 0x440], 0
mov eax, dword [0x1029550c]
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.pnm
push edx
call fcn.10106a28
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
add esp, 0x14
push eax
push ecx
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x648]
push str._s__d__d.pnm
push eax
call fcn.10106a28
mov eax, dword [0x1029bb2c]
add esp, 0x14
test eax, eax
je 0x10062d2d
cmp eax, 1
jne 0x10062bad
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.bmp
lea edx, [esp + 0x24c]
push edx
jmp 0x10062d4d
cmp eax, 2
jne 0x10062bd7
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__d__d.j2k
lea eax, [esp + 0x24c]
push eax
jmp 0x10062d4d
cmp eax, 3
jne 0x10062bf9
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.jp2
jmp 0x10062d45
cmp eax, 4
jne 0x10062c22
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.jpc
lea edx, [esp + 0x24c]
push edx
jmp 0x10062d4d
cmp eax, 5
jne 0x10062c4c
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__d__d.jpg
lea eax, [esp + 0x24c]
push eax
jmp 0x10062d4d
cmp eax, 6
jne 0x10062c6e
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.pcx
jmp 0x10062d45
cmp eax, 7
jne 0x10062c97
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.png
lea edx, [esp + 0x24c]
push edx
jmp 0x10062d4d
cmp eax, 9
jne 0x10062cc1
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__d__d.ras
lea eax, [esp + 0x24c]
push eax
jmp 0x10062d4d
cmp eax, 0xa
jne 0x10062ce0
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.tga
jmp 0x10062d45
cmp eax, 0xb
jne 0x10062d06
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.tif
lea edx, [esp + 0x24c]
push edx
jmp 0x10062d4d
cmp eax, 0xc
jne 0x10062d2d
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__04d__04d.tif
lea eax, [esp + 0x24c]
push eax
jmp 0x10062d4d
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.png
lea ecx, [esp + 0x24c]
push ecx
call fcn.10106a28
mov edx, dword [ebx + 0x74]
inc dword [ebx + 0x7c]
add esp, 0x14
push 0x1025da90
push edx
call fcn.10106a11
mov edi, eax
add esp, 8
test edi, edi
jne 0x10062d78
mov eax, dword [ebx + 0x74]
push eax
jmp 0x10062958
push 0x1025dab8
push edi
call fcn.10106bd7
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push ecx
push edx
push str._d__d_n
push edi
call fcn.10106bd7
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [eax + 8]
add esp, 0x18
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x27]
call fcn.10050660
mov ecx, dword [esp + 0x2c]
imul ecx, ecx, 0xff
add ecx, 0x8000
sar ecx, 0x10
test cl, cl
je 0x10062dd7
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 0x14]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
imul eax, dword [ebp + 0x18]
test eax, eax
jle 0x10062e10
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push edi
mov ecx, esi
call eax
xor eax, dword [esp + 0x28]
push eax
call fcn.1010af48
add esp, 8
sub dword [esp + 0x14], 1
jne 0x10062df2
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
push edi
call fcn.10106b5b
lea ecx, [esp + 0x640]
add esp, 4
push ecx
call fcn.10109d58
add esp, 4
push 0x1025dac4
call fcn.100c5600
mov edi, eax
add esp, 4
test edi, edi
je 0x100634d3
lea edx, [esp + 0x23c]
push edx
call fcn.10109d58
lea eax, [esp + 0x240]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10062e63
sub eax, edx
lea ecx, [eax - 1]
test ecx, ecx
jl 0x10062e92
mov dl, 0x2e
jmp 0x10062e80
cmp byte [esp + ecx + 0x23c], dl
je 0x10062f36
sub ecx, 1
jns 0x10062e80
lea ecx, [esp + eax + 0x23c]
push ecx
call fcn.100c5600
mov esi, eax
add esp, 4
test esi, esi
je 0x100634d3
push 0
lea ecx, [esp + 0x40]
call fcn.100c49c0
mov dword [esp + 0x850], 1
mov eax, dword [ebx + 0x74]
push edi
push eax
lea ecx, [esp + 0x44]
call fcn.100c78a0
test al, al
je 0x100634ae
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0xa8]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10062f0b
fadd qword [0x1026bdf0]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10062f42
fld dword [0x1026bde8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x10062f42
push 0
push ecx
lea ecx, [esp + 0x44]
fstp dword [esp]
call fcn.100c8c00
jmp 0x10062f44
lea ecx, [esp + ecx + 0x23d]
jmp 0x10062e99
fstp st(0)
cmp dword [0x1029bb2c], 0xc
jne 0x10062f5a
push 6
push 1
lea ecx, [esp + 0x44]
call fcn.100c5d00
push esi
lea eax, [esp + 0x240]
push eax
jmp 0x100634a5
mov edi, dword [ebx + 0x70]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10062f70
sub eax, edx
mov esi, eax
xor eax, eax
test esi, esi
jle 0x10062f90
mov cl, byte [edi + eax]
mov byte [esp + eax + 0x43c], cl
inc eax
cmp eax, esi
jl 0x10062f81
mov edx, dword [ebx + 0x7c]
push edx
mov edx, dword [ebx + 0x74]
mov byte [esp + eax + 0x440], 0
mov eax, dword [0x1029550c]
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.ppm
push edx
call fcn.10106a28
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
add esp, 0x14
push eax
push ecx
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x648]
push str._s__d__d.ppm
push eax
call fcn.10106a28
mov eax, dword [0x1029bb2c]
add esp, 0x14
test eax, eax
jne 0x10063011
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.png
lea ecx, [esp + 0x24c]
push ecx
jmp 0x100631e3
cmp eax, 1
jne 0x10063032
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.bmp
jmp 0x100631db
cmp eax, 2
jne 0x1006305c
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__d__d.j2k
lea eax, [esp + 0x24c]
push eax
jmp 0x100631e3
cmp eax, 3
jne 0x10063086
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.jp2
lea ecx, [esp + 0x24c]
push ecx
jmp 0x100631e3
cmp eax, 4
jne 0x100630a7
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.jpc
jmp 0x100631db
cmp eax, 5
jne 0x100630d1
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__d__d.jpg
lea eax, [esp + 0x24c]
push eax
jmp 0x100631e3
cmp eax, 6
jne 0x100630fb
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.pcx
lea ecx, [esp + 0x24c]
push ecx
jmp 0x100631e3
cmp eax, 7
je 0x100631c4
cmp eax, 8
jne 0x1006312e
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__d__d.pnm
lea eax, [esp + 0x24c]
push eax
jmp 0x100631e3
cmp eax, 9
jne 0x10063158
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__d__d.ras
lea ecx, [esp + 0x24c]
push ecx
jmp 0x100631e3
cmp eax, 0xa
jne 0x10063176
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.tga
jmp 0x100631db
cmp eax, 0xb
jne 0x1006319d
mov eax, dword [ebx + 0x7c]
mov ecx, dword [0x1029550c]
push eax
push ecx
lea edx, [esp + 0x444]
push edx
push str._s__d__d.tif
lea eax, [esp + 0x24c]
push eax
jmp 0x100631e3
cmp eax, 0xc
jne 0x100631c4
mov ecx, dword [ebx + 0x7c]
mov edx, dword [0x1029550c]
push ecx
push edx
lea eax, [esp + 0x444]
push eax
push str._s__04d__04d.tif
lea ecx, [esp + 0x24c]
push ecx
jmp 0x100631e3
mov edx, dword [ebx + 0x7c]
mov eax, dword [0x1029550c]
push edx
push eax
lea ecx, [esp + 0x444]
push ecx
push str._s__d__d.png
lea edx, [esp + 0x24c]
push edx
call fcn.10106a28
mov eax, dword [ebx + 0x74]
inc dword [ebx + 0x7c]
add esp, 0x14
push 0x1025da90
push eax
call fcn.10106a11
mov edi, eax
add esp, 8
test edi, edi
je 0x10062954
push 0x1025dad8
push edi
call fcn.10106bd7
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push edx
push eax
push str._d__d_n
push edi
call fcn.10106bd7
push str.255_n
push edi
call fcn.10106bd7
push 0x1c
call fcn.100f5c37
mov esi, eax
add esp, 0x24
mov dword [esp + 0x18], esi
mov dword [esp + 0x850], 2
test esi, esi
je 0x10063270
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x14]
push edx
mov edx, eax
mov eax, dword [ebp + 0x14]
call fcn.1009a530
mov dword [esp + 0x14], eax
jmp 0x10063278
mov dword [esp + 0x14], 0
mov dword [esp + 0x850], 0xffffffff
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp + 0x18], 0
jle 0x10063342
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x14]
call fcn.1009a5f0
cmp dword [ebp + 0x14], 0
mov esi, eax
jle 0x10063337
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x24], edx
lea ecx, [ecx]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov eax, esi
call fcn.10050710
mov ecx, dword [esp + 0x30]
imul ecx, ecx, 0xff
add ecx, 0x8000
sar ecx, 0x10
movzx edx, cl
push edi
push edx
call fcn.1010af48
mov eax, dword [esp + 0x3c]
imul eax, eax, 0xff
add eax, 0x8000
sar eax, 0x10
movzx ecx, al
push edi
push ecx
call fcn.1010af48
mov edx, dword [esp + 0x48]
imul edx, edx, 0xff
add edx, 0x8000
sar edx, 0x10
movzx eax, dl
push edi
push eax
call fcn.1010af48
mov ecx, dword [esp + 0x40]
add esi, dword [ecx + 8]
add esp, 0x18
sub dword [esp + 0x24], 1
jne 0x100632c0
sub dword [esp + 0x18], 1
jne 0x100632a1
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10063356
push eax
call fcn.10109eb5
add esp, 4
push esi
call fcn.100f5c66
add esp, 4
push edi
call fcn.10106b5b
lea edx, [esp + 0x640]
add esp, 4
push edx
call fcn.10109d58
add esp, 4
push 0x1025dae4
call fcn.100c5600
mov edi, eax
add esp, 4
test edi, edi
je 0x100634d3
lea eax, [esp + 0x23c]
push eax
call fcn.10109d58
lea eax, [esp + 0x240]
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100633b0
sub eax, edx
lea ecx, [eax - 1]
test ecx, ecx
jl 0x100633d4
mov dl, 0x2e
cmp byte [esp + ecx + 0x23c], dl
je 0x10063478
sub ecx, 1
jns 0x100633c2
lea eax, [esp + eax + 0x23c]
push eax
call fcn.100c5600
mov esi, eax
add esp, 4
test esi, esi
je 0x100634d3
push 0
lea ecx, [esp + 0x40]
call fcn.100c49c0
mov dword [esp + 0x850], 3
mov ecx, dword [ebx + 0x74]
push edi
push ecx
lea ecx, [esp + 0x44]
call fcn.100c78a0
test al, al
je 0x100634ae
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xa8]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1006344d
fadd qword [0x1026bdf0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10063484
fld dword [0x1026bde8]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x10063484
push 0
push ecx
lea ecx, [esp + 0x44]
fstp dword [esp]
call fcn.100c8c00
jmp 0x10063486
lea eax, [esp + ecx + 0x23d]
jmp 0x100633db
fstp st(0)
cmp dword [0x1029bb2c], 0xc
jne 0x1006349c
push 6
push 1
lea ecx, [esp + 0x44]
call fcn.100c5d00
push esi
lea ecx, [esp + 0x240]
push ecx
lea ecx, [esp + 0x44]
call fcn.100c7850
mov dword [esp + 0x850], 0xffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], vtable.GImage.0
call fcn.100c4a90
lea ecx, [esp + 0x3c]
call fcn.100c49e0
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.1010583a
mov esp, ebp
pop ebp
ret 0x20