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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10022b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 0x40]
lea ecx, [ebx + 0x40]
test eax, eax
mov dword [esp + 0x44], 2
je 0x1000cefc
lea eax, [esp + 0x28]
push eax
jmp 0x1000cf04
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x1c]
call fcn.10021f26
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [ecx - 8]
test eax, eax
jle 0x1000d32f
cmp byte [edi + ecx], 0x25
jne 0x1000d31c
lea edx, [edi + 1]
cmp edx, eax
jge 0x1000d30f
push 0x10033a8c
lea ecx, [esp + 0x10]
call fcn.10021eba
mov esi, dword [ebp + 8]
mov byte [esp + 0x44], 3
movsx eax, byte [edi + esi + 1]
add eax, 0xffffffdb
cmp eax, 0x52
ja case.0x1000cf61.55
xor ecx, ecx
mov cl, byte [eax + 0x1000d3d8]
jmp dword [ecx*4 + 0x1000d38c]
push 0xffffffffffffffa9
lea ecx, [esp + 0x10]
call fcn.10021f20
jmp case.0x1000cf61.55
lea edx, [ebx + 0x34]
lea ecx, [esp + 0xc]
push edx
call fcn.10021ec0
jmp case.0x1000cf61.55
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x1000cf9c
mov eax, dword [ebp + 0xc]
test eax, eax
je case.0x1000cf61.55
mov esi, dword [ebp + 0x14]
push 0x104
push 0x104
lea ecx, [esp + 0x14]
call fcn.10021f1a
mov ecx, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x30]
push esi
push eax
push 0
push ecx
call dword [0x10023020]
jmp case.0x1000cf61.55
mov eax, dword [ebx + 0x48]
lea esi, [ebx + 0x48]
push 0x10033a8c
push eax
call dword [0x100231a0]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
je 0x1000cff2
push esi
call fcn.10021ec0
jmp case.0x1000cf61.55
lea edx, [ebx + 0x54]
push edx
call fcn.10021ec0
jmp case.0x1000cf61.55
mov eax, dword [ebx + 0x4c]
lea esi, [ebx + 0x4c]
push 0x10033a8c
push eax
call dword [0x100231a0]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
je 0x1000d028
push esi
call fcn.10021ec0
jmp case.0x1000cf61.55
lea eax, [ebx + 0x58]
push eax
call fcn.10021ec0
jmp case.0x1000cf61.55
mov esi, dword [esi - 8]
lea ecx, [edi + 3]
cmp ecx, esi
jge case.0x1000cf61.55
lea edx, [edi + 2]
push 2
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [ebp + 8]
call fcn.10021f14
push 2
push edi
lea ecx, [ebp + 8]
mov byte [esp + 0x4c], 4
call fcn.10021f0e
mov ecx, dword [esp + 0x18]
mov esi, dword [0x100231a0]
push 0x10026190
push ecx
call esi
add esp, 8
test eax, eax
jne 0x1000d0e0
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
push edx
push eax
call dword [0x10023194]
fstp qword [esp + 0x18]
fld qword [ebx + 0x70]
fsub qword [esp + 0x18]
fmul qword [0x10023420]
fstp qword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov edx, dword [ebx + 0x68]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str._s_.f
push eax
call fcn.10021ea2
add esp, 0x24
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.10021e9c
jmp case.0x1000cf61.55
mov ecx, dword [esp + 0x18]
push 0x1002617c
push ecx
call esi
add esp, 8
test eax, eax
jne 0x1000d12e
mov edx, dword [ebx + 0x84]
mov eax, dword [ebx + 0x80]
push edx
push eax
call dword [0x10023194]
fstp qword [esp + 0x18]
fld qword [ebx + 0x80]
fsub qword [esp + 0x18]
fmul qword [0x10023420]
fstp qword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov edx, dword [ebx + 0x78]
jmp 0x1000d0b0
mov ecx, dword [esp + 0x18]
push 0x10026178
push ecx
call esi
add esp, 8
test eax, eax
jne 0x1000d176
mov al, byte [ebx + 0x88]
cmp al, 1
mov eax, 0x10026174
je 0x1000d155
mov eax, 0x10033a8c
mov edx, dword [ebx + 0x94]
mov ecx, dword [ebx + 0x90]
push edx
push ecx
push eax
lea edx, [esp + 0x18]
push 0x1002616c
push edx
call fcn.10021ea2
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.10021e9c
jmp case.0x1000cf61.55
lea eax, [ebx + 0x50]
lea ecx, [esp + 0xc]
push eax
call fcn.10021ec0
jmp case.0x1000cf61.55
lea ecx, [ebx + 0x64]
push ecx
lea ecx, [esp + 0x10]
call fcn.10021ec0
jmp case.0x1000cf61.55
lea edx, [ebx + 0x5c]
lea ecx, [esp + 0xc]
push edx
call fcn.10021ec0
jmp case.0x1000cf61.55
lea eax, [ebx + 0x38]
lea ecx, [esp + 0xc]
push eax
call fcn.10021ec0
jmp case.0x1000cf61.55
lea ecx, [ebx + 0x3c]
push ecx
lea ecx, [esp + 0x10]
call fcn.10021ec0
jmp case.0x1000cf61.55
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1000d23c
mov edx, dword [ebx + 0x44]
lea edi, [ebx + 0x44]
mov eax, dword [edx - 8]
test eax, eax
je 0x1000d238
push 0x73
lea ecx, [ebp + 0x18]
call fcn.10021ed8
mov esi, eax
cmp esi, 0xffffffff
jle 0x1000d238
push edi
lea eax, [esp + 0x20]
push 0x10026168
push eax
call fcn.10021ef0
mov eax, dword [eax]
inc esi
push eax
push esi
lea ecx, [ebp + 0x18]
mov byte [esp + 0x4c], 5
call fcn.10021f08
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.10021e9c
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x1000d24a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000d273
mov esi, dword [ebp + 0x18]
push 0x104
push 0x104
lea ecx, [esp + 0x14]
call fcn.10021f1a
mov edx, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x30]
push esi
push ecx
push 0
push edx
call dword [0x1002301c]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.10021f02
jmp case.0x1000cf61.55
lea eax, [ebx + 0x60]
lea ecx, [esp + 0xc]
push eax
call fcn.10021ec0
jmp case.0x1000cf61.55
lea ecx, [ebx + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.10021ec0
jmp case.0x1000cf61.55
lea edx, [ebx + 0xc]
lea ecx, [esp + 0xc]
push edx
call fcn.10021ec0
jmp case.0x1000cf61.55
lea eax, [ebx + 0x18]
lea ecx, [esp + 0xc]
push eax
call fcn.10021ec0
jmp case.0x1000cf61.55
lea ecx, [ebx + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.10021ec0
jmp case.0x1000cf61.55
push 0x10026164
lea ecx, [esp + 0x10]
call fcn.10021ee4
push 2
push edi
lea ecx, [ebp + 8]
call fcn.10021f0e
mov edx, dword [esp + 0xc]
lea ecx, [ebp + 8]
push edx
push edi
call fcn.10021f08
mov eax, dword [esp + 0xc]
mov byte [esp + 0x44], 2
mov ecx, dword [eax - 8]
add edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], edi
call fcn.10021e9c
jmp 0x1000d321
push 1
push edi
lea ecx, [ebp + 8]
call fcn.10021f0e
jmp 0x1000d321
inc edi
mov dword [esp + 0x10], edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 8]
cmp edi, eax
jl 0x1000cf1d
lea ecx, [ebp + 8]
add ebx, 0x98
push ecx
mov ecx, ebx
call fcn.10021ec0
push 0
mov ecx, ebx
call fcn.10021f1a
lea ecx, [ebp + 8]
mov esi, eax
mov byte [esp + 0x44], 1
call fcn.10021e9c
lea ecx, [ebp + 0x14]
mov byte [esp + 0x44], 0
call fcn.10021e9c
lea ecx, [ebp + 0x18]
mov dword [esp + 0x44], 0xffffffff
call fcn.10021e9c
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18