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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101969c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0x4c]
lea ecx, [ebx + 0x50]
call edx
push 0
lea esi, [ebx + 0xec]
push eax
call fcn.10009380
push 1
lea ecx, [esp + 0x28]
call fcn.1004bc70
mov dword [esp + 0x78], 0
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x100bd704
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
lea edx, [esp + 0x4c]
push edx
call eax
mov edi, eax
lea esi, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.1004be00
lea esi, [esp + 0x48]
mov byte [esp + 0x78], 0
call fcn.10002000
jmp 0x100bd710
mov edi, dword [ebp + 8]
lea esi, [esp + 0x24]
call fcn.1004be00
mov edx, dword [ebx + 0x50]
mov eax, dword [edx + 0x4c]
lea edi, [ebx + 0x50]
xor esi, esi
mov ecx, edi
mov dword [esp + 0x14], esi
call eax
test eax, eax
jle 0x100bd78c
mov edx, dword [ebx + 0x2c]
mov eax, dword [edx + 0x4c]
lea ecx, [ebx + 0x2c]
call eax
sub eax, 1
mov dword [esp + 0x20], eax
cmp eax, esi
lea eax, [esp + 0x20]
jl 0x100bd745
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov edx, dword [ebx + 0x38]
lea ecx, [eax + eax*2]
mov ecx, dword [edx + ecx*4 + 8]
mov edx, dword [ebx + 0x14]
lea eax, [esi + esi*8]
lea eax, [edx + eax*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
call edx
fstp dword [esp + 0x20]
mov eax, dword [ebx + 0xf0]
fld dword [esp + 0x20]
fstp dword [eax + esi*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
add esi, 1
mov ecx, edi
mov dword [esp + 0x14], esi
call eax
cmp esi, eax
jl 0x100bd727
lea eax, [ebx + 0xec]
call fcn.10061090
fstp dword [esp + 0x1c]
xor edi, edi
cmp dword [ebx + 0x98], edi
je 0x100bd7b3
fld dword [ebx + 0x9c]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [ebx + 0xa0]
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x100bd7d8
fld1
fdivrp st(1)
jmp 0x100bd7dc
fstp st(0)
fldz
push 1
fstp dword [esp + 0x20]
lea ecx, [esp + 0x4c]
call fcn.1004bc70
mov byte [esp + 0x78], 2
mov ecx, dword [ebx + 0x80]
cmp ecx, edi
je 0x100bd80e
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [ebx + 0xa4]
push eax
mov eax, dword [ebp + 8]
push eax
call edx
jmp 0x100bd81e
mov edi, dword [ebp + 8]
lea esi, [ebx + 0xa4]
call fcn.1004be00
xor edi, edi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, edi
jl 0x100bd830
je 0x100bd853
cmp byte [esi + 0x10], 0
je 0x100bd853
cmp byte [esi + 0x11], 0
je 0x100bd846
mov eax, dword [esi + 4]
cmp eax, edi
je 0x100bd846
push eax
call fcn.10178e5d
add esp, 4
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov byte [esi + 0x11], 1
mov dword [esi + 8], edi
cmp byte [ebx + 0x75], 0
je 0x100bd9cf
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0x4c]
lea ecx, [ebx + 0x50]
mov dword [esp + 0x14], edi
call edx
cmp eax, edi
jle 0x100bd907
lea edi, [ebx + 0xc8]
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0x5c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax + 8]
mov edx, dword [ecx]
push edi
lea eax, [ebx + 0xa4]
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp byte [ebx + 0x74], 0
je 0x100bd8af
mov esi, edi
call fcn.1004c520
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xf0]
mov edx, dword [esp + 0x14]
fld dword [ecx + edx*4]
push ecx
fmul dword [esp + 0x20]
mov eax, edi
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.1004c170
cmp dword [esi + 8], 0
jle 0x100bd8e2
mov ecx, esi
call fcn.1004bf90
jmp 0x100bd8ea
mov esi, dword [ebp + 0xc]
call fcn.1004be00
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0x4c]
add dword [esp + 0x14], 1
add dword [esp + 0x18], 0xc
lea ecx, [ebx + 0x50]
call edx
cmp dword [esp + 0x14], eax
jl 0x100bd885
xor edi, edi
mov ecx, dword [ebx + 0x98]
cmp ecx, edi
je 0x100bd96a
mov edx, dword [ecx]
lea edi, [ebx + 0xc8]
push edi
lea eax, [ebx + 0xa4]
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp byte [ebx + 0x74], 0
je 0x100bd936
mov esi, edi
call fcn.1004c520
mov esi, dword [ebp + 0xc]
fld dword [ebx + 0x9c]
push ecx
fmul dword [esp + 0x20]
mov eax, edi
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.1004c170
cmp dword [esi + 8], 0
jle 0x100bd962
mov ecx, esi
call fcn.1004bf90
jmp 0x100bd96a
mov esi, dword [ebp + 0xc]
call fcn.1004be00
fldz
fcomp dword [ebx + 0xa0]
fnstsw ax
test ah, 5
jp 0x100bdbe7
lea esi, [ebx + 0xc8]
lea edi, [ebx + 0xa4]
call fcn.1004be00
fld dword [esp + 0x1c]
fmul dword [ebx + 0xa0]
push ecx
mov eax, esi
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.1004c170
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
jle 0x100bd9c1
call fcn.1004bf90
mov esi, dword [ebp + 0xc]
jmp 0x100bdbe7
mov edi, esi
mov esi, ecx
call fcn.1004be00
jmp 0x100bdbe7
fldz
mov dword [esp + 0x18], edi
fcomp dword [ebx + 0xa0]
mov dword [esp + 0x20], 1
fnstsw ax
test ah, 5
jnp 0x100bd9ee
mov dword [esp + 0x20], edi
mov edx, dword [ebx + 0x50]
mov eax, dword [edx + 0x4c]
lea edi, [ebx + 0x50]
mov ecx, edi
call eax
mov ecx, dword [ebx + 0xac]
xor edx, edx
cmp dword [ebx + 0x98], edx
push 0
setne dl
add edx, dword [esp + 0x24]
add edx, eax
imul edx, ecx
mov eax, edx
push eax
call fcn.10009380
mov eax, esi
mov byte [eax + 0x10], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
xor esi, esi
mov ecx, edi
mov dword [esp + 0x14], esi
call eax
test eax, eax
jle 0x100bdae9
lea edi, [ebx + 0xc8]
mov dword [esp + 0x20], esi
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + ecx + 8]
mov edx, dword [ecx]
push edi
lea eax, [ebx + 0xa4]
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp byte [ebx + 0x74], 0
je 0x100bda71
mov esi, edi
call fcn.1004c520
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0xf0]
fld dword [ecx + esi*4]
push ecx
fmul dword [esp + 0x20]
mov eax, edi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.1004c170
xor eax, eax
cmp dword [ebx + 0xd0], eax
jle 0x100bdaca
jmp 0x100bdaa0
mov edx, dword [ebx + 0xcc]
mov ecx, dword [ebp + 0xc]
fld dword [edx + eax*4]
mov ecx, dword [ecx + 4]
mov edx, ecx
mov ecx, dword [esp + 0x18]
fstp dword [edx + ecx*4]
add ecx, 1
add eax, 1
cmp eax, dword [ebx + 0xd0]
mov dword [esp + 0x18], ecx
jl 0x100bdaa0
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0x4c]
add dword [esp + 0x20], 0xc
lea ecx, [ebx + 0x50]
add esi, 1
mov dword [esp + 0x14], esi
call edx
cmp esi, eax
jl 0x100bda46
mov ecx, dword [ebx + 0x98]
test ecx, ecx
je 0x100bdb68
mov edx, dword [ecx]
lea esi, [ebx + 0xc8]
push esi
lea eax, [ebx + 0xa4]
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp byte [ebx + 0x74], 0
je 0x100bdb13
call fcn.1004c520
fld dword [ebx + 0x9c]
push ecx
fmul dword [esp + 0x20]
mov eax, esi
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.1004c170
xor eax, eax
cmp dword [ebx + 0xd0], eax
jle 0x100bdb68
lea ebx, [ebx]
mov ecx, dword [ebx + 0xcc]
fld dword [ecx + eax*4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + 4]
fstp dword [edx + ecx*4]
add ecx, 1
add eax, 1
cmp eax, dword [ebx + 0xd0]
mov dword [esp + 0x18], ecx
jl 0x100bdb40
fldz
fcomp dword [ebx + 0xa0]
fnstsw ax
test ah, 5
jp 0x100bdbd8
lea esi, [ebx + 0xc8]
lea edi, [ebx + 0xa4]
call fcn.1004be00
fld dword [esp + 0x1c]
fmul dword [ebx + 0xa0]
push ecx
mov eax, esi
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.1004c170
xor eax, eax
cmp dword [ebx + 0xd0], eax
jle 0x100bdbd8
nop
mov ecx, dword [ebx + 0xcc]
fld dword [ecx + eax*4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + 4]
fstp dword [edx + ecx*4]
add ecx, 1
add eax, 1
cmp eax, dword [ebx + 0xd0]
mov dword [esp + 0x18], ecx
jl 0x100bdbb0
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0xc]
push 0
push eax
call fcn.10009380
cmp byte [ebx + 0x74], 0
je 0x100bdbf2
call fcn.1004c520
mov byte [esp + 0x78], 0
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 4]
mov edi, vtable.ebs_FloatArr.1.0
mov dword [esp + 0x48], vtable.ebs_FloatArr.0
mov dword [esp + 0x5c], edi
mov esi, vtable.ebs_FloatArr.2.0
lea ecx, [esp + 0x64]
mov dword [esp + edx + 0x60], esi
call fcn.1005e680
cmp byte [esp + 0x59], 0
je 0x100bdc39
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x100bdc39
push eax
call fcn.10178e5d
add esp, 4
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], vtable.ebs_FloatArr.0
mov dword [esp + 0x38], edi
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x3c], esi
lea ecx, [esp + 0x40]
call fcn.1005e680
cmp byte [esp + 0x35], 0
mov dword [esp + 0x24], vtable.ert_TmplArr_float_.0
je 0x100bdc81
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100bdc81
push eax
call fcn.10178e5d
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8