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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0x98]
push esi
mov esi, eax
mov eax, dword [esp + 0xc0]
add eax, ebp
cmp eax, 0xa
mov dword [esp + 0x20], eax
ja 0x2fac1d
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xa8]
push 0
push ecx
push edx
push edi
push eax
mov eax, esi
call fcn.002f9a20
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
sub edx, eax
lea eax, [eax + edx*2]
mov edx, dword [esp + 0xb0]
sub edx, edi
mov dword [esp + 0x2c], eax
lea eax, [edi + edx*2]
xor ecx, ecx
xor edi, edi
cmp ebp, 4
mov dword [esp + 0x34], eax
jl 0x2fa381
mov ebp, dword [esp + 0xbc]
sub ebp, ebx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0xc0]
sub ebp, ebx
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0xb8]
sub ebp, ebx
mov dword [esp + 0x20], ebp
mov edx, dword [esp + 0xc0]
lea ebp, [esp + 0x74]
sub ebp, ebx
mov dword [esp + 0x38], ebp
lea ebp, [esp + 0x4c]
sub ebp, ebx
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0x78]
sub ebp, ebx
mov dword [esp + 0x40], ebp
lea ebp, [esp + 0x50]
sub ebp, ebx
mov dword [esp + 0x3c], ebp
lea ebp, [esp + 0x7c]
sub ebp, ebx
mov dword [esp + 0x48], ebp
add edx, 0xc
lea ebp, [esp + 0x54]
sub ebp, ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xb8]
lea eax, [ebx + 4]
mov ebx, dword [esp + 0xc0]
sub ebx, dword [esp + 0xb8]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0xbc]
add edx, 8
sub ebp, dword [esp + 0xc0]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ebp
jmp 0x2fa2a0
mov ebp, dword [esp + 0x10]
jmp 0x2fa2a0
mov ebx, dword [esp + 0xbc]
fld dword [ebx + edi*4]
mov ebx, dword [esp + 0x1c]
fsub dword [eax - 4]
add edi, 4
add eax, 0x10
fadd st(0), st(0)
fadd dword [eax - 0x14]
fstp dword [esp + edi*4 + 0x64]
fld dword [ebx - 0xc]
mov ebx, dword [esp + 0x18]
fsub dword [edx - 8]
fadd st(0), st(0)
fadd dword [edx - 8]
fstp dword [esp + edi*4 + 0x3c]
fld dword [ebx + eax - 0x10]
mov ebx, dword [esp + 0x38]
fsub dword [eax - 0x10]
fadd st(0), st(0)
fadd dword [eax - 0x10]
fstp dword [ebx + eax - 0x10]
mov ebx, dword [esp + 0x30]
fld dword [ebx + eax - 0x10]
mov ebx, dword [esp + 0x20]
fsub dword [ebx + eax - 0x10]
fadd st(0), st(0)
fadd dword [ebx + eax - 0x10]
mov ebx, dword [esp + 0x14]
fstp dword [ebx + eax - 0x10]
mov ebx, dword [esp + 0x44]
add ebx, edx
fld dword [ebx + ebp]
mov ebp, dword [esp + 0x40]
fsub dword [eax - 0xc]
add edx, 0x10
fadd st(0), st(0)
fadd dword [eax - 0xc]
fstp dword [eax + ebp - 0x10]
mov ebp, dword [esp + 0x10]
fld dword [ebx]
mov ebx, dword [esp + 0x3c]
fsub dword [edx - 0x10]
fadd st(0), st(0)
fadd dword [edx - 0x10]
fstp dword [ebx + eax - 0x10]
mov ebx, dword [esp + 0x1c]
fld dword [ebx + ebp]
mov ebp, dword [esp + 0x48]
fsub dword [eax - 8]
add ebx, 0x10
mov dword [esp + 0x1c], ebx
fadd st(0), st(0)
fadd dword [eax - 8]
fstp dword [eax + ebp - 0x10]
mov ebp, dword [esp + 0x28]
fld dword [ebx - 0x10]
fsub dword [edx - 0xc]
fadd st(0), st(0)
fadd dword [edx - 0xc]
fstp dword [eax + ebp - 0x10]
mov ebp, dword [esp + 0xa0]
lea ebx, [ebp - 3]
cmp edi, ebx
jb 0x2fa291
mov ebx, dword [esp + 0xb4]
cmp edi, ebp
jae 0x2fa40c
mov edx, dword [esp + 0xbc]
sub edx, ebx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x74]
sub edx, ebx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xc0]
sub edx, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xb8]
sub edx, ebx
mov dword [esp + 0x20], edx
lea edx, [esp + 0x4c]
sub edx, ebx
mov dword [esp + 0x14], edx
mov edx, ebp
lea eax, [ebx + edi*4]
sub edx, edi
jmp 0x2fa3d0
mov edi, dword [esp + 0x18]
fld dword [eax + edi]
mov edi, dword [esp + 0x38]
fsub dword [eax]
add eax, 4
sub edx, 1
fadd st(0), st(0)
fadd dword [eax - 4]
fstp dword [eax + edi - 4]
mov edi, dword [esp + 0x30]
fld dword [eax + edi - 4]
mov edi, dword [esp + 0x20]
fsub dword [eax + edi - 4]
fadd st(0), st(0)
fadd dword [eax + edi - 4]
mov edi, dword [esp + 0x14]
fstp dword [eax + edi - 4]
jne 0x2fa3d0
mov edx, dword [esp + 0xd8]
cmp edx, 0x5a
je 0x2fa43f
cmp edx, 0xb4
je 0x2fa43f
cmp edx, 0x10e
je 0x2fa43f
cmp edx, 0xffffffff
je 0x2fa43f
mov dword [esp + 0xd8], 0
mov edx, dword [esp + 0xd8]
test ebp, ebp
jbe 0x2fa497
mov eax, 0xb40
mov dword [esp + 0x10], ebp
lea esp, [esp]
mov edx, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
or edx, 0x20
shl edx, 0xd
or edx, eax
mov dword [edi + ecx*4], edx
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
add ecx, 1
mov dword [edx + ecx*4], 0x11
add ecx, 1
add eax, 4
sub dword [esp + 0x10], 1
jne 0x2fa450
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x24]
cmp ebp, edi
jae 0x2fa4f7
mov edx, edi
sub edx, ebp
lea eax, [ebp*4 + 0xb40]
mov dword [esp + 0x10], edx
mov edi, edi
mov edx, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
or edx, 0x20
shl edx, 0xd
or edx, eax
mov dword [edi + ecx*4], edx
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
add ecx, 1
mov dword [edx + ecx*4], 0x10
add ecx, 1
add eax, 4
sub dword [esp + 0x10], 1
jne 0x2fa4b0
mov edx, dword [esp + 0xd8]
mov eax, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
shl eax, 0xd
or eax, 0x41808
mov dword [edi + ecx*4], eax
mov eax, dword [esi + 0x3d0]
mov eax, dword [eax + 0x8c]
add ecx, 1
mov dword [eax + ecx*4], 5
add ecx, 1
test ebp, ebp
jbe 0x2fa5b5
mov eax, dword [esp + 0xb8]
mov edx, ebx
sub edx, eax
mov dword [esp + 0x14], 0x18b0
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ebp
mov edx, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
or edx, 0x40
shl edx, 0xd
or edx, dword [esp + 0x14]
add dword [esp + 0x14], 8
mov dword [edi + ecx*4], edx
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [esp + 0x28]
mov edi, dword [edi + eax]
add ecx, 1
mov dword [edx + ecx*4], edi
mov edx, dword [esi + 0x3d0]
mov edi, dword [eax]
mov edx, dword [edx + 0x8c]
add ecx, 1
mov dword [edx + ecx*4], edi
add ecx, 1
add eax, 4
sub dword [esp + 0x10], 1
jne 0x2fa550
mov edx, dword [esp + 0xd8]
cmp ebp, dword [esp + 0x24]
jae 0x2fa6b4
mov edx, dword [esp + 0xcc]
lea edi, [ebp + 0x1c6]
shl edi, 4
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xc8]
sub edi, edx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xd0]
sub edi, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xd4]
sub edi, edx
lea eax, [edx + ebp*4]
mov edx, dword [esp + 0x24]
sub edx, ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edx
jmp 0x2fa610
mov edx, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
or dl, 0x80
add ecx, 1
add ecx, 1
add ecx, 1
add ecx, 1
add ecx, 1
add eax, 4
shl edx, 0xd
or edx, dword [esp + 0x14]
add dword [esp + 0x14], 0x10
sub dword [esp + 0x10], 1
mov dword [edi + ecx*4 - 0x14], edx
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [esp + 0x18]
mov edi, dword [edi + eax - 4]
mov dword [edx + ecx*4 - 0x10], edi
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [eax - 4]
mov dword [edx + ecx*4 - 0xc], edi
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + eax - 4]
mov dword [edx + ecx*4 - 8], edi
mov edx, dword [esi + 0x3d0]
mov edi, dword [esp + 0x20]
mov edi, dword [edi + eax - 4]
mov edx, dword [edx + 0x8c]
mov dword [edx + ecx*4 - 4], edi
jne 0x2fa610
mov edx, dword [esp + 0xd8]
mov eax, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
shl eax, 0xd
or eax, 0x41900
mov dword [edi + ecx*4], eax
add ecx, 1
test edx, edx
je 0x2fa720
cmp edx, 0x5a
jne 0x2fa6e7
movsx eax, word [esp + 0xb0]
jmp 0x2fa728
cmp edx, 0xb4
jne 0x2fa701
movsx eax, word [esp + 0xb0]
movsx edi, word [esp + 0xac]
jmp 0x2fa730
cmp edx, 0x10e
jne 0x2fa71b
movzx eax, word [esp + 0xa8]
movsx edi, word [esp + 0xac]
jmp 0x2fa730
cmp edx, 0xffffffff
jne 0x2fa747
movzx eax, word [esp + 0xa8]
movzx edi, word [esp + 0xa4]
shl eax, 0x10
or eax, edi
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
mov dword [edi + ecx*4], eax
add ecx, 1
test ebp, ebp
jbe 0x2fa7d5
mov eax, dword [esp + 0xb8]
lea edx, [esp + 0x74]
sub edx, eax
mov dword [esp + 0x14], 0x18b0
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ebp
lea esp, [esp]
mov edx, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
or edx, 0x40
shl edx, 0xd
or edx, dword [esp + 0x14]
add dword [esp + 0x14], 8
mov dword [edi + ecx*4], edx
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [esp + 0x28]
mov edi, dword [edi + eax]
add ecx, 1
mov dword [edx + ecx*4], edi
mov edx, dword [esi + 0x3d0]
mov edi, dword [eax]
mov edx, dword [edx + 0x8c]
add ecx, 1
mov dword [edx + ecx*4], edi
add ecx, 1
add eax, 4
sub dword [esp + 0x10], 1
jne 0x2fa770
mov edx, dword [esp + 0xd8]
cmp ebp, dword [esp + 0x24]
jae 0x2fa8d4
mov edx, dword [esp + 0xcc]
lea edi, [ebp + 0x1c6]
shl edi, 4
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xc8]
sub edi, edx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xd0]
sub edi, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xd4]
sub edi, edx
lea eax, [edx + ebp*4]
mov edx, dword [esp + 0x24]
sub edx, ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edx
jmp 0x2fa830
mov edx, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
or dl, 0x80
add ecx, 1
add ecx, 1
add ecx, 1
add ecx, 1
add ecx, 1
add eax, 4
shl edx, 0xd
or edx, dword [esp + 0x14]
add dword [esp + 0x14], 0x10
sub dword [esp + 0x10], 1
mov dword [edi + ecx*4 - 0x14], edx
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [esp + 0x18]
mov edi, dword [eax + edi - 4]
mov dword [edx + ecx*4 - 0x10], edi
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [eax - 4]
mov dword [edx + ecx*4 - 0xc], edi
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov edi, dword [esp + 0x1c]
mov edi, dword [eax + edi - 4]
mov dword [edx + ecx*4 - 8], edi
mov edx, dword [esi + 0x3d0]
mov edi, dword [esp + 0x20]
mov edi, dword [eax + edi - 4]
mov edx, dword [edx + 0x8c]
mov dword [edx + ecx*4 - 4], edi
jne 0x2fa830
mov edx, dword [esp + 0xd8]
mov eax, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
shl eax, 0xd
or eax, 0x41900
mov dword [edi + ecx*4], eax
add ecx, 1
test edx, edx
jne 0x2fa907
movzx eax, word [esp + 0xa8]
movzx edi, word [esp + 0x2c]
jmp 0x2fa975
cmp edx, 0x5a
jne 0x2fa922
movsx eax, word [esp + 0xa8]
movsx edi, word [esp + 0xb0]
add eax, eax
sub eax, edi
jmp 0x2fa96d
cmp edx, 0xb4
jne 0x2fa94c
mov eax, dword [esp + 0xa4]
movsx edi, word [esp + 0xb0]
add eax, eax
sub eax, dword [esp + 0xac]
and eax, 0xffff
shl edi, 0x10
jmp 0x2fa978
cmp edx, 0x10e
jne 0x2fa963
movzx eax, word [esp + 0x34]
movsx edi, word [esp + 0xac]
jmp 0x2fa975
cmp edx, 0xffffffff
jne 0x2fa98c
movzx eax, word [esp + 0x34]
movzx edi, word [esp + 0xa4]
shl eax, 0x10
or eax, edi
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
mov dword [edi + ecx*4], eax
add ecx, 1
xor eax, eax
test ebp, ebp
jbe 0x2faa05
lea edi, [esp + 0x4c]
sub ebx, edi
mov edx, 0x18b0
mov dword [esp + 0x28], ebx
mov edi, dword [esi + 0x3f0]
mov ebx, dword [esi + 0x3d0]
mov ebx, dword [ebx + 0x8c]
or edi, 0x40
shl edi, 0xd
or edi, edx
mov dword [ebx + ecx*4], edi
mov edi, dword [esp + 0x28]
mov ebx, dword [esi + 0x3d0]
mov ebx, dword [ebx + 0x8c]
lea edi, [edi + eax*4]
mov edi, dword [esp + edi + 0x4c]
add ecx, 1
mov dword [ebx + ecx*4], edi
mov edi, dword [esi + 0x3d0]
mov ebx, dword [esp + eax*4 + 0x4c]
mov edi, dword [edi + 0x8c]
add ecx, 1
mov dword [edi + ecx*4], ebx
add eax, 1
add ecx, 1
add edx, 8
cmp eax, ebp
jb 0x2fa9a1
mov edx, dword [esp + 0xd8]
cmp ebp, dword [esp + 0x24]
jae 0x2faaec
mov ebx, dword [esp + 0xcc]
mov edi, dword [esp + 0xc8]
sub edi, ebx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xd0]
sub edi, ebx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xd4]
lea eax, [ebx + ebp*4]
sub edi, ebx
mov ebx, dword [esp + 0x24]
lea edx, [ebp + 0x1c6]
shl edx, 4
sub ebx, ebp
mov dword [esp + 0x10], ebx
nop
mov ebx, dword [esi + 0x3f0]
mov ebp, dword [esi + 0x3d0]
mov ebp, dword [ebp + 0x8c]
or bl, 0x80
add ecx, 1
add ecx, 1
add ecx, 1
add ecx, 1
add ecx, 1
add eax, 4
shl ebx, 0xd
or ebx, edx
mov dword [ebp + ecx*4 - 0x14], ebx
mov ebx, dword [esi + 0x3d0]
mov ebx, dword [ebx + 0x8c]
mov ebp, dword [esp + 0x18]
mov ebp, dword [eax + ebp - 4]
mov dword [ebx + ecx*4 - 0x10], ebp
mov ebx, dword [esi + 0x3d0]
mov ebx, dword [ebx + 0x8c]
mov ebp, dword [eax - 4]
mov dword [ebx + ecx*4 - 0xc], ebp
mov ebx, dword [esi + 0x3d0]
mov ebx, dword [ebx + 0x8c]
mov ebp, dword [esp + 0x1c]
mov ebp, dword [eax + ebp - 4]
mov dword [ebx + ecx*4 - 8], ebp
mov ebx, dword [esi + 0x3d0]
mov ebp, dword [eax + edi - 4]
mov ebx, dword [ebx + 0x8c]
mov dword [ebx + ecx*4 - 4], ebp
add edx, 0x10
sub dword [esp + 0x10], 1
jne 0x2faa50
mov edx, dword [esp + 0xd8]
mov eax, dword [esi + 0x3f0]
mov edi, dword [esi + 0x3d0]
mov edi, dword [edi + 0x8c]
shl eax, 0xd
or eax, 0x41900
mov dword [edi + ecx*4], eax
add ecx, 1
test edx, edx
pop edi
jne 0x2fab20
movzx edx, word [esp + 0x30]
movzx eax, word [esp + 0xa0]
jmp 0x2fab58
cmp edx, 0x5a
jne 0x2fab34
movsx edx, word [esp + 0xac]
movzx eax, word [esp + 0x28]
jmp 0x2fab58
cmp edx, 0xb4
jne 0x2fab6e
movsx edx, word [esp + 0xa4]
movsx eax, word [esp + 0xac]
add edx, edx
sub edx, eax
movsx eax, word [esp + 0xa8]
shl edx, 0x10
or edx, eax
mov eax, dword [esi + 0x3d0]
mov eax, dword [eax + 0x8c]
mov dword [eax + ecx*4], edx
jmp 0x2fabbf
cmp edx, 0x10e
jne 0x2fab99
mov edx, dword [esp + 0xa0]
lea eax, [edx + edx]
sub eax, dword [esp + 0xa8]
movzx edx, word [esp + 0xa4]
and eax, 0xffff
shl edx, 0x10
jmp 0x2fabae
cmp edx, 0xffffffff
jne 0x2fabc2
movzx eax, word [esp + 0xa4]
movzx edx, word [esp + 0x28]
shl eax, 0x10
or eax, edx
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
mov dword [edx + ecx*4], eax
add ecx, 1
mov eax, dword [esi + 0x3f0]
mov edx, dword [esi + 0x3d0]
mov edx, dword [edx + 0x8c]
shl eax, 0xd
or eax, 0x41808
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x3d0]
mov edx, dword [eax + 0x8c]
add ecx, 1
mov dword [edx + ecx*4], 0
mov esi, dword [esi + 0x3d0]
lea eax, [ecx*4 + 4]
add dword [esi + 0x8c], eax
mov eax, dword [esi + 0x8c]
cmp eax, dword [esi + 0xa4]
jb 0x2fac1d
mov eax, esi
call fcn.000b5d70
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x3c