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

Disassembly:
mov eax, 0x1012b0cd
call fcn.1011695c
sub esp, 0x4d0
mov eax, dword [0x10169ccc]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2080]
push esi
mov esi, dword [eax]
cmp esi, eax
push edi
je 0x1002301c
lea ecx, [ebp - 0x3dc]
call fcn.1010f720
mov ecx, dword [ebx + 0x24]
and dword [ebp - 4], 0
lea eax, [ebp - 0x3dc]
push eax
push dword [esi + 0xc]
call fcn.10040b80
test al, al
je 0x10022ffd
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x3dc]
push edx
push dword [esi + 0xc]
push 7
call dword [eax + 8]
mov edi, dword [esi + 0xc]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
lea ecx, [ebx + 0x2064]
push eax
mov dword [ebp - 0x24], edi
call fcn.1002f94b
mov eax, dword [ebx + 0x2068]
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
je 0x10022fe3
mov byte [ecx + 0x10], 1
jmp 0x10022ffd
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebx + 0x2064]
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x2c], 1
call fcn.100227a7
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x207c]
call fcn.1002133d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3dc]
call fcn.1010f440
cmp dword [ebx + 0x2084], 0
jne 0x1002352f
cmp dword [ebx + 0x2078], 0
je 0x1002352f
lea ecx, [ebp - 0x2dc]
call fcn.1001129a
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebx + 0xc66]
push edx
lea edx, [ebx + 0xb66]
push edx
mov dword [ebp - 4], 1
call dword [eax + 0x1fc]
fld1
mov dword [ebp - 0x2dc], 0x15
mov byte [ebp - 0x2d8], 1
lea esi, [ebx + 0x1884]
lea edi, [ebp - 0x164]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x1894]
lea edi, [ebp - 0x154]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18a4]
lea edi, [ebp - 0x134]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2074]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18b4]
lea edi, [ebp - 0x144]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x108]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x1c], ecx
je 0x10023520
mov eax, dword [ebx + 0x60]
lea esi, [eax + 0x170]
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.10006414
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x24]
cmp esi, eax
je 0x100234fa
mov edi, dword [esi + 0x10]
test edi, edi
je 0x100234fa
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x2064]
call fcn.1002f94b
mov eax, dword [ebx + 0x2068]
mov ecx, dword [ebp - 0x38]
cmp ecx, eax
je 0x100234f0
cmp byte [ecx + 0x10], 0
je 0x100234f0
cmp dword [edi + 0x70], 0
jle 0x1002313d
lea eax, [ebp - 0x50]
jmp 0x100234fd
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1d4], eax
mov esi, dword [esi + 0x10]
push 0x10
add esi, 0x18
pop ecx
lea edi, [ebp - 0x1ac]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x10]
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x1d0]
fld dword [eax + 0x50]
push 0x18
fld dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
fstp dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
fstp dword [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 0x10]
add eax, 0x58
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10116d70
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
add esp, 0xc
lea edx, [ebp - 0x2dc]
push edx
lea edx, [ebp - 0x18]
push edx
call dword [eax + 0x3c]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x70], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x60]
add eax, 8
cmp dword [ebp - 0x58], 2
push eax
push dword [ebp - 0x18]
jne 0x100231cc
call fcn.1003d518
jmp 0x100231de
cmp dword [ebp - 0x58], 1
jne 0x100231d9
call fcn.1003d5d8
jmp 0x100231de
call fcn.1003d458
lea ecx, [ebp - 0x4dc]
call fcn.1010f720
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [eax + 0x74], edi
mov eax, dword [esi + 0x10]
mov dword [eax + 0x78], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x58]
cmp ecx, edi
mov eax, dword [eax + 0x5c]
mov byte [ebp - 4], 2
jbe 0x10023244
cmp eax, edi
lea eax, [ebp - 0x14]
jbe 0x10023229
push edi
push 1
push dword [ebp - 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.10016341
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x74], ecx
jmp 0x1002325b
push 1
push 1
push dword [ebp - 0x18]
push ecx
push eax
mov ecx, ebx
call fcn.10016341
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x74], ecx
jmp 0x10023264
cmp eax, edi
jbe 0x10023264
push 2
push 1
push dword [ebp - 0x18]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10016341
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
mov dword [eax + 0x78], ecx
cmp dword [ebx + 0x205c], 0x9c50
jne 0x100234c8
cmp dword [ebp - 0x1d4], 0x46ce
jne 0x100234c8
fld dword [ebp - 0x1d0]
mov dword [ebp - 0x20], edi
fcomp dword [0x10139224]
fnstsw ax
test ah, 0x41
jne 0x100232f0
fld dword [ebp - 0x1d0]
fcomp dword [0x10139220]
fnstsw ax
test ah, 5
jp 0x100232f0
fld dword [ebp - 0x1c8]
fcomp dword [0x10139224]
fnstsw ax
test ah, 0x41
jne 0x100232f0
fld dword [ebp - 0x1c8]
fcomp dword [0x10139220]
fnstsw ax
test ah, 5
jp 0x100232f0
mov eax, dword [ebx + 0xe4f8]
cmp eax, edi
je 0x100232e2
mov dword [ebp - 0x20], eax
jmp 0x100232f0
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x2c0]
fld dword [ebp - 0x1d0]
fcomp dword [0x10137490]
fnstsw ax
test ah, 0x41
jne 0x10023359
fld dword [ebp - 0x1d0]
fcomp dword [0x10139224]
fnstsw ax
test ah, 5
jp 0x10023359
fld dword [ebp - 0x1c8]
fcomp dword [0x10139224]
fnstsw ax
test ah, 0x41
jne 0x10023359
fld dword [ebp - 0x1c8]
fcomp dword [0x10139220]
fnstsw ax
test ah, 5
jp 0x10023359
mov eax, dword [ebx + 0xe4f4]
cmp eax, edi
je 0x1002334b
mov dword [ebp - 0x20], eax
jmp 0x10023359
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x2c0]
fld dword [ebp - 0x1d0]
fcomp dword [0x10139224]
fnstsw ax
test ah, 0x41
jne 0x100233c2
fld dword [ebp - 0x1d0]
fcomp dword [0x10139220]
fnstsw ax
test ah, 5
jp 0x100233c2
fld dword [ebp - 0x1c8]
fcomp dword [0x10137490]
fnstsw ax
test ah, 0x41
jne 0x100233c2
fld dword [ebp - 0x1c8]
fcomp dword [0x10139224]
fnstsw ax
test ah, 5
jp 0x100233c2
mov eax, dword [ebx + 0xe500]
cmp eax, edi
je 0x100233b4
mov dword [ebp - 0x20], eax
jmp 0x100233c2
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x2c0]
fld dword [ebp - 0x1d0]
fcomp dword [0x10137490]
fnstsw ax
test ah, 0x41
jne 0x1002342b
fld dword [ebp - 0x1d0]
fcomp dword [0x10139224]
fnstsw ax
test ah, 5
jp 0x1002342b
fld dword [ebp - 0x1c8]
fcomp dword [0x10137490]
fnstsw ax
test ah, 0x41
jne 0x1002342b
fld dword [ebp - 0x1c8]
fcomp dword [0x10139224]
fnstsw ax
test ah, 5
jp 0x1002342b
mov eax, dword [ebx + 0xe4fc]
cmp eax, edi
je 0x1002341d
mov dword [ebp - 0x20], eax
jmp 0x1002342b
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x2c0]
cmp dword [ebp - 0x20], edi
jbe 0x100234c8
mov esi, dword [ebp - 0x20]
movzx eax, byte [ebp - 0x1f]
movzx edi, byte [ebp - 0x1e]
and esi, 0xff
cmp esi, 1
mov dword [ebp - 0x34], eax
jb 0x100234c8
cmp esi, 0x48
ja 0x100234c8
cmp eax, 1
jb 0x100234c8
cmp eax, 0x54
ja 0x100234c8
cmp edi, 1
jb 0x100234c8
cmp edi, 0x48
ja 0x100234c8
lea ecx, [ebp - 0x3dc]
call fcn.1010f720
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x3dc]
push eax
mov eax, dword [ebp - 0x34]
add eax, 0x6fb8
push eax
mov byte [ebp - 4], 3
call fcn.10042a3d
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x28]
push eax
add edi, 0x7080
push edi
call fcn.10043d6c
push dword [ebp - 0x28]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x3dc]
push edx
push esi
push dword [ebp - 0x18]
call dword [eax + 0x2bc]
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 2
call fcn.1010f440
push dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebx + 0x2070]
call fcn.1002133d
mov eax, dword [eax]
lea ecx, [ebp - 0x4dc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
call fcn.1010f440
jmp 0x10023511
lea ecx, [ebp - 0x1c]
call fcn.10037849
jmp 0x10023511
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x2070]
push eax
call fcn.1002133d
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebx + 0x2074]
jne 0x100230cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d7]
call fcn.1010f440
mov ecx, dword [ebx + 0x1874]
push 4
call fcn.10110850
fstp dword [ebp - 0x28]
mov eax, dword [ebx + 0x2130]
mov esi, dword [eax]
cmp esi, eax
mov dword [ebp - 0x14], esi
je 0x100235e1
fld dword [ebp - 0x28]
fsub dword [esi + 0x10]
fcomp dword [ebx + 0x2128]
fnstsw ax
test ah, 0x41
jne 0x100235ca
lea edi, [esi + 0xc]
push edi
lea eax, [ebp - 0x24]
lea ecx, [ebx + 0x2104]
push eax
call fcn.1002f94b
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebx + 0x2108]
je 0x100235ca
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100235b3
cmp dword [eax + 8], 0
jg 0x100235b3
push eax
call fcn.10116c74
pop ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 0x2104]
call fcn.100215d2
mov ecx, dword [ebx + 0x14]
push dword [edi]
mov eax, dword [ecx]
call dword [eax + 0xc]
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebx + 0x212c]
call fcn.100215d2
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
jmp 0x100235d5
lea ecx, [ebp - 0x14]
call fcn.1002f15d
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebx + 0x2130]
jne 0x10023552
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.10115a7a
leave
ret