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

Disassembly:
mov eax, 0x1c1c
call fcn.1003678d
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], edi
test eax, eax
jle 0x100248e4
xor ebx, ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
add eax, ebx
mov edx, dword [eax]
lea edx, [edx + edx*4]
shl edx, 4
mov ebp, dword [edx + ecx + 8]
test ebp, ebp
jne 0x100248ce
mov edx, dword [eax + 4]
lea edx, [edx + edx*4]
shl edx, 4
mov ebp, dword [edx + ecx + 8]
test ebp, ebp
jne 0x100248ce
mov edx, dword [eax + 8]
lea edx, [edx + edx*4]
shl edx, 4
mov ebp, dword [edx + ecx + 8]
test ebp, ebp
jne 0x100248ce
mov ecx, dword [eax + 0x74]
lea ecx, [ecx*4 + 0x11]
mov dword [esi + 0x28], ecx
add ecx, 0xfffffff9
fld dword [eax + 0x34]
fsub dword [eax + 0x2c]
fld dword [eax + 0x14]
fsub dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x28]
fsubp st(1)
sub ecx, 7
mov edx, dword [esi + 0x28]
sub edx, 7
fmul dword [0x1001917c]
fidiv dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x28]
sub ecx, 7
fstp dword [esi + 0x2c]
fld dword [eax + 0x38]
fsub dword [eax + 0x30]
fld dword [eax + 0x18]
fsub dword [eax + 0x10]
fsubp st(1)
fmul dword [0x1001917c]
fidiv dword [esp + 0x10]
mov dword [esp + 0x10], edx
fstp dword [esi + 0x30]
fld dword [eax + 0x64]
fsub dword [eax + 0x4c]
fld dword [eax + 0x24]
fsub dword [eax + 0xc]
fsubp st(1)
fmul dword [0x1001917c]
fidiv dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fstp dword [esi + 0x34]
fld dword [eax + 0x68]
fsub dword [eax + 0x50]
fld dword [eax + 0x28]
fsub dword [eax + 0x10]
fsubp st(1)
fmul dword [0x1001917c]
fidiv dword [esp + 0x10]
fstp dword [esi + 0x38]
fld dword [eax + 0x14]
fsub dword [eax + 0xc]
fmul dword [0x1001917c]
fstp dword [esi + 0x3c]
fld dword [eax + 0x18]
fsub dword [eax + 0x10]
fmul dword [0x1001917c]
fstp dword [esi + 0x40]
fld dword [eax + 0x24]
fsub dword [eax + 0xc]
fmul dword [0x1001917c]
fstp dword [esi + 0x44]
fld dword [eax + 0x28]
fsub dword [eax + 0x10]
fmul dword [0x1001917c]
fstp dword [esi + 0x48]
fld dword [esi + 0x3c]
call fcn.10036783
fld dword [esi + 0x44]
cdq
mov ebp, eax
xor ebp, edx
sub ebp, edx
call fcn.10036783
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov dword [esp + 0x10], ebp
fild dword [esp + 0x10]
fstp dword [esi + 0x4c]
fld dword [esi + 0x40]
call fcn.10036783
fld dword [esi + 0x48]
cdq
mov ebp, eax
xor ebp, edx
sub ebp, edx
call fcn.10036783
cdq
xor eax, edx
push edi
sub eax, edx
mov ecx, esi
add ebp, eax
mov dword [esp + 0x14], ebp
fild dword [esp + 0x14]
fstp dword [esi + 0x50]
call fcn.10024d4d
test eax, eax
je 0x100248ce
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + ebx + 0x74]
cmp eax, 7
jge 0x100243e2
mov ebp, 1
cmp eax, ebp
jne 0x100243c0
mov ecx, esi
call fcn.1002534d
jmp 0x100243d0
push edi
mov ecx, esi
call fcn.1002546d
test eax, eax
je 0x100248ce
push edi
mov ecx, esi
call fcn.10024add
test eax, eax
je 0x100248ce
jmp 0x10024407
push edi
mov ecx, esi
call fcn.1002564d
test eax, eax
je 0x100248ce
push edi
mov ecx, esi
call fcn.10024c7d
test eax, eax
je 0x100248ce
mov ebp, 1
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov eax, dword [eax + ebx]
lea ecx, [eax + eax*4]
shl ecx, 4
mov dword [ecx + edx + 8], ebp
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov eax, dword [eax + ebx + 4]
lea ecx, [eax + eax*4]
shl ecx, 4
mov dword [ecx + edx + 8], ebp
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov eax, dword [eax + ebx + 8]
lea ecx, [eax + eax*4]
shl ecx, 4
mov dword [ecx + edx + 8], ebp
mov eax, dword [esi + 0x1c]
lea edi, [eax + ebx]
lea ecx, [edi + 0x1c]
lea edx, [edi + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.10020a2d
lea eax, [edi + 0x24]
add edi, 0x14
fstp dword [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.10020a2d
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x10024484
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + ebx]
lea edx, [eax + 0x1c]
add eax, 0xc
push edx
jmp 0x10024490
mov eax, dword [esi + 0x1c]
add eax, ebx
lea ecx, [eax + 0x24]
add eax, 0x14
push ecx
push eax
mov ecx, esi
call fcn.10020a2d
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x1c]
fmul dword [0x10019190]
lea edi, [eax + ebx]
add edx, ebx
mov dword [esp + 0x10], edx
lea ecx, [edi + 0x3c]
lea edx, [edi + 0x2c]
fstp dword [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.10020a2d
lea eax, [edi + 0x44]
add edi, 0x34
fstp dword [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.10020a2d
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100244ed
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + ebx]
lea edx, [eax + 0x3c]
add eax, 0x2c
push edx
jmp 0x100244f9
mov eax, dword [esi + 0x1c]
add eax, ebx
lea ecx, [eax + 0x44]
add eax, 0x34
push ecx
push eax
mov ecx, esi
call fcn.10020a2d
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x1c]
fmul dword [0x10019190]
lea edi, [eax + ebx]
add edx, ebx
mov dword [esp + 0x10], edx
lea ecx, [edi + 0x5c]
lea edx, [edi + 0x4c]
fstp dword [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.10020a2d
lea eax, [edi + 0x64]
add edi, 0x54
fstp dword [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.10020a2d
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x10024556
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + ebx]
lea edx, [eax + 0x5c]
add eax, 0x4c
push edx
jmp 0x10024562
mov eax, dword [esi + 0x1c]
add eax, ebx
lea ecx, [eax + 0x64]
add eax, 0x54
push ecx
push eax
mov ecx, esi
call fcn.10020a2d
mov eax, dword [esi + 0x10]
xor ebp, ebp
fmul dword [0x10019190]
test eax, eax
fstp dword [esp + 0x10]
jle 0x1002462c
xor edi, edi
mov ecx, dword [esi + 0x14]
mov eax, dword [edi + ecx + 8]
lea edx, [edi + ecx]
test eax, eax
jne 0x1002461d
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + ebx]
lea eax, [eax + eax*4]
shl eax, 4
add eax, ecx
mov ecx, esi
push eax
push edx
call fcn.10020a2d
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x10024612
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov ecx, dword [edx + ebx + 4]
lea edx, [edi + eax]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, eax
push ecx
push edx
mov ecx, esi
call fcn.10020a2d
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 1
mov eax, dword [esi + 0x14]
je 0x100245ed
mov dword [edi + eax + 8], 1
jmp 0x1002461d
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + ebx + 8]
lea edx, [ecx + ecx*4]
mov ecx, esi
shl edx, 4
add edx, eax
add eax, edi
push edx
push eax
call fcn.10020a2d
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x1002461d
mov ecx, dword [esi + 0x14]
mov dword [edi + ecx + 8], 1
mov eax, dword [esi + 0x10]
inc ebp
add edi, 0x50
cmp ebp, eax
jl 0x10024583
mov edx, dword [esi + 0x1c]
mov ecx, 0x6fc
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov ecx, dword [edx + ebx + 0x74]
lea eax, [edx + ebx]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x7c]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.10020bed
mov edx, dword [eax]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x1c0c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x1c10], eax
mov edx, dword [ecx + ebx + 0x38]
push edx
mov eax, dword [ecx + ebx + 0x34]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.10020bed
mov edx, dword [eax]
mov ecx, dword [esi + 0x10500]
mov dword [esp + 0x1c14], edx
mov edx, dword [esi + 0x10504]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c1c], ecx
mov dword [esp + 0x1c18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c20], edx
mov ecx, dword [eax + ebx + 0x68]
push ecx
mov ecx, esi
mov edx, dword [eax + ebx + 0x64]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.10020bed
mov ecx, dword [eax]
mov dword [esp + 0x1c24], ecx
mov ecx, 4
mov edx, dword [eax + 4]
lea eax, [esp + 0x1c10]
mov dword [esp + 0x1c28], edx
mov edi, dword [eax - 4]
mov edx, dword [esp + 0x1c34]
imul edi, edx
mov dword [eax - 4], edi
mov edi, dword [eax]
imul edi, edx
mov dword [eax], edi
add eax, 8
dec ecx
jne 0x100246fa
mov ebp, dword [esi + 0x20]
test ebp, ebp
jle 0x100247cb
xor edi, edi
test ebp, ebp
jle 0x100247cb
mov ecx, dword [esi + 0x24]
add ecx, 0x1bd4
mov eax, dword [ecx - 4]
mov edx, dword [esp + 0x1c0c]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x15
jge 0x100247bc
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c10]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x15
jge 0x100247bc
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x1c14]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x15
jge 0x100247bc
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x1c18]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x15
jge 0x100247bc
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x1c24]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x15
jge 0x100247bc
mov eax, dword [ecx + 0x18]
mov edx, dword [esp + 0x1c28]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x15
jl 0x100248ca
inc edi
add ecx, 0x1bf0
cmp edi, ebp
jl 0x10024735
lea edi, [esi + 0x58]
xor ecx, ecx
mov cl, byte [edi]
mov eax, ecx
shr eax, 4
cmp eax, 1
je 0x10024843
cmp eax, 2
je 0x10024843
cmp eax, 4
je 0x10024843
cmp eax, 8
je 0x10024843
cmp eax, 3
jne 0x100248ca
mov al, byte [esi + 0x59]
mov dl, byte [esi + 0x5a]
and ecx, 0xf
push 1
mov dword [esp + 0x1c04], ecx
mov ecx, eax
and ecx, 0xff
push edi
shr ecx, 4
shr dl, 4
shl al, 4
inc ecx
add dl, al
mov eax, dword [esi + 0x54]
mov dword [esp + 0x1c0c], ecx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x1c18], dl
call fcn.10027bed
test eax, eax
je 0x100248ca
jmp 0x1002485a
mov edx, dword [esi + 0x54]
push 0
push edi
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, esi
call fcn.10027bed
test eax, eax
je 0x100248ca
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
inc eax
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 6
sub ecx, eax
shl ecx, 4
push ecx
push edx
call dword [fcn.100190b8]
add esp, 8
test eax, eax
je 0x100249ec
lea ecx, [esp + 0x3c]
push 0x1bf0
push ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x24], eax
lea edx, [ecx*8]
sub edx, ecx
shl edx, 6
sub edx, ecx
shl edx, 4
add edx, eax
push edx
call dword [fcn.10019094]
mov edi, dword [esi + 0x20]
mov ecx, dword [esp + 0x1c3c]
add esp, 0xc
inc edi
test ecx, ecx
mov dword [esi + 0x20], edi
mov eax, edi
je 0x100248ca
cmp eax, ecx
je 0x100248e4
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
inc edi
add ebx, 0x80
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x10024220
mov eax, dword [esi + 0x20]
cmp eax, 1
jle 0x10024ac2
dec eax
test eax, eax
jle 0x10024ac2
mov ebp, 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ebp
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x18]
add ecx, edx
mov edi, 3
mov edx, dword [ecx + 0x1bd4]
lea ebx, [ecx + 0x1bdc]
mov eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov ecx, dword [ebx]
cmp edx, ecx
jl 0x1002493a
mov dword [esp + 0x24], ecx
mov edx, ecx
cmp eax, ecx
jg 0x10024944
mov dword [esp + 0x14], ecx
mov eax, ecx
add ebx, 8
dec edi
jne 0x1002492e
sub eax, edx
mov dword [esp + 0x20], ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x20]
cmp ebp, eax
jge 0x10024aa0
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x1bf0]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x2c], 3
mov ebx, dword [ecx + edi + 0x1bd4]
lea edx, [ecx + edi + 0x1bdc]
mov dword [esp + 0x34], ebx
mov ebp, ebx
mov eax, dword [edx]
cmp ebx, eax
jl 0x10024999
mov ebx, eax
cmp ebp, eax
jg 0x1002499f
mov ebp, eax
mov eax, dword [esp + 0x2c]
add edx, 8
dec eax
mov dword [esp + 0x2c], eax
jne 0x10024991
mov eax, dword [esp + 0x24]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jle 0x10024a20
mov eax, dword [esp + 0x14]
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jle 0x10024a20
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x34]
cmp dword [eax + 0x1bd4], ecx
jle 0x10024a82
jmp 0x10024a37
mov eax, dword [esi + 0x24]
push eax
call dword [fcn.100190b0]
add esp, 4
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x10508], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c1c
ret 8
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
mov edx, dword [ecx + edx + 0x1bd0]
cmp edx, dword [ecx + edi + 0x1bd0]
jle 0x10024a82
push 0x1bf0
push eax
lea eax, [esp + 0x44]
push eax
call dword [fcn.10019094]
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x24]
push 0x1bf0
lea ecx, [eax + edi]
add eax, edx
push ecx
push eax
call dword [fcn.10019094]
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x54]
push 0x1bf0
add ecx, edi
push eax
push ecx
call dword [fcn.10019094]
add esp, 0x24
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x20]
inc eax
add edi, 0x1bf0
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x10024972
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
inc ebp
add edx, 0x1bf0
mov dword [esp + 0x18], edx
dec eax
lea edx, [ebp - 1]
mov dword [esp + 0x10], ebp
cmp edx, eax
jl 0x1002490a
mov eax, dword [esi + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c1c
ret 8